Package org.hibernate.community.dialect
Enum SingleStoreDialect.SingleStoreTableType
- java.lang.Object
-
- java.lang.Enum<SingleStoreDialect.SingleStoreTableType>
-
- org.hibernate.community.dialect.SingleStoreDialect.SingleStoreTableType
-
- All Implemented Interfaces:
Serializable,Comparable<SingleStoreDialect.SingleStoreTableType>
- Enclosing class:
- SingleStoreDialect
public static enum SingleStoreDialect.SingleStoreTableType extends Enum<SingleStoreDialect.SingleStoreTableType>
The default table type in SingleStore is 'columnstore'. The default can be changed to 'rowstore' by updating the 'default_table_type' engine variable to 'rowstore' or specify explicitly by property : 'hibernate.dialect.singlestore.table_type'. Choosing a Table Storage Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMNSTOREROWSTORE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SingleStoreDialect.SingleStoreTableTypefromValue(String value)static SingleStoreDialect.SingleStoreTableTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SingleStoreDialect.SingleStoreTableType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLUMNSTORE
public static final SingleStoreDialect.SingleStoreTableType COLUMNSTORE
-
ROWSTORE
public static final SingleStoreDialect.SingleStoreTableType ROWSTORE
-
-
Method Detail
-
values
public static SingleStoreDialect.SingleStoreTableType[] 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 (SingleStoreDialect.SingleStoreTableType c : SingleStoreDialect.SingleStoreTableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SingleStoreDialect.SingleStoreTableType 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
-
fromValue
public static SingleStoreDialect.SingleStoreTableType fromValue(String value)
-
-