-
- 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:binary
boolean
character
duration
date
double
float
integer
ipv4 address
ipv6 address
long
money
null
numeric
period
string
time of day
timestamp
ObjectTokenType
. Note that theObjectTokenType
for 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.INT
TokenTypeConstant.LONG
TokenTypeConstant.FLOAT
TokenTypeConstant.MONEY
TokenTypeConstant.DOUBLE
TokenTypeConstant.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
-
-