- java.lang.Object
-
- java.lang.Enum<SchemaBuilder.SchemaFieldType>
-
- com.pervasive.datarush.schema.SchemaBuilder.SchemaFieldType
-
- All Implemented Interfaces:
Serializable
,Comparable<SchemaBuilder.SchemaFieldType>
- Enclosing class:
- SchemaBuilder
public static enum SchemaBuilder.SchemaFieldType extends Enum<SchemaBuilder.SchemaFieldType>
Enumeration of schema field types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY
The field is a binary field, created bySchemaBuilder.BINARY(String)
;BOOLEAN
The field is a boolean field, created bySchemaBuilder.BOOLEAN(String)
;CHAR
The field is a char field.DATE
The field is a boolean field, created bySchemaBuilder.DATE(String)
DOUBLE
The field is a double field, created bySchemaBuilder.DOUBLE(String)
DURATION
The field is a duration field, created bySchemaBuilder.DURATION(java.lang.String)
FLOAT
The field is a float field, created bySchemaBuilder.FLOAT(java.lang.String)
INT
The field is an int field, created bySchemaBuilder.INT(java.lang.String)
IP4ADDRESS
The field is an ipv4address field, created bySchemaBuilder.IP4ADDRESS(java.lang.String)
IP6ADDRESS
The field is an ipv6address field, created bySchemBuilder#IP6ADDRESS
LONG
The field is an long field, created bySchemaBuilder.LONG(java.lang.String)
MONEY
The field is a money field, created bySchemaBuilder.MONEY(java.lang.String)
NUMERIC
The field is a numeric field, created bySchemaBuilder.NUMERIC(java.lang.String)
OBJECT
The field is an object field, created bySchemaBuilder.OBJECT(java.lang.String)
PERIOD
The field is a period field, created bySchemaBuilder.PERIOD(java.lang.String)
STRING
The field is a string field, created bySchemaBuilder.STRING(java.lang.String)
TIMEOFDAY
The field is a timeofday field, created bySchemaBuilder.TIMEOFDAY(java.lang.String)
TIMESTAMP
The field is a timestamp field, created bySchemaBuilder.TIMESTAMP(java.lang.String)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaBuilder.SchemaFieldType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchemaBuilder.SchemaFieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BINARY
public static final SchemaBuilder.SchemaFieldType BINARY
The field is a binary field, created bySchemaBuilder.BINARY(String)
;
-
BOOLEAN
public static final SchemaBuilder.SchemaFieldType BOOLEAN
The field is a boolean field, created bySchemaBuilder.BOOLEAN(String)
;
-
CHAR
public static final SchemaBuilder.SchemaFieldType CHAR
The field is a char field.
-
DATE
public static final SchemaBuilder.SchemaFieldType DATE
The field is a boolean field, created bySchemaBuilder.DATE(String)
-
DOUBLE
public static final SchemaBuilder.SchemaFieldType DOUBLE
The field is a double field, created bySchemaBuilder.DOUBLE(String)
-
DURATION
public static final SchemaBuilder.SchemaFieldType DURATION
The field is a duration field, created bySchemaBuilder.DURATION(java.lang.String)
-
FLOAT
public static final SchemaBuilder.SchemaFieldType FLOAT
The field is a float field, created bySchemaBuilder.FLOAT(java.lang.String)
-
INT
public static final SchemaBuilder.SchemaFieldType INT
The field is an int field, created bySchemaBuilder.INT(java.lang.String)
-
IP4ADDRESS
public static final SchemaBuilder.SchemaFieldType IP4ADDRESS
The field is an ipv4address field, created bySchemaBuilder.IP4ADDRESS(java.lang.String)
-
IP6ADDRESS
public static final SchemaBuilder.SchemaFieldType IP6ADDRESS
The field is an ipv6address field, created bySchemBuilder#IP6ADDRESS
-
LONG
public static final SchemaBuilder.SchemaFieldType LONG
The field is an long field, created bySchemaBuilder.LONG(java.lang.String)
-
MONEY
public static final SchemaBuilder.SchemaFieldType MONEY
The field is a money field, created bySchemaBuilder.MONEY(java.lang.String)
-
NUMERIC
public static final SchemaBuilder.SchemaFieldType NUMERIC
The field is a numeric field, created bySchemaBuilder.NUMERIC(java.lang.String)
-
PERIOD
public static final SchemaBuilder.SchemaFieldType PERIOD
The field is a period field, created bySchemaBuilder.PERIOD(java.lang.String)
-
STRING
public static final SchemaBuilder.SchemaFieldType STRING
The field is a string field, created bySchemaBuilder.STRING(java.lang.String)
-
TIMESTAMP
public static final SchemaBuilder.SchemaFieldType TIMESTAMP
The field is a timestamp field, created bySchemaBuilder.TIMESTAMP(java.lang.String)
-
TIMEOFDAY
public static final SchemaBuilder.SchemaFieldType TIMEOFDAY
The field is a timeofday field, created bySchemaBuilder.TIMEOFDAY(java.lang.String)
-
OBJECT
public static final SchemaBuilder.SchemaFieldType OBJECT
The field is an object field, created bySchemaBuilder.OBJECT(java.lang.String)
-
-
Method Detail
-
values
public static SchemaBuilder.SchemaFieldType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SchemaBuilder.SchemaFieldType c : SchemaBuilder.SchemaFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaBuilder.SchemaFieldType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-