-
- All Superinterfaces:
RecordTyped,TokenSettable,TokenTyped
- All Known Subinterfaces:
RecordOutput
- All Known Implementing Classes:
MutableComposite,RecordRegister,RecordSettableFilter,SparseRecordRegister
public interface RecordSettable extends TokenSettable, RecordTyped
ATokenSettableobject containing record data.RecordSettableobjects are composed of one or moreScalarSettableobjects, each corresponding the fields of the record schema. Fields are identified both by name and position, as defined in the schema.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalarSettablegetField(int index)Get the field at the given index within the list of fields.ScalarSettablegetField(String fieldName)Gets the settable for the field with the given name.ScalarSettable[]getFields()Gets the settables for all fields in the recordRecordTokenTypegetType()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 Detail
-
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
ScalarSettable getField(String fieldName)
Gets the settable for the field with the given name.- Parameters:
fieldName- the field name- Returns:
- the settable field
-
getField
ScalarSettable getField(int index)
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
-
-