Package org.h2.command.dml
Class SetTypes
- java.lang.Object
-
- org.h2.command.dml.SetTypes
-
public class SetTypes extends java.lang.ObjectThe list of setting for a SET statement.
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOW_LITERALSThe type of a SET ALLOW_LITERALS statement.static intAUTHENTICATORThe type of a SET AUTHENTICATOR statement.static intBUILTIN_ALIAS_OVERRIDEThe type of SET BUILTIN_ALIAS_OVERRIDE statement.static intCACHE_SIZEThe type of a SET CACHE_SIZE statement.static intCATALOGThe type of a SET CATALOG statement.static intCLUSTERThe type of a SET CLUSTER statement.static intCOLLATIONThe type of a SET COLLATION statement.private static intCOUNTstatic intCREATE_BUILDThe type of a SET CREATE_BUILD statement.static intDATABASE_EVENT_LISTENERThe type of a SET DATABASE_EVENT_LISTENER statement.static intDB_CLOSE_DELAYThe type of a SET DB_CLOSE_DELAY statement.static intDEFAULT_LOCK_TIMEOUTThe type of a SET DEFAULT_LOCK_TIMEOUT statement.static intDEFAULT_NULL_ORDERINGThe type of a SET DEFAULT_NULL_ORDERING statement.static intDEFAULT_TABLE_TYPEThe type of a SET DEFAULT_TABLE_TYPE statement.static intEXCLUSIVEThe type of a SET EXCLUSIVE statement.static intIGNORE_CATALOGSThe type of a SET IGNORE_CATALOGS statement.static intIGNORECASEThe type of a SET IGNORECASE statement.static intJAVA_OBJECT_SERIALIZERThe type of a SET JAVA_OBJECT_SERIALIZER statement.static intLAZY_QUERY_EXECUTIONThe type of SET LAZY_QUERY_EXECUTION statement.static intLOCK_MODEThe type of a SET LOCK_MODE statement.static intLOCK_TIMEOUTThe type of a SET LOCK_TIMEOUT statement.static intMAX_LENGTH_INPLACE_LOBThe type of a SET MAX_LENGTH_INPLACE_LOB statement.static intMAX_LOG_SIZEThe type of a SET MAX_LOG_SIZE statement.static intMAX_MEMORY_ROWSThe type of a SET MAX_MEMORY_ROWS statement.static intMAX_MEMORY_UNDOThe type of a SET MAX_MEMORY_UNDO statement.static intMAX_OPERATION_MEMORYThe type of a SET MAX_OPERATION_MEMORY statement.static intMODEThe type of a SET MODE statement.static intNON_KEYWORDSThe type of a SET NON_KEYWORDS statement.static intOPTIMIZE_REUSE_RESULTSThe type of a SET OPTIMIZE_REUSE_RESULTS statement.static intQUERY_STATISTICSThe type of a SET QUERY_STATISTICS statement.static intQUERY_STATISTICS_MAX_ENTRIESThe type of a SET QUERY_STATISTICS_MAX_ENTRIES statement.static intQUERY_TIMEOUTThe type of a SET QUERY_TIMEOUT statement.static intREADONLYThe type of a SET READONLY statement.static intREDO_LOG_BINARYThe type of a SET REDO_LOG_BINARY statement.static intREFERENTIAL_INTEGRITYThe type of a SET REFERENTIAL_INTEGRITY statement.static intRETENTION_TIMEThe type of a SET RETENTION_TIME statement.static intSCHEMAThe type of a SET SCHEMA statement.static intSCHEMA_SEARCH_PATHThe type of a SET SCHEMA_SEARCH_PATH statement.static intTHROTTLEThe type of a SET THROTTLE statement.static intTIME_ZONEThe type of a SET TIME ZONE statement.static intTRACE_LEVEL_FILEThe type of a SET TRACE_LEVEL_FILE statement.static intTRACE_LEVEL_SYSTEM_OUTThe type of a SET TRACE_LEVEL_SYSTEM_OUT statement.static intTRACE_MAX_FILE_SIZEThe type of a SET TRACE_MAX_FILE_SIZE statement.static intTRUNCATE_LARGE_LENGTHThe type of a SET TRUNCATE_LARGE_LENGTH statement.private static java.util.ArrayList<java.lang.String>TYPESstatic intVARIABLEThe type of a SET \@VARIABLE statement.static intVARIABLE_BINARYThe type of a SET VARIABLE_BINARY statement.static intWRITE_DELAYThe type of a SET WRITE_DELAY statement.
-
Constructor Summary
Constructors Modifier Constructor Description privateSetTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetType(java.lang.String name)Get the set type number.static java.lang.StringgetTypeName(int type)Get the set type name.static java.util.ArrayList<java.lang.String>getTypes()
-
-
-
Field Detail
-
IGNORECASE
public static final int IGNORECASE
The type of a SET IGNORECASE statement.- See Also:
- Constant Field Values
-
MAX_LOG_SIZE
public static final int MAX_LOG_SIZE
The type of a SET MAX_LOG_SIZE statement.- See Also:
- Constant Field Values
-
MODE
public static final int MODE
The type of a SET MODE statement.- See Also:
- Constant Field Values
-
READONLY
public static final int READONLY
The type of a SET READONLY statement.- See Also:
- Constant Field Values
-
LOCK_TIMEOUT
public static final int LOCK_TIMEOUT
The type of a SET LOCK_TIMEOUT statement.- See Also:
- Constant Field Values
-
DEFAULT_LOCK_TIMEOUT
public static final int DEFAULT_LOCK_TIMEOUT
The type of a SET DEFAULT_LOCK_TIMEOUT statement.- See Also:
- Constant Field Values
-
DEFAULT_TABLE_TYPE
public static final int DEFAULT_TABLE_TYPE
The type of a SET DEFAULT_TABLE_TYPE statement.- See Also:
- Constant Field Values
-
CACHE_SIZE
public static final int CACHE_SIZE
The type of a SET CACHE_SIZE statement.- See Also:
- Constant Field Values
-
TRACE_LEVEL_SYSTEM_OUT
public static final int TRACE_LEVEL_SYSTEM_OUT
The type of a SET TRACE_LEVEL_SYSTEM_OUT statement.- See Also:
- Constant Field Values
-
TRACE_LEVEL_FILE
public static final int TRACE_LEVEL_FILE
The type of a SET TRACE_LEVEL_FILE statement.- See Also:
- Constant Field Values
-
TRACE_MAX_FILE_SIZE
public static final int TRACE_MAX_FILE_SIZE
The type of a SET TRACE_MAX_FILE_SIZE statement.- See Also:
- Constant Field Values
-
COLLATION
public static final int COLLATION
The type of a SET COLLATION statement.- See Also:
- Constant Field Values
-
CLUSTER
public static final int CLUSTER
The type of a SET CLUSTER statement.- See Also:
- Constant Field Values
-
WRITE_DELAY
public static final int WRITE_DELAY
The type of a SET WRITE_DELAY statement.- See Also:
- Constant Field Values
-
DATABASE_EVENT_LISTENER
public static final int DATABASE_EVENT_LISTENER
The type of a SET DATABASE_EVENT_LISTENER statement.- See Also:
- Constant Field Values
-
MAX_MEMORY_ROWS
public static final int MAX_MEMORY_ROWS
The type of a SET MAX_MEMORY_ROWS statement.- See Also:
- Constant Field Values
-
LOCK_MODE
public static final int LOCK_MODE
The type of a SET LOCK_MODE statement.- See Also:
- Constant Field Values
-
DB_CLOSE_DELAY
public static final int DB_CLOSE_DELAY
The type of a SET DB_CLOSE_DELAY statement.- See Also:
- Constant Field Values
-
THROTTLE
public static final int THROTTLE
The type of a SET THROTTLE statement.- See Also:
- Constant Field Values
-
MAX_MEMORY_UNDO
public static final int MAX_MEMORY_UNDO
The type of a SET MAX_MEMORY_UNDO statement.- See Also:
- Constant Field Values
-
MAX_LENGTH_INPLACE_LOB
public static final int MAX_LENGTH_INPLACE_LOB
The type of a SET MAX_LENGTH_INPLACE_LOB statement.- See Also:
- Constant Field Values
-
ALLOW_LITERALS
public static final int ALLOW_LITERALS
The type of a SET ALLOW_LITERALS statement.- See Also:
- Constant Field Values
-
SCHEMA
public static final int SCHEMA
The type of a SET SCHEMA statement.- See Also:
- Constant Field Values
-
OPTIMIZE_REUSE_RESULTS
public static final int OPTIMIZE_REUSE_RESULTS
The type of a SET OPTIMIZE_REUSE_RESULTS statement.- See Also:
- Constant Field Values
-
SCHEMA_SEARCH_PATH
public static final int SCHEMA_SEARCH_PATH
The type of a SET SCHEMA_SEARCH_PATH statement.- See Also:
- Constant Field Values
-
REFERENTIAL_INTEGRITY
public static final int REFERENTIAL_INTEGRITY
The type of a SET REFERENTIAL_INTEGRITY statement.- See Also:
- Constant Field Values
-
MAX_OPERATION_MEMORY
public static final int MAX_OPERATION_MEMORY
The type of a SET MAX_OPERATION_MEMORY statement.- See Also:
- Constant Field Values
-
EXCLUSIVE
public static final int EXCLUSIVE
The type of a SET EXCLUSIVE statement.- See Also:
- Constant Field Values
-
CREATE_BUILD
public static final int CREATE_BUILD
The type of a SET CREATE_BUILD statement.- See Also:
- Constant Field Values
-
VARIABLE
public static final int VARIABLE
The type of a SET \@VARIABLE statement.- See Also:
- Constant Field Values
-
QUERY_TIMEOUT
public static final int QUERY_TIMEOUT
The type of a SET QUERY_TIMEOUT statement.- See Also:
- Constant Field Values
-
REDO_LOG_BINARY
public static final int REDO_LOG_BINARY
The type of a SET REDO_LOG_BINARY statement.- See Also:
- Constant Field Values
-
JAVA_OBJECT_SERIALIZER
public static final int JAVA_OBJECT_SERIALIZER
The type of a SET JAVA_OBJECT_SERIALIZER statement.- See Also:
- Constant Field Values
-
RETENTION_TIME
public static final int RETENTION_TIME
The type of a SET RETENTION_TIME statement.- See Also:
- Constant Field Values
-
QUERY_STATISTICS
public static final int QUERY_STATISTICS
The type of a SET QUERY_STATISTICS statement.- See Also:
- Constant Field Values
-
QUERY_STATISTICS_MAX_ENTRIES
public static final int QUERY_STATISTICS_MAX_ENTRIES
The type of a SET QUERY_STATISTICS_MAX_ENTRIES statement.- See Also:
- Constant Field Values
-
LAZY_QUERY_EXECUTION
public static final int LAZY_QUERY_EXECUTION
The type of SET LAZY_QUERY_EXECUTION statement.- See Also:
- Constant Field Values
-
BUILTIN_ALIAS_OVERRIDE
public static final int BUILTIN_ALIAS_OVERRIDE
The type of SET BUILTIN_ALIAS_OVERRIDE statement.- See Also:
- Constant Field Values
-
AUTHENTICATOR
public static final int AUTHENTICATOR
The type of a SET AUTHENTICATOR statement.- See Also:
- Constant Field Values
-
IGNORE_CATALOGS
public static final int IGNORE_CATALOGS
The type of a SET IGNORE_CATALOGS statement.- See Also:
- Constant Field Values
-
CATALOG
public static final int CATALOG
The type of a SET CATALOG statement.- See Also:
- Constant Field Values
-
NON_KEYWORDS
public static final int NON_KEYWORDS
The type of a SET NON_KEYWORDS statement.- See Also:
- Constant Field Values
-
TIME_ZONE
public static final int TIME_ZONE
The type of a SET TIME ZONE statement.- See Also:
- Constant Field Values
-
VARIABLE_BINARY
public static final int VARIABLE_BINARY
The type of a SET VARIABLE_BINARY statement.- See Also:
- Constant Field Values
-
DEFAULT_NULL_ORDERING
public static final int DEFAULT_NULL_ORDERING
The type of a SET DEFAULT_NULL_ORDERING statement.- See Also:
- Constant Field Values
-
TRUNCATE_LARGE_LENGTH
public static final int TRUNCATE_LARGE_LENGTH
The type of a SET TRUNCATE_LARGE_LENGTH statement.- See Also:
- Constant Field Values
-
COUNT
private static final int COUNT
- See Also:
- Constant Field Values
-
TYPES
private static final java.util.ArrayList<java.lang.String> TYPES
-
-
Method Detail
-
getType
public static int getType(java.lang.String name)
Get the set type number.- Parameters:
name- the set type name- Returns:
- the number
-
getTypes
public static java.util.ArrayList<java.lang.String> getTypes()
-
getTypeName
public static java.lang.String getTypeName(int type)
Get the set type name.- Parameters:
type- the type number- Returns:
- the name
-
-