Top Description Inners Fields Constructors Methods
org.h2.engine

public Class Mode

extends Object
Class Inheritance
Imports
java.sql.Types, java.util.Collections, .HashMap, .Set, java.util.regex.Pattern, org.h2.util.StringUtils, org.h2.value.DataType, .Value

The compatibility modes. There is a fixed set of modes (for example PostgreSQL, MySQL). Each mode has different settings.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
Mode.CharPadding

When CHAR values are right-padded with spaces.

public static enum
Mode.ExpressionNames

Generation of column names for expressions.

public static enum
public static enum
Mode.ViewExpressionNames

Generation of column names for expressions to be used in a view.

Field Summary

Modifier and TypeField and Description
public boolean
acceptsCommaAsJsonKeyValueSeparator

Accepts comma ',' as key/value separator in JSON_OBJECT and JSON_OBJECTAGG functions.

public boolean
aliasColumnName

When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the alias (I in this case) in ResultSetMetaData.getColumnName() and 'null' in getTableName().

public boolean
allNumericTypesHavePrecision

If true all numeric data types may have precision and 'UNSIGNED' clause.

public boolean
allowDB2TimestampFormat

Whether DB2 TIMESTAMP formats are allowed.

public boolean
allowEmptyInPredicate

Whether IN predicate may have an empty value list.

public boolean
allowEmptySchemaValuesAsDefaultSchema

If true constructs like 'CREATE TABLE CATALOG..TABLE_NAME' are allowed, the default schema is used.

public boolean
allowPlusForStringConcat

Text can be concatenated using '+'.

public boolean
allowUnrelatedOrderByExpressionsInDistinctQueries

If true unrelated ORDER BY expression are allowed in DISTINCT queries, if false they are disallowed.

public boolean
allowUsingFromClauseInUpdateStatement

If true, allow using from clause in update statement.

public boolean
alterTableExtensionsMySQL

If true some additional non-standard ALTER TABLE commands are allowed.

public boolean
alterTableModifyColumn

If true non-standard ALTER TABLE MODIFY COLUMN is allowed.

public boolean
alterTableModifyColumnPreserveNullability

If true non-standard ALTER TABLE MODIFY COLUMN preserves nullability when changing data type.

public boolean
autoIncrementClause

Whether MySQL-style AUTO_INCREMENT clause is supported.

public boolean
charAndByteLengthUnits

If true 'CHAR' and 'BYTE' length units are allowed.

public Mode.CharPadding
charPadding

How to pad or trim CHAR values.

public boolean
convertOnlyToSmallerScale

When converting the scale of decimal data, the number is only converted if the new scale is smaller than the current scale.

public boolean
createUniqueConstraintForReferencedColumns

If true, referential constraints will create a unique constraint on referenced columns if it doesn't exist instead of throwing an exception.

public boolean
dateIsTimestamp0

Whether DATE data type is parsed as TIMESTAMP(0).

public boolean
dateTimeValueWithinTransaction

If true, datetime value function return the same value within a transaction, if false datetime value functions return the same value within a command.

public boolean
decimalSequences

If true NEXT VALUE FOR SEQUENCE, CURRENT VALUE FOR SEQUENCE, SEQUENCE.NEXTVAL, and SEQUENCE.CURRVAL return values with DECIMAL/NUMERIC data type instead of BIGINT.

public boolean
deleteIdentifierFrom

If true DELETE identifier FROM is allowed

public Set<String>
disallowedTypes

An optional Set of hidden/disallowed column types.

public boolean
discardWithTableHints

Discard SQLServer table hints (e.g. "SELECT * FROM table WITH (NOLOCK)")

public Mode.ExpressionNames
expressionNames

How column names are generated for expressions.

public boolean
forBitData

If true 'FOR BIT DATA' clauses are allowed for character string data types.

public boolean
greatestLeastIgnoreNulls

If true GREATEST and LEAST ignore nulls

public boolean
groupByColumnIndex

Allow to use GROUP BY n, where n is column index in the SELECT list, similar to ORDER BY

public boolean
identityClause

Whether SQL Server-style IDENTITY clause is supported.

