public interface RecordSettable extends TokenSettable, RecordTyped
TokenSettable
object containing record data.
RecordSettable
objects are composed of one or more
ScalarSettable
objects, each corresponding the
fields of the record schema. Fields are identified both
by name and position, as defined in the schema.Modifier and Type | Method and Description |
---|---|
ScalarSettable |
getField(int index)
Get the field at the given index within the list of fields.
|
ScalarSettable |
getField(String fieldName)
Gets the settable for the field with the given name.
|
ScalarSettable[] |
getFields()
Gets the settables for all fields in the record
|
RecordTokenType |
getType()
Gets the type of data tokens handled by the implementor.
|
int |
size()
Gets the number of fields in the record schema.
|
set, setNull, setZero
RecordTokenType getType()
TokenTyped
getType
in interface RecordTyped
getType
in interface TokenTyped
int size()
ScalarSettable[] getFields()
ScalarSettable getField(String fieldName)
fieldName
- the field nameScalarSettable getField(int index)
index
- zero-based index into the field listCopyright © 2024 Actian Corporation. All rights reserved.