- All Superinterfaces:
ScalarTyped,Serializable,TokenType,TokenTyped
- All Known Implementing Classes:
EnumTokenType,ObjectTokenType
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
the ObjectTokenType for a boxed type (Integer,
Long, etc.) is not equivalent to the similar type listed
above. That is, ObjectTokenType>Long< is not
the same as TokenTypeConstant#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
getTypeMethods inherited from interface com.pervasive.datarush.types.TokenType
checkComparable, dispatchByType, getEncodedByteSize, isAbstract, isAssignableFrom, isComposite, isGeneric, isScalar, name