-
- All Superinterfaces:
ScalarTyped,Serializable,TokenType,TokenTyped
- All Known Implementing Classes:
EnumTokenType,ObjectTokenType
public interface ScalarTokenType extends TokenType, ScalarTyped
A description of a scalar data type. Scalar types are concrete, atomic types; unlike composite types they cannot be divided into smaller tokens.Several scalar types exist, corresponding to Java primitive types and other commonly used data types. Constant descriptor objects for all supported scalar types are available within
TokenTypeConstant. In alphabetical order, they are:binarybooleancharacterdurationdatedoublefloatintegeripv4 addressipv6 addresslongmoneynullnumericperiodstringtime of daytimestamp
ObjectTokenType. Note that theObjectTokenTypefor a boxed type (Integer,Long, etc.) is not equivalent to the similar type listed above. That is,ObjectTokenType>Long<is not the same asTokenTypeConstant#LONG.No explicit hierarchy exists among any of these types, although there is an implicit ordering of the number types from narrowest to widest:
TokenTypeConstant.INTTokenTypeConstant.LONGTokenTypeConstant.FLOATTokenTypeConstant.MONEYTokenTypeConstant.DOUBLETokenTypeConstant.NUMERIC
-
-
Method Summary
-
Methods inherited from interface com.pervasive.datarush.types.ScalarTyped
getType
-
Methods inherited from interface com.pervasive.datarush.types.TokenType
checkComparable, dispatchByType, getEncodedByteSize, isAbstract, isAssignableFrom, isComposite, isGeneric, isScalar, name
-
-