-
- All Superinterfaces:
RecordTyped
,TokenSettable
,TokenTyped
- All Known Subinterfaces:
RecordOutput
- All Known Implementing Classes:
MutableComposite
,RecordRegister
,RecordSettableFilter
,SparseRecordRegister
public interface RecordSettable extends TokenSettable, RecordTyped
ATokenSettable
object containing record data.RecordSettable
objects are composed of one or moreScalarSettable
objects, 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 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 recordRecordTokenType
getType()
Gets the type of data tokens handled by the implementor.int
size()
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:TokenTyped
Gets the type of data tokens handled by the implementor.- Specified by:
getType
in interfaceRecordTyped
- Specified by:
getType
in 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
-
-