public enum EventFieldType extends Enum<EventFieldType>
Enum Constant and Description |
---|
CHAR
This type can be used for
char properties. |
DATE
This type can be used for
int properties that store number of days since Java Epoch. |
DECIMAL
This type can be used for all primitive properties.
|
DEFAULT
Auto-detect type.
|
INT
This type can be used for all primitive properties and reference types using
ClassValueMapping annotaiton. |
LONG
This type can be used for
long properties. |
MARSHALLED
This type can be used for all reference properties.
|
SHORT_STRING
This type can be used for
String properties. |
STRING
This type can be used for
String properties. |
TIME
Deprecated.
Use
TIME_SECONDS instead. |
TIME_MILLIS
This type can be used for
long properties that store time in milliseconds since Java Epoch. |
TIME_SECONDS
This type can be used for
long properties that store time in milliseconds since Java Epoch. |
TRANSIENT
This field is not mapped to QD.
|
Modifier and Type | Method and Description |
---|---|
static EventFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventFieldType DEFAULT
public static final EventFieldType TRANSIENT
@Deprecated public static final EventFieldType TIME
TIME_SECONDS
instead.public static final EventFieldType TIME_SECONDS
long
properties that store time in milliseconds since Java Epoch.
It will be mapped to a QD field that keeps seconds since Java Epoch (milliseconds will be lost).public static final EventFieldType TIME_MILLIS
long
properties that store time in milliseconds since Java Epoch.
It will be mapped to a time millis QD field.public static final EventFieldType DATE
int
properties that store number of days since Java Epoch.public static final EventFieldType INT
ClassValueMapping
annotaiton.
It will be mapped to an integer QD field.public static final EventFieldType LONG
long
properties.
By default primitive longs are mapped to DECIMAL
- use this type with EventFieldMapping
annotation to map to a long QD field.public static final EventFieldType DECIMAL
public static final EventFieldType CHAR
char
properties.
It will be mapped to a char QD field.public static final EventFieldType SHORT_STRING
String
properties.
It will be mapped to a short-string QD field that can store up to four ASCII characters.public static final EventFieldType STRING
String
properties.
It will be mapped to a string QD field.public static final EventFieldType MARSHALLED
public static EventFieldType[] values()
for (EventFieldType c : EventFieldType.values()) System.out.println(c);
public static EventFieldType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002–2023 Devexperts LLC. All rights reserved.