- All Superinterfaces:
RecordTyped,TokenSettable,TokenTyped
- All Known Subinterfaces:
RecordOutput
- All Known Implementing Classes:
MutableComposite,RecordRegister,RecordSettableFilter,SparseRecordRegister
A
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.-
Method Summary
Modifier and TypeMethodDescriptiongetField(int index) Get the field at the given index within the list of fields.Gets the settable for the field with the given name.Gets the settables for all fields in the recordgetType()Gets the type of data tokens handled by the implementor.intsize()Gets the number of fields in the record schema.Methods inherited from interface com.pervasive.datarush.tokens.TokenSettable
set, setNull, setZero
-
Method Details
-
getType
RecordTokenType getType()Description copied from interface:TokenTypedGets the type of data tokens handled by the implementor.- Specified by:
getTypein interfaceRecordTyped- Specified by:
getTypein interfaceTokenTyped- Returns:
- the type of tokens associated with the class.
-
size
int size()Gets the number of fields in the record schema.- Returns:
- the number of fields
-
getFields
ScalarSettable[] getFields()Gets the settables for all fields in the record- Returns:
- an array containing the settable fields
-
getField
Gets the settable for the field with the given name.- Parameters:
fieldName- the field name- Returns:
- the settable field
-
getField
Get the field at the given index within the list of fields.- Parameters:
index- zero-based index into the field list- Returns:
- the settable field
-