Package org.infinispan.persistence.sql
Enum AbstractSchemaJdbcStore.ProtostreamFieldType
- java.lang.Object
-
- java.lang.Enum<AbstractSchemaJdbcStore.ProtostreamFieldType>
-
- org.infinispan.persistence.sql.AbstractSchemaJdbcStore.ProtostreamFieldType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractSchemaJdbcStore.ProtostreamFieldType>
- Enclosing class:
- AbstractSchemaJdbcStore<K,V,C extends org.infinispan.persistence.sql.configuration.AbstractSchemaJdbcConfiguration>
protected static enum AbstractSchemaJdbcStore.ProtostreamFieldType extends Enum<AbstractSchemaJdbcStore.ProtostreamFieldType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static AbstractSchemaJdbcStore.ProtostreamFieldType
from(int sqlType)
static AbstractSchemaJdbcStore.ProtostreamFieldType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractSchemaJdbcStore.ProtostreamFieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT_32
public static final AbstractSchemaJdbcStore.ProtostreamFieldType INT_32
-
INT_64
public static final AbstractSchemaJdbcStore.ProtostreamFieldType INT_64
-
FLOAT
public static final AbstractSchemaJdbcStore.ProtostreamFieldType FLOAT
-
DOUBLE
public static final AbstractSchemaJdbcStore.ProtostreamFieldType DOUBLE
-
BOOL
public static final AbstractSchemaJdbcStore.ProtostreamFieldType BOOL
-
STRING
public static final AbstractSchemaJdbcStore.ProtostreamFieldType STRING
-
BYTES
public static final AbstractSchemaJdbcStore.ProtostreamFieldType BYTES
-
DATE
public static final AbstractSchemaJdbcStore.ProtostreamFieldType DATE
-
-
Method Detail
-
values
public static AbstractSchemaJdbcStore.ProtostreamFieldType[] 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 (AbstractSchemaJdbcStore.ProtostreamFieldType c : AbstractSchemaJdbcStore.ProtostreamFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractSchemaJdbcStore.ProtostreamFieldType 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
-
from
protected static AbstractSchemaJdbcStore.ProtostreamFieldType from(int sqlType)
-
-