public class RecordRegister extends AbstractRecordValued<ScalarRegister> implements DataRegister, RecordSettable
RecordValued
object.
A RecordRegister
can also be thought of as an updateable row of tabular data.Constructor and Description |
---|
RecordRegister(RecordTokenType type)
Constructs a new null-valued register with the given record type.
|
Modifier and Type | Method and Description |
---|---|
void |
set(TokenValued value)
Sets the contained value to the given token value.
|
void |
setNull()
Sets the contained value to be null valued.
|
void |
setZero()
Sets the contained value to be zero valued.
|
containsNull, getConverter, getField, getField, getFields, getType, isNull, newFieldIterator, newFieldIterator, newFieldIterator, size, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType, isNull
public RecordRegister(RecordTokenType type)
type
- the record schema of the registerpublic void set(TokenValued value)
TokenSettable
set
in interface TokenSettable
value
- the value to which to set the containerpublic void setNull()
TokenSettable
setNull
in interface TokenSettable
public void setZero()
TokenSettable
setZero
in interface TokenSettable
Copyright © 2020 Actian Corporation. All rights reserved.