java.lang.Object
com.pervasive.datarush.tokens.record.AbstractRecordValued<ScalarRegister>
com.pervasive.datarush.tokens.record.RecordRegister
- All Implemented Interfaces:
DataRegister,RecordSettable,RecordValued,TokenSettable,TokenValued,RecordTyped,TokenTyped
public class RecordRegister
extends AbstractRecordValued<ScalarRegister>
implements DataRegister, RecordSettable
A composite register of scalar registers; a mutable
RecordValued object.
A RecordRegister can also be thought of as an updateable row of tabular data.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new null-valued register with the given record type. -
Method Summary
Modifier and TypeMethodDescriptionvoidset(TokenValued value) Sets the contained value to the given token value.voidsetNull()Sets the contained value to be null valued.voidsetZero()Sets the contained value to be zero valued.Methods inherited from class com.pervasive.datarush.tokens.record.AbstractRecordValued
containsNull, getConverter, getField, getField, getFields, getType, isNull, newFieldIterator, newFieldIterator, newFieldIterator, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.pervasive.datarush.tokens.record.RecordSettable
getField, getField, getFields, getType, sizeMethods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
Constructor Details
-
RecordRegister
Constructs a new null-valued register with the given record type. The resulting field registers are all null-valued initially.- Parameters:
type- the record schema of the register
-
-
Method Details
-
set
Description copied from interface:TokenSettableSets the contained value to the given token value. The given value must have a type compatible with this object.- Specified by:
setin interfaceTokenSettable- Parameters:
value- the value to which to set the container
-
setNull
public void setNull()Description copied from interface:TokenSettableSets the contained value to be null valued.- Specified by:
setNullin interfaceTokenSettable
-
setZero
public void setZero()Description copied from interface:TokenSettableSets the contained value to be zero valued.- Specified by:
setZeroin interfaceTokenSettable
-