public boolean
identityColumnsHaveDefaultOnNull

If true, identity columns have DEFAULT ON NULL clause.

public boolean
identityDataType

Whether IDENTITY pseudo data type is supported.

public boolean
indexDefinitionInCreateTable

Creating indexes in the CREATE TABLE statement is allowed using INDEX(..) or KEY(..).

public boolean
insertOnConflict

PostgreSQL style INSERT ...

public boolean
isolationLevelInSelectOrInsertStatement

can set the isolation level using WITH {RR|RS|CS|UR}

public boolean
limit

Whether LIMIT / OFFSET clauses are supported.

public boolean
logIsLogBase10

The single-argument function LOG() uses base 10 instead of E.

public boolean
mergeWhere

If true, merge when matched clause may have WHERE clause.

public boolean
minusIsExcept

Whether MINUS can be used as EXCEPT.

private final Mode.ModeEnum
private static final HashMap<String, Mode>
public boolean
mySqlTableOptions

If true MySQL table and column options are allowed

private final String
public boolean
nextvalAndCurrvalPseudoColumns

If true, sequence.NEXTVAL and sequence.CURRVAL pseudo columns are supported.

public boolean
nextValueReturnsDifferentValues

If true, the next value expression returns different values when invoked multiple times within a row.

public NullsDistinct
nullsDistinct

Determines how rows with NULL values in indexed columns are handled in unique indexes and constraints by default.

public boolean
numericIsDecfloat

Whether NUMERIC and DECIMAL/DEC without parameters are parsed as DECFLOAT.

public boolean
numericWithBooleanComparison

Allow to compare numeric with BOOLEAN.

public boolean
onDuplicateKeyUpdate

MySQL style INSERT ...

public boolean
regexpReplaceBackslashReferences

The function REGEXP_REPLACE() uses \ for back-references.

public boolean
replaceInto

MySQL style REPLACE INTO.

public boolean
serialDataTypes

Whether SERIAL and BIGSERIAL pseudo data types are supported.

public boolean
squareBracketQuotedNames

Identifiers may be quoted using square brackets as in [Test].

public Pattern
supportedClientInfoPropertiesRegEx

Pattern describing the keys the java.sql.Connection.setClientInfo() method accepts.

public boolean
supportPoundSymbolForColumnNames

Support the # for column names

public boolean
swapConvertFunctionParameters

Swap the parameters of the CONVERT function.

public boolean
swapLogFunctionParameters

Swap the parameters of LOG() function.

public boolean
sysDummy1

Support the pseudo-table SYSIBM.SYSDUMMY1.

public boolean
systemColumns

The system columns 'ctid' and 'oid' are supported.

public boolean
takeGeneratedSequenceValue

If true, last identity of the session is updated on generation of a new sequence value.

public boolean
takeInsertedIdentity

If true, last identity of the session is updated on insertion of a new value into identity column.

public boolean
topInDML

Whether TOP clause in DML commands is supported.

public boolean
topInSelect

Whether TOP clause in SELECT queries is supported.

public boolean
treatEmptyStringsAsNull

Empty strings are treated like NULL values.

public boolean
truncateTableRestartIdentity

If true TRUNCATE TABLE uses RESTART IDENTITY by default.

public HashMap<String, DataType>
typeByNameMap

Custom mappings from type names to data types.

public boolean
updateSequenceOnManualIdentityInsertion

If true, sequences of generated by default identity columns are updated when value is provided by user.

public Mode.ViewExpressionNames
viewExpressionNames

How column names are generated for views.

public boolean
zeroExLiteralsAreBinaryStrings

If true 0x-prefixed numbers are parsed as binary string literals, if false they are parsed as hexadecimal numeric values.

Constructor Summary

AccessConstructor and Description
private
Mode(Mode.ModeEnum modeEnum)

Method Summary

Modifier and TypeMethod and Description
private static void
add(Mode mode)

public Mode.ModeEnum
public static Mode

Returns:

the mode object
getInstance
(String
the name of the mode
name
)

Get the mode with the given name.

public String
public static Mode
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

acceptsCommaAsJsonKeyValueSeparatorback to summary
public boolean acceptsCommaAsJsonKeyValueSeparator

Accepts comma ',' as key/value separator in JSON_OBJECT and JSON_OBJECTAGG functions.

aliasColumnNameback to summary
public boolean aliasColumnName

When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the alias (I in this case) in ResultSetMetaData.getColumnName() and 'null' in getTableName(). If disabled, the real column name (ID in this case) and table name is returned.

allNumericTypesHavePrecisionback to summary
public boolean allNumericTypesHavePrecision

If true all numeric data types may have precision and 'UNSIGNED' clause.

allowDB2TimestampFormatback to summary
public boolean allowDB2TimestampFormat

Whether DB2 TIMESTAMP formats are allowed.

allowEmptyInPredicateback to summary
public boolean allowEmptyInPredicate

Whether IN predicate may have an empty value list.

allowEmptySchemaValuesAsDefaultSchemaback to summary
public boolean allowEmptySchemaValuesAsDefaultSchema

If true constructs like 'CREATE TABLE CATALOG..TABLE_NAME' are allowed, the default schema is used.

allowPlusForStringConcatback to summary
public boolean allowPlusForStringConcat

Text can be concatenated using '+'.

allowUnrelatedOrderByExpressionsInDistinctQueriesback to summary
public boolean allowUnrelatedOrderByExpressionsInDistinctQueries

If true unrelated ORDER BY expression are allowed in DISTINCT queries, if false they are disallowed.

allowUsingFromClauseInUpdateStatementback to summary
public boolean allowUsingFromClauseInUpdateStatement

If true, allow using from clause in update statement.

alterTableExtensionsMySQLback to summary
public boolean alterTableExtensionsMySQL

If true some additional non-standard ALTER TABLE commands are allowed.

alterTableModifyColumnback to summary
public boolean alterTableModifyColumn

If true non-standard ALTER TABLE MODIFY COLUMN is allowed.

alterTableModifyColumnPreserveNullabilityback to summary
public boolean alterTableModifyColumnPreserveNullability

If true non-standard ALTER TABLE MODIFY COLUMN preserves nullability when changing data type.

autoIncrementClauseback to summary
public boolean autoIncrementClause

Whether MySQL-style AUTO_INCREMENT clause is supported.

charAndByteLengthUnitsback to summary
public boolean charAndByteLengthUnits

If true 'CHAR' and 'BYTE' length units are allowed.

charPaddingback to summary
public Mode.CharPadding charPadding

How to pad or trim CHAR values.

convertOnlyToSmallerScaleback to summary
public boolean convertOnlyToSmallerScale

When converting the scale of decimal data, the number is only converted if the new scale is smaller than the current scale. Usually, the scale is converted and 0s are added if required.

createUniqueConstraintForReferencedColumnsback to summary
public boolean createUniqueConstraintForReferencedColumns

If true, referential constraints will create a unique constraint on referenced columns if it doesn't exist instead of throwing an exception.

dateIsTimestamp0back to summary
public boolean dateIsTimestamp0

Whether DATE data type is parsed as TIMESTAMP(0).

dateTimeValueWithinTransactionback to summary
public boolean dateTimeValueWithinTransaction

If true, datetime value function return the same value within a transaction, if false datetime value functions return the same value within a command.

decimalSequencesback to summary
public boolean decimalSequences

If true NEXT VALUE FOR SEQUENCE, CURRENT VALUE FOR SEQUENCE, SEQUENCE.NEXTVAL, and SEQUENCE.CURRVAL return values with DECIMAL/NUMERIC data type instead of BIGINT.

deleteIdentifierFromback to summary
public boolean deleteIdentifierFrom

If true DELETE identifier FROM is allowed

disallowedTypesback to summary
public Set<String> disallowedTypes

An optional Set of hidden/disallowed column types. Certain DBMSs don't support all column types provided by H2, such as "NUMBER" when using PostgreSQL mode.

discardWithTableHintsback to summary
public boolean discardWithTableHints

Discard SQLServer table hints (e.g. "SELECT * FROM table WITH (NOLOCK)")

expressionNamesback to summary
public Mode.ExpressionNames expressionNames

How column names are generated for expressions.

forBitDataback to summary
public boolean forBitData

If true 'FOR BIT DATA' clauses are allowed for character string data types.

greatestLeastIgnoreNullsback to summary
public boolean greatestLeastIgnoreNulls

If true GREATEST and LEAST ignore nulls

groupByColumnIndexback to summary
public boolean groupByColumnIndex

Allow to use GROUP BY n, where n is column index in the SELECT list, similar to ORDER BY

identityClauseback to summary
public boolean identityClause

Whether SQL Server-style IDENTITY clause is supported.

identityColumnsHaveDefaultOnNullback to summary
public boolean identityColumnsHaveDefaultOnNull

If true, identity columns have DEFAULT ON NULL clause.

identityDataTypeback to summary
public boolean identityDataType

Whether IDENTITY pseudo data type is supported.

indexDefinitionInCreateTableback to summary
public boolean indexDefinitionInCreateTable

Creating indexes in the CREATE TABLE statement is allowed using INDEX(..) or KEY(..). Example: create table test(id int primary key, name varchar(255), key idx_name(name));

insertOnConflictback to summary
public boolean insertOnConflict

PostgreSQL style INSERT ... ON CONFLICT DO NOTHING.

isolationLevelInSelectOrInsertStatementback to summary
public boolean isolationLevelInSelectOrInsertStatement

can set the isolation level using WITH {RR|RS|CS|UR}

limitback to summary
public boolean limit

Whether LIMIT / OFFSET clauses are supported.

logIsLogBase10back to summary
public boolean logIsLogBase10

The single-argument function LOG() uses base 10 instead of E.

mergeWhereback to summary
public boolean mergeWhere

If true, merge when matched clause may have WHERE clause.

minusIsExceptback to summary
public boolean minusIsExcept

Whether MINUS can be used as EXCEPT.

modeEnumback to summary
private final Mode.ModeEnum modeEnum
MODESback to summary
private static final HashMap<String, Mode> MODES
mySqlTableOptionsback to summary
public boolean mySqlTableOptions

If true MySQL table and column options are allowed

nameback to summary
private final String name
nextvalAndCurrvalPseudoColumnsback to summary
public boolean nextvalAndCurrvalPseudoColumns

If true, sequence.NEXTVAL and sequence.CURRVAL pseudo columns are supported.

nextValueReturnsDifferentValuesback to summary
public boolean nextValueReturnsDifferentValues

If true, the next value expression returns different values when invoked multiple times within a row. This setting does not affect NEXTVAL() function.

nullsDistinctback to summary
public NullsDistinct nullsDistinct

Determines how rows with NULL values in indexed columns are handled in unique indexes and constraints by default.

numericIsDecfloatback to summary
public boolean numericIsDecfloat

Whether NUMERIC and DECIMAL/DEC without parameters are parsed as DECFLOAT.

numericWithBooleanComparisonback to summary
public boolean numericWithBooleanComparison

Allow to compare numeric with BOOLEAN.

onDuplicateKeyUpdateback to summary
public boolean onDuplicateKeyUpdate

MySQL style INSERT ... ON DUPLICATE KEY UPDATE ... and INSERT IGNORE.

regexpReplaceBackslashReferencesback to summary
public boolean regexpReplaceBackslashReferences

The function REGEXP_REPLACE() uses \ for back-references.

replaceIntoback to summary
public boolean replaceInto

MySQL style REPLACE INTO.

serialDataTypesback to summary
public boolean serialDataTypes

Whether SERIAL and BIGSERIAL pseudo data types are supported.

squareBracketQuotedNamesback to summary
public boolean squareBracketQuotedNames

Identifiers may be quoted using square brackets as in [Test].

supportedClientInfoPropertiesRegExback to summary
public Pattern supportedClientInfoPropertiesRegEx

Pattern describing the keys the java.sql.Connection.setClientInfo() method accepts.

supportPoundSymbolForColumnNamesback to summary
public boolean supportPoundSymbolForColumnNames

Support the # for column names

swapConvertFunctionParametersback to summary
public boolean swapConvertFunctionParameters

Swap the parameters of the CONVERT function.

swapLogFunctionParametersback to summary
public boolean swapLogFunctionParameters

Swap the parameters of LOG() function.

sysDummy1back to summary
public boolean sysDummy1

Support the pseudo-table SYSIBM.SYSDUMMY1.

systemColumnsback to summary
public boolean systemColumns

The system columns 'ctid' and 'oid' are supported.

takeGeneratedSequenceValueback to summary
public boolean takeGeneratedSequenceValue

If true, last identity of the session is updated on generation of a new sequence value.

takeInsertedIdentityback to summary
public boolean takeInsertedIdentity

If true, last identity of the session is updated on insertion of a new value into identity column.

topInDMLback to summary
public boolean topInDML

Whether TOP clause in DML commands is supported.

topInSelectback to summary
public boolean topInSelect

Whether TOP clause in SELECT queries is supported.

treatEmptyStringsAsNullback to summary
public boolean treatEmptyStringsAsNull

Empty strings are treated like NULL values. Useful for Oracle emulation.

truncateTableRestartIdentityback to summary
public boolean truncateTableRestartIdentity

If true TRUNCATE TABLE uses RESTART IDENTITY by default.

typeByNameMapback to summary
public HashMap<String, DataType> typeByNameMap

Custom mappings from type names to data types.

updateSequenceOnManualIdentityInsertionback to summary
public boolean updateSequenceOnManualIdentityInsertion

If true, sequences of generated by default identity columns are updated when value is provided by user.

viewExpressionNamesback to summary
public Mode.ViewExpressionNames viewExpressionNames

How column names are generated for views.

zeroExLiteralsAreBinaryStringsback to summary
public boolean zeroExLiteralsAreBinaryStrings

If true 0x-prefixed numbers are parsed as binary string literals, if false they are parsed as hexadecimal numeric values.

Constructor Detail

Modeback to summary
private Mode(Mode.ModeEnum modeEnum)

Method Detail

addback to summary
private static void add(Mode mode)
getEnumback to summary
public Mode.ModeEnum getEnum()
getInstanceback to summary
public static Mode getInstance(String name)

Get the mode with the given name.

Parameters
name:String

the name of the mode

Returns:Mode

the mode object

getNameback to summary
public String getName()
getRegularback to summary
public static Mode getRegular()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
org.h2.engine back to summary

public final Enum Mode.CharPadding

extends Enum<Mode.CharPadding>
Class Inheritance

When CHAR values are right-padded with spaces.

Field Summary

Modifier and TypeField and Description
public static final Mode.CharPadding
ALWAYS

CHAR values are always right-padded with spaces.

public static final Mode.CharPadding
IN_RESULT_SETS

Spaces are trimmed from the right side of CHAR values, but CHAR values in result sets are right-padded with spaces to the declared length

public static final Mode.CharPadding
NEVER

Spaces are trimmed from the right side of CHAR values.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Mode.CharPadding
public static Mode.CharPadding[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ALWAYSback to summary
public static final Mode.CharPadding ALWAYS

CHAR values are always right-padded with spaces.

IN_RESULT_SETSback to summary
public static final Mode.CharPadding IN_RESULT_SETS

Spaces are trimmed from the right side of CHAR values, but CHAR values in result sets are right-padded with spaces to the declared length

NEVERback to summary
public static final Mode.CharPadding NEVER

Spaces are trimmed from the right side of CHAR values.

Constructor Detail

CharPaddingback to summary
private CharPadding()

Method Detail

valueOfback to summary
public static Mode.CharPadding valueOf(String name)
valuesback to summary
public static Mode.CharPadding[] values()
org.h2.engine back to summary

public final Enum Mode.ExpressionNames

extends Enum<Mode.ExpressionNames>
Class Inheritance

Generation of column names for expressions.

Field Summary

Modifier and TypeField and Description
public static final Mode.ExpressionNames
C_NUMBER

Use ordinal number of a column with C prefix.

public static final Mode.ExpressionNames
EMPTY

Generate empty name.

public static final Mode.ExpressionNames
NUMBER

Use ordinal number of a column.

public static final Mode.ExpressionNames
OPTIMIZED_SQL

Use optimized SQL representation of expression.

public static final Mode.ExpressionNames
ORIGINAL_SQL

Use original SQL representation of expression.

public static final Mode.ExpressionNames
POSTGRESQL_STYLE

Use function name for functions and ?column?

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Mode.ExpressionNames
public static Mode.ExpressionNames[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

C_NUMBERback to summary
public static final Mode.ExpressionNames C_NUMBER

Use ordinal number of a column with C prefix.

EMPTYback to summary
public static final Mode.ExpressionNames EMPTY

Generate empty name.

NUMBERback to summary
public static final Mode.ExpressionNames NUMBER

Use ordinal number of a column.

OPTIMIZED_SQLback to summary
public static final Mode.ExpressionNames OPTIMIZED_SQL

Use optimized SQL representation of expression.

ORIGINAL_SQLback to summary
public static final Mode.ExpressionNames ORIGINAL_SQL

Use original SQL representation of expression.

POSTGRESQL_STYLEback to summary
public static final Mode.ExpressionNames POSTGRESQL_STYLE

Use function name for functions and ?column? for other expressions

Constructor Detail

ExpressionNamesback to summary
private ExpressionNames()

Method Detail

valueOfback to summary
public static Mode.ExpressionNames valueOf(String name)
valuesback to summary
public static Mode.ExpressionNames[] values()
org.h2.engine back to summary

public final Enum Mode.ModeEnum

extends Enum<Mode.ModeEnum>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum
public static final Mode.ModeEnum

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Mode.ModeEnum
public static Mode.ModeEnum[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DB2back to summary
public static final Mode.ModeEnum DB2
Derbyback to summary
public static final Mode.ModeEnum Derby
HSQLDBback to summary
public static final Mode.ModeEnum HSQLDB
LEGACYback to summary
public static final Mode.ModeEnum LEGACY
MariaDBback to summary
public static final Mode.ModeEnum MariaDB
MSSQLServerback to summary
public static final Mode.ModeEnum MSSQLServer
MySQLback to summary
public static final Mode.ModeEnum MySQL
Oracleback to summary
public static final Mode.ModeEnum Oracle
PostgreSQLback to summary
public static final Mode.ModeEnum PostgreSQL
REGULARback to summary
public static final Mode.ModeEnum REGULAR
STRICTback to summary
public static final Mode.ModeEnum STRICT

Constructor Detail

ModeEnumback to summary
private ModeEnum()

Method Detail

valueOfback to summary
public static Mode.ModeEnum valueOf(String name)
valuesback to summary
public static Mode.ModeEnum[] values()
org.h2.engine back to summary

public final Enum Mode.ViewExpressionNames

extends Enum<Mode.ViewExpressionNames>
Class Inheritance

Generation of column names for expressions to be used in a view.

Field Summary

Modifier and TypeField and Description
public static final Mode.ViewExpressionNames
AS_IS

Use both specified and generated names as is.

public static final Mode.ViewExpressionNames
EXCEPTION

Throw exception for unspecified names.

public static final Mode.ViewExpressionNames
MYSQL_STYLE

Use both specified and generated names as is, but replace too long generated names with Name_exp_###.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Mode.ViewExpressionNames
public static Mode.ViewExpressionNames[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AS_ISback to summary
public static final Mode.ViewExpressionNames AS_IS

Use both specified and generated names as is.

EXCEPTIONback to summary
public static final Mode.ViewExpressionNames EXCEPTION

Throw exception for unspecified names.

MYSQL_STYLEback to summary
public static final Mode.ViewExpressionNames MYSQL_STYLE

Use both specified and generated names as is, but replace too long generated names with Name_exp_###.

Constructor Detail

ViewExpressionNamesback to summary
private ViewExpressionNames()

Method Detail

valueOfback to summary
public static Mode.ViewExpressionNames valueOf(String name)
valuesback to summary
public static Mode.ViewExpressionNames[] values()