-
- 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
ATokenValued
object containing a scalar value. Unlike aRecordValued
object, aScalarValued
object cannot be decomposed into smaller values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalarTokenType
getType()
Gets the data type of the token.boolean
isZero()
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:TokenValued
Gets the data type of the token. This type will dictate the valid values that can be contained.- Specified by:
getType
in interfaceScalarTyped
- Specified by:
getType
in interfaceTokenTyped
- Specified by:
getType
in 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:
true
if the value is the zero value,false
otherwise.
-
-