public interface ScalarTokenType extends TokenType, ScalarTyped
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
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.INT
TokenTypeConstant.LONG
TokenTypeConstant.FLOAT
TokenTypeConstant.MONEY
TokenTypeConstant.DOUBLE
TokenTypeConstant.NUMERIC
checkComparable, dispatchByType, getEncodedByteSize, isAbstract, isAssignableFrom, isComposite, isGeneric, isScalar, name
getType
Copyright © 2020 Actian Corporation. All rights reserved.