Class SetTypes

java.lang.Object
org.h2.command.dml.SetTypes

public class SetTypes extends Object
The list of setting for a SET statement.
  • Field Details

    • IGNORECASE

      public static final int IGNORECASE
      The type of a SET IGNORECASE statement.
      See Also:
    • MAX_LOG_SIZE

      public static final int MAX_LOG_SIZE
      The type of a SET MAX_LOG_SIZE statement.
      See Also:
    • MODE

      public static final int MODE
      The type of a SET MODE statement.
      See Also:
    • READONLY

      public static final int READONLY
      The type of a SET READONLY statement.
      See Also:
    • LOCK_TIMEOUT

      public static final int LOCK_TIMEOUT
      The type of a SET LOCK_TIMEOUT statement.
      See Also:
    • DEFAULT_LOCK_TIMEOUT

      public static final int DEFAULT_LOCK_TIMEOUT
      The type of a SET DEFAULT_LOCK_TIMEOUT statement.
      See Also:
    • DEFAULT_TABLE_TYPE

      public static final int DEFAULT_TABLE_TYPE
      The type of a SET DEFAULT_TABLE_TYPE statement.
      See Also:
    • CACHE_SIZE

      public static final int CACHE_SIZE
      The type of a SET CACHE_SIZE statement.
      See Also:
    • TRACE_LEVEL_SYSTEM_OUT

      public static final int TRACE_LEVEL_SYSTEM_OUT
      The type of a SET TRACE_LEVEL_SYSTEM_OUT statement.
      See Also:
    • TRACE_LEVEL_FILE

      public static final int TRACE_LEVEL_FILE
      The type of a SET TRACE_LEVEL_FILE statement.
      See Also:
    • TRACE_MAX_FILE_SIZE

      public static final int TRACE_MAX_FILE_SIZE
      The type of a SET TRACE_MAX_FILE_SIZE statement.
      See Also:
    • COLLATION

      public static final int COLLATION
      The type of a SET COLLATION statement.
      See Also:
    • CLUSTER

      public static final int CLUSTER
      The type of a SET CLUSTER statement.
      See Also:
    • WRITE_DELAY

      public static final int WRITE_DELAY
      The type of a SET WRITE_DELAY statement.
      See Also:
    • DATABASE_EVENT_LISTENER

      public static final int DATABASE_EVENT_LISTENER
      The type of a SET DATABASE_EVENT_LISTENER statement.
      See Also:
    • MAX_MEMORY_ROWS

      public static final int MAX_MEMORY_ROWS
      The type of a SET MAX_MEMORY_ROWS statement.
      See Also:
    • LOCK_MODE

      public static final int LOCK_MODE
      The type of a SET LOCK_MODE statement.
      See Also:
    • DB_CLOSE_DELAY

      public static final int DB_CLOSE_DELAY
      The type of a SET DB_CLOSE_DELAY statement.
      See Also:
    • THROTTLE

      public static final int THROTTLE
      The type of a SET THROTTLE statement.
      See Also:
    • MAX_MEMORY_UNDO

      public static final int MAX_MEMORY_UNDO
      The type of a SET MAX_MEMORY_UNDO statement.
      See Also:
    • MAX_LENGTH_INPLACE_LOB

      public static final int MAX_LENGTH_INPLACE_LOB
      The type of a SET MAX_LENGTH_INPLACE_LOB statement.
      See Also:
    • ALLOW_LITERALS

      public static final int ALLOW_LITERALS
      The type of a SET ALLOW_LITERALS statement.
      See Also:
    • SCHEMA

      public static final int SCHEMA
      The type of a SET SCHEMA statement.
      See Also:
    • OPTIMIZE_REUSE_RESULTS

      public static final int OPTIMIZE_REUSE_RESULTS
      The type of a SET OPTIMIZE_REUSE_RESULTS statement.
      See Also:
    • SCHEMA_SEARCH_PATH

      public static final int SCHEMA_SEARCH_PATH
      The type of a SET SCHEMA_SEARCH_PATH statement.
      See Also:
    • REFERENTIAL_INTEGRITY

      public static final int REFERENTIAL_INTEGRITY
      The type of a SET REFERENTIAL_INTEGRITY statement.
      See Also:
    • MAX_OPERATION_MEMORY

      public static final int MAX_OPERATION_MEMORY
      The type of a SET MAX_OPERATION_MEMORY statement.
      See Also:
    • EXCLUSIVE

      public static final int EXCLUSIVE
      The type of a SET EXCLUSIVE statement.
      See Also:
    • CREATE_BUILD

      public static final int CREATE_BUILD
      The type of a SET CREATE_BUILD statement.
      See Also:
    • VARIABLE

      public static final int VARIABLE
      The type of a SET \@VARIABLE statement.
      See Also:
    • QUERY_TIMEOUT

      public static final int QUERY_TIMEOUT
      The type of a SET QUERY_TIMEOUT statement.
      See Also:
    • REDO_LOG_BINARY

      public static final int REDO_LOG_BINARY
      The type of a SET REDO_LOG_BINARY statement.
      See Also:
    • JAVA_OBJECT_SERIALIZER

      public static final int JAVA_OBJECT_SERIALIZER
      The type of a SET JAVA_OBJECT_SERIALIZER statement.
      See Also:
    • RETENTION_TIME

      public static final int RETENTION_TIME
      The type of a SET RETENTION_TIME statement.
      See Also:
    • QUERY_STATISTICS

      public static final int QUERY_STATISTICS
      The type of a SET QUERY_STATISTICS statement.
      See Also:
    • QUERY_STATISTICS_MAX_ENTRIES

      public static final int QUERY_STATISTICS_MAX_ENTRIES
      The type of a SET QUERY_STATISTICS_MAX_ENTRIES statement.
      See Also:
    • LAZY_QUERY_EXECUTION

      public static final int LAZY_QUERY_EXECUTION
      The type of SET LAZY_QUERY_EXECUTION statement.
      See Also:
    • BUILTIN_ALIAS_OVERRIDE

      public static final int BUILTIN_ALIAS_OVERRIDE
      The type of SET BUILTIN_ALIAS_OVERRIDE statement.
      See Also:
    • AUTHENTICATOR

      public static final int AUTHENTICATOR
      The type of a SET AUTHENTICATOR statement.
      See Also:
    • IGNORE_CATALOGS

      public static final int IGNORE_CATALOGS
      The type of a SET IGNORE_CATALOGS statement.
      See Also:
    • CATALOG

      public static final int CATALOG
      The type of a SET CATALOG statement.
      See Also:
    • NON_KEYWORDS

      public static final int NON_KEYWORDS
      The type of a SET NON_KEYWORDS statement.
      See Also:
    • TIME_ZONE

      public static final int TIME_ZONE
      The type of a SET TIME ZONE statement.
      See Also:
    • VARIABLE_BINARY

      public static final int VARIABLE_BINARY
      The type of a SET VARIABLE_BINARY statement.
      See Also:
    • DEFAULT_NULL_ORDERING

      public static final int DEFAULT_NULL_ORDERING
      The type of a SET DEFAULT_NULL_ORDERING statement.
      See Also:
    • TRUNCATE_LARGE_LENGTH

      public static final int TRUNCATE_LARGE_LENGTH
      The type of a SET TRUNCATE_LARGE_LENGTH statement.
      See Also:
    • COUNT

      private static final int COUNT
      See Also:
    • TYPES

      private static final ArrayList<String> TYPES
  • Constructor Details

    • SetTypes

      private SetTypes()
  • Method Details

    • getType

      public static int getType(String name)
      Get the set type number.
      Parameters:
      name - the set type name
      Returns:
      the number
    • getTypes

      public static ArrayList<String> getTypes()
    • getTypeName

      public static String getTypeName(int type)
      Get the set type name.
      Parameters:
      type - the type number
      Returns:
      the name