- java.lang.Object
-
- com.pervasive.datarush.coercion.ScalarTypes
-
public class ScalarTypes extends Object
The scalar types exposed to scripting. This is needed as the static member variables defined inTokenTypeConstant
are also defined as methods. JavaScript always wants to use the member variables as functions and that causes coercion failures.There should be no need to use this class in Java. Use
TokenTypeConstant
instead.
-
-
Field Summary
Fields Modifier and Type Field Description static ScalarTokenType
BINARY
static ScalarTokenType
BOOLEAN
static ScalarTokenType
CHAR
static ScalarTokenType
DATE
static ScalarTokenType
DOUBLE
static ScalarTokenType
FLOAT
static ScalarTokenType
INT
static ScalarTokenType
LONG
static ScalarTokenType
NUMERIC
static ScalarTokenType
STRING
static ScalarTokenType
TIMESTAMP
-
-
-
Field Detail
-
BINARY
public static final ScalarTokenType BINARY
-
BOOLEAN
public static final ScalarTokenType BOOLEAN
-
CHAR
public static final ScalarTokenType CHAR
-
DATE
public static final ScalarTokenType DATE
-
DOUBLE
public static final ScalarTokenType DOUBLE
-
FLOAT
public static final ScalarTokenType FLOAT
-
INT
public static final ScalarTokenType INT
-
LONG
public static final ScalarTokenType LONG
-
NUMERIC
public static final ScalarTokenType NUMERIC
-
STRING
public static final ScalarTokenType STRING
-
TIMESTAMP
public static final ScalarTokenType TIMESTAMP
-
-