-
- All Superinterfaces:
ScalarTyped,TokenTyped,TokenValued
- All Known Subinterfaces:
BinaryInputField,BinaryValued,BinaryValuedIterator,BooleanInputField,BooleanValued,BooleanValuedIterator,CharInputField,CharValued,CharValuedIterator,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,ScalarInputField,ScalarRegister,ScalarToken,ScalarValuedIterator,SeekableScalarValuedIterator,StringInputField,StringValued,StringValuedIterator,TimeInputField,TimestampInputField,TimestampValued,TimestampValuedIterator,TimeValued,TimeValuedIterator
- All Known Implementing Classes:
BinaryRegister,BinaryToken,BooleanRegister,BooleanToken,CharRegister,CharToken,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,StringRegister,StringToken,TimeRegister,TimestampRegister,TimestampToken,TimestampTokenConverter,TimeToken
public interface ScalarValued extends TokenValued, ScalarTyped
ATokenValuedobject containing a scalar value. Unlike aRecordValuedobject, aScalarValuedobject cannot be decomposed into smaller values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalarTokenTypegetType()Gets the data type of the token.booleanisZero()Indicates whether the value is the zero value for the type.-
Methods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
-
-
-
Method Detail
-
getType
ScalarTokenType getType()
Description copied from interface:TokenValuedGets the data type of the token. This type will dictate the valid values that can be contained.- Specified by:
getTypein interfaceScalarTyped- Specified by:
getTypein interfaceTokenTyped- Specified by:
getTypein interfaceTokenValued- Returns:
- the token type.
-
isZero
boolean isZero()
Indicates whether the value is the zero value for the type. Zero values are not stored in sparse representation formats.- Returns:
trueif the value is the zero value,falseotherwise.
-
-