-
- All Superinterfaces:
TokenTyped
- All Known Subinterfaces:
BinaryInputField
,BinaryValued
,BinaryValuedIterator
,BooleanInputField
,BooleanValued
,BooleanValuedIterator
,CharInputField
,CharValued
,CharValuedIterator
,CloseableRecordValuedIterator
,DataRegister
,DataToken
,DateInputField
,DateValued
,DateValuedIterator
,DoubleInputField
,DoubleValued
,DoubleValuedIterator
,DurationInputField
,DurationValued
,DurationValuedIterator
,FloatInputField
,FloatValued
,FloatValuedIterator
,IntInputField
,IntValued
,IntValuedIterator
,Ip4AddressInputField
,Ip4AddressValued
,Ip4AddressValuedIterator
,Ip6AddressInputField
,Ip6AddressValued
,Ip6AddressValuedIterator
,LongInputField
,LongValued
,LongValuedIterator
,MoneyInputField
,MoneyValued
,MoneyValuedIterator
,NumericInputField
,NumericValued
,NumericValuedIterator
,ObjectInputField<T>
,ObjectValued<O>
,ObjectValuedIterator<T>
,PeriodInputField
,PeriodValued
,PeriodValuedIterator
,RecordInput
,RecordValued
,RecordValuedIterator
,ScalarInputField
,ScalarRegister
,ScalarToken
,ScalarValued
,ScalarValuedIterator
,SeekableRecordValuedIterator
,SeekableScalarValuedIterator
,SeekableTokenValuedIterator
,SteppableRecordValued
,StringInputField
,StringValued
,StringValuedIterator
,TimeInputField
,TimestampInputField
,TimestampValued
,TimestampValuedIterator
,TimeValued
,TimeValuedIterator
,TokenValuedIterator
- All Known Implementing Classes:
AbstractRecordValued
,BinaryRegister
,BinaryToken
,BooleanRegister
,BooleanToken
,CharRegister
,CharToken
,CompositeValue
,DatasetIterator
,DateRegister
,DateToken
,DateTokenConverter
,DoubleRegister
,DoubleToken
,DurationRegister
,DurationToken
,FloatRegister
,FloatToken
,IntRegister
,IntToken
,Ip4AddressRegister
,Ip4AddressToken
,Ip6AddressRegister
,Ip6AddressToken
,LongRegister
,LongToken
,MoneyRegister
,MoneyToken
,NullToken
,NumericRegister
,NumericToken
,ObjectRegister
,ObjectToken
,PeriodRegister
,PeriodToken
,RecordMap.RecordMapIterator
,RecordRegister
,RecordToken
,RecordValuedFilter
,SparseRecordRegister
,StringRegister
,StringToken
,TimeRegister
,TimestampRegister
,TimestampToken
,TimestampTokenConverter
,TimeToken
public interface TokenValued extends TokenTyped
An representation of a nullable data value. Tokens in the DataRush framework support a concept of null value analogous to SQL. Specifically, a token may not have a value assigned, in which case it is referred to as null valued. Tokens which do have a value are called non-null and contain a value appropriate to their type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TokenType
getType()
Gets the data type of the token.boolean
isNull()
Indicates whether the token is null valued.
-
-
-
Method Detail
-
getType
TokenType getType()
Gets the data type of the token. This type will dictate the valid values that can be contained.- Specified by:
getType
in interfaceTokenTyped
- Returns:
- the token type.
-
isNull
boolean isNull()
Indicates whether the token is null valued. Tokens support null values analogous to SQL. Before accessing the value of the container, it is usually best to ensure it is not null valued using this method.- Returns:
true
if the token is null valued,false
otherwise
-
-