public enum Feature extends Enum<Feature>
| Enum Constant and Description |
|---|
allowBackslashEscapeCharacter
allows Backslash '\' as Escape Character
|
allowComplexParsing
allows complex expression parameters or named parameters for functions will be switched off,
when deep nesting of functions is detected
|
allowPostgresSpecificSyntax
allow parsing of RDBMS specific syntax by switching off SQL Standard Compliant Syntax
|
allowSquareBracketQuotation
allows square brackets for names, disabled by default
|
allowUnsupportedStatements
allows passing through Unsupported Statements as a plain List of Tokens needs to be switched
off, when VALIDATING statements or parsing blocks
|
alterIndex
SQL "ALTER INDEX" statement is allowed
|
alterSequence
SQL "ALTER SEQUENCE" statement is allowed
|
alterTable
SQL "ALTER" statement is allowed
|
alterView
SQL "ALTER VIEW" statement is allowed
|
alterViewReplace
SQL "REPLACE VIEW" statement is allowed
|
analyze
SQL "ANALYZE" statement is allowed
|
block
SQL block starting with "BEGIN" and ends with "END" statement is allowed
|
comment
SQL "COMMENT ON" statement is allowed
|
commentOnColumn
"COMMENT ON column"
|
commentOnTable
"COMMENT ON table"
|
commentOnView
"COMMENT ON view"
|
commit
SQL "COMMIT" statement is allowed
|
createFunction |
createIndex
SQL "CREATE INDEX" statement is allowed
|
createOrReplaceView
"CREATE OR REPLACE VIEW"
|
createProcedure |
createSchema
SQL "CREATE SCHEMA" statement is allowed
|
createSequence
SQL "CREATE SEQUENCE" statement is allowed
|
createSynonym
SQL "CREATE SYNONYM" statement is allowed
|
createTable
SQL "CREATE TABLE" statement is allowed
|
createTableCreateOptionStrings
i.e.
|
createTableFromSelect
"CREATE TABLE (colspec) SELECT ...
|
createTableIfNotExists
"CREATE TABLE IF NOT EXISTS table"
|
createTableRowMovement
" ROW MOVEMENT"
|
createTableTableOptionStrings
i.e.
|
createTableUnlogged
"CREATE GLOBAL UNLOGGED"
|
createTrigger
SQL "CREATE TRIGGER" statement is allowed
|
createView
SQL "CREATE VIEW" statement is allowed
|
createViewForce
"CREATE FORCE VIEW"
|
createViewMaterialized
SQL "CREATE MATERIALIZED VIEW" statement is allowed
|
createViewTemporary
"CREATE TEMPORARAY VIEW"
|
createViewWithComment
SQL "CREATE VIEW(x comment 'x', y comment 'y') comment 'view'" statement is allowed
|
declare |
delete
SQL "DELETE" statement is allowed
|
deleteJoin
"DELETE FROM table1, table1 ..."
|
deleteLimit
"LIMIT row_count"
|
deleteOrderBy
"ORDER BY ..."
|
deleteReturningExpressionList
"RETURNING expr(, expr)*"
|
deleteTables
"DELETE table1, table1 FROM table ..."
|
desc
SQL "DESC" statement is allowed
|
describe
SQL "DESCRIBE" statement is allowed
|
distinct
"DISTINCT" keyword
|
distinctOn
"DISTINCT ON (col1, ...)"
|
drop
SQL "DROP" statement is allowed
|
dropIndex |
dropIndexIfExists |
dropSchema |
dropSchemaIfExists |
dropSequence |
dropSequenceIfExists |
dropTable |
dropTableIfExists |
dropView |
dropViewIfExists |
execute
SQL "CALL|EXEC|EXECUTE" stored procedure is allowed
|
executeCall |
executeExec |
executeExecute |
executeStatement
SQL "EXECUTE" statement is allowed
|
executeStatementImmediate
SQL "EXECUTE IMMEDIATE" statement is allowed
|
executeUsing |
explain
SQL "EXPLAIN" statement is allowed
|
exprLike
"LIKE"
|
exprSimilarTo
"SIMILAR TO"
|
fetch |
fetchFirst
"FETCH FIRST row_count (ROW | ROWS) ONLY"
|
fetchNext
"FETCH NEXT row_count (ROW | ROWS) ONLY" if not
fetchFirst |
first
"FIRST" \?
|
function |
functionalStatement |
grant |
insert
SQL "INSERT" statement is allowed
|
insertFromSelect
"INSERT ..
|
insertModifierIgnore
"IGNORE"
|
insertModifierPriority
"LOW_PRIORITY | DELAYED | HIGH_PRIORITY | IGNORE"
|
insertReturningAll
"RETURNING *"
|
insertReturningExpressionList
"RETURNING expr(, expr)*"
|
insertUseDuplicateKeyUpdate
"ON DUPLICATE KEY UPDATE"
|
insertUseSet
"INSERT ..
|
insertValues
"VALUES"
|
jdbcNamedParameter |
jdbcParameter |
join
"JOIN"
|
joinApply
"APPLY" join
|
joinCross
"CROSS" join
|
joinFull
"FULL" join
|
joinInner
"INNER" join
|
joinLeft
"LEFT" join
|
joinNatural
"NATURAL" join
|
joinOuter
"OUTER" join
|
joinOuterSimple
join tables by ", OUTER" placing the join specification in WHERE-clause
|
joinRight
"RIGHT" join
|
joinSemi
"SEMI" join
|
joinSimple
join tables by "," placing the join specification in WHERE-clause
|
joinStraight
"STRAIGHT_JOIN" join
|
joinUsingColumns |
joinWindow |
kSqlWindow |
lateralSubSelect |
limit |
limitAll
"LIMIT ALL"
|
limitNull
"LIMIT NULL"
|
limitOffset
"LIMIT offset, limit"
|
merge
SQL "MERGE" statement is allowed
|
mysqlCalcFoundRows |
mySqlHintStraightJoin |
mysqlSqlCacheFlag |
offset
"OFFSET offset"
|
offsetParam
"OFFSET offset param" where param is ROW | ROWS
|
optimizeFor
"OPTIMIZE FOR rowCount ROWS"
|
oracleHierarchicalExpression
oracle SQL "CONNECT BY"
|
oracleHint |
oracleOldJoinSyntax
allows old oracle join syntax (+)
|
oracleOrderBySiblings |
oraclePriorPosition
allows oracle prior position
|
orderBy
"ORDER BY"
|
orderByNullOrdering
"ORDER BY expression [ NULLS { FIRST | LAST } ]"
|
pivot |
pivotXml |
refreshMaterializedView
SQL "REFRESH MATERIALIZED VIEW" statement is allowed
|
refreshMaterializedWithDataView |
refreshMaterializedWithNoDataView |
replace
Deprecated.
|
reset |
select
"SELECT"
|
selectForKeyShare
"FOR KEY SHARE"
|
selectForNoKeyUpdate
"NO KEY UPDATE"
|
selectForShare
"FOR SHARE"
|
selectForUpdate
"FOR UPDATE"
|
selectForUpdateNoWait
"FOR UPDATE NOWAIT"
|
selectForUpdateOfTable
"FOR UPDATE OF table"
|
selectForUpdateSkipLocked
"FOR UPDATE SKIP LOCKED"
|
selectForUpdateWait
"FOR UPDATE WAIT timeout"
|
selectForXmlPath
"FOR XML PATH(...)"
|
selectGroupBy
"GROUP BY"
|
selectGroupByGroupingSets
"GROUPING SETS"
|
selectHaving
"HAVING"
|
selectInto
"INTO table(, table)*"
|
selectUnique
"UNIQUE" keyword
|
set |
setOperation |
setOperationExcept |
setOperationIntersect |
setOperationMinus |
setOperationUnion |
show |
showColumns |
showIndex |
showTables |
skip
"SKIP variable" | "SKIP ?"
|
tableFunction |
tableStatement
SQL "TABLE table_name [ORDER BY column_name] [LIMIT number [OFFSET number]]“
|
timeOut |
top
"TOP" ?
|
truncate
SQL "TRUNCATE" statement is allowed
|
unpivot |
update
SQL "UPDATE" statement is allowed
|
updateFrom
"UPDATE table1 SET ...
|
updateJoins
"UPDATE table1, table2 ..."
|
updateLimit |
updateOrderBy |
updateReturning
"RETURNING expr(, expr)*"
|
updateUseSelect
UPDATE table SET (col, ...) = (SELECT col, ... )"
|
upsert
SQL "UPSERT" statement is allowed
|
use |
values |
valuesList |
withItem
"WITH name query"
|
withItemRecursive |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
boolean |
isConfigurable() |
static Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feature select
public static final Feature selectGroupBy
public static final Feature selectGroupByGroupingSets
public static final Feature selectHaving
public static final Feature selectInto
public static final Feature limitNull
Limit.isLimitNull()public static final Feature limitAll
Limit.isLimitAll()public static final Feature limitOffset
Limit.getOffset()public static final Feature offsetParam
Offset.getOffsetParam()public static final Feature fetchFirst
Fetch.isFetchParamFirst()public static final Feature fetchNext
fetchFirstFetch.isFetchParamFirst()public static final Feature join
public static final Feature joinOuterSimple
public static final Feature joinSimple
public static final Feature joinRight
public static final Feature joinNatural
public static final Feature joinFull
public static final Feature joinLeft
public static final Feature joinCross
public static final Feature joinOuter
public static final Feature joinSemi
public static final Feature joinInner
public static final Feature joinStraight
public static final Feature joinApply
public static final Feature joinWindow
public static final Feature joinUsingColumns
public static final Feature first
Firstpublic static final Feature optimizeFor
OptimizeForpublic static final Feature selectUnique
public static final Feature distinct
public static final Feature distinctOn
public static final Feature orderBy
public static final Feature orderByNullOrdering
public static final Feature selectForUpdate
public static final Feature selectForShare
public static final Feature selectForKeyShare
public static final Feature selectForNoKeyUpdate
public static final Feature selectForUpdateOfTable
public static final Feature selectForUpdateWait
public static final Feature selectForUpdateNoWait
public static final Feature selectForUpdateSkipLocked
public static final Feature insert
public static final Feature insertFromSelect
public static final Feature insertModifierPriority
public static final Feature insertModifierIgnore
public static final Feature insertUseSet
public static final Feature insertUseDuplicateKeyUpdate
public static final Feature insertReturningAll
public static final Feature insertReturningExpressionList
ExpressionListpublic static final Feature insertValues
public static final Feature tableStatement
public static final Feature updateFrom
public static final Feature updateJoins
public static final Feature updateUseSelect
public static final Feature updateOrderBy
public static final Feature updateLimit
public static final Feature updateReturning
SelectItempublic static final Feature deleteJoin
public static final Feature deleteTables
public static final Feature deleteLimit
public static final Feature deleteOrderBy
public static final Feature deleteReturningExpressionList
SelectItempublic static final Feature upsert
Upsert,
https://wiki.postgresql.org/wiki/UPSERTpublic static final Feature alterSequence
AlterSequencepublic static final Feature alterView
AlterViewpublic static final Feature refreshMaterializedView
RefreshMaterializedViewStatementpublic static final Feature refreshMaterializedWithDataView
public static final Feature refreshMaterializedWithNoDataView
public static final Feature alterViewReplace
AlterViewpublic static final Feature alterIndex
public static final Feature truncate
Truncatepublic static final Feature execute
Executepublic static final Feature executeExec
public static final Feature executeCall
public static final Feature executeExecute
public static final Feature executeStatement
public static final Feature executeStatementImmediate
public static final Feature executeUsing
@Deprecated public static final Feature replace
public static final Feature dropTable
public static final Feature dropIndex
public static final Feature dropView
public static final Feature dropSchema
public static final Feature dropSequence
public static final Feature dropTableIfExists
public static final Feature dropIndexIfExists
public static final Feature dropViewIfExists
public static final Feature dropSchemaIfExists
public static final Feature dropSequenceIfExists
public static final Feature createSchema
CreateSchemapublic static final Feature createView
CreateViewpublic static final Feature createViewForce
public static final Feature createViewTemporary
public static final Feature createOrReplaceView
public static final Feature createViewMaterialized
public static final Feature createViewWithComment
public static final Feature createTable
CreateTablepublic static final Feature createTableUnlogged
public static final Feature createTableCreateOptionStrings
public static final Feature createTableTableOptionStrings
public static final Feature createTableIfNotExists
public static final Feature createTableRowMovement
public static final Feature createTableFromSelect
public static final Feature createIndex
CreateIndexpublic static final Feature createSequence
CreateSequencepublic static final Feature createSynonym
CreateSynonympublic static final Feature createTrigger
public static final Feature commentOnTable
public static final Feature commentOnColumn
public static final Feature commentOnView
public static final Feature describe
DescribeStatementpublic static final Feature desc
DescribeStatementpublic static final Feature explain
ExplainStatementpublic static final Feature show
ShowStatementpublic static final Feature showTables
ShowTablesStatementpublic static final Feature showColumns
ShowColumnsStatementpublic static final Feature showIndex
ShowIndexStatementpublic static final Feature use
UseStatementpublic static final Feature createFunction
CreateFunctionpublic static final Feature createProcedure
CreateProcedurepublic static final Feature functionalStatement
CreateFunctionalStatementpublic static final Feature block
Blockpublic static final Feature declare
DeclareStatementpublic static final Feature set
SetStatementpublic static final Feature reset
ResetStatementpublic static final Feature setOperation
public static final Feature setOperationUnion
public static final Feature setOperationIntersect
public static final Feature setOperationExcept
public static final Feature setOperationMinus
public static final Feature withItem
public static final Feature withItemRecursive
public static final Feature lateralSubSelect
public static final Feature tableFunction
TableFunctionpublic static final Feature jdbcParameter
JdbcParameterpublic static final Feature jdbcNamedParameter
JdbcNamedParameterpublic static final Feature exprLike
public static final Feature exprSimilarTo
public static final Feature kSqlWindow
KSQLWindowpublic static final Feature oracleOldJoinSyntax
SupportsOldOracleJoinSyntaxpublic static final Feature oraclePriorPosition
SupportsOldOracleJoinSyntaxpublic static final Feature oracleHint
OracleHintpublic static final Feature oracleHierarchicalExpression
OracleHierarchicalExpressionpublic static final Feature oracleOrderBySiblings
public static final Feature mySqlHintStraightJoin
public static final Feature mysqlSqlCacheFlag
public static final Feature mysqlCalcFoundRows
public static final Feature selectForXmlPath
public static final Feature allowSquareBracketQuotation
public static final Feature allowPostgresSpecificSyntax
public static final Feature allowComplexParsing
public static final Feature allowUnsupportedStatements
public static final Feature timeOut
public static final Feature allowBackslashEscapeCharacter
public static Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Object getDefaultValue()
public boolean isConfigurable()
Copyright © 2004–2023 JSQLParser. All rights reserved.