public enum Feature extends Enum<Feature>
| 枚举常量和说明 |
|---|
allowComplexParsing
allows complex com.javaoffers.thrid.sqlparse.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
|
alterIndex
SQL "ALTER INDEX" com.javaoffers.thrid.sqlparse.statement is allowed
|
alterSequence
SQL "ALTER SEQUENCE" com.javaoffers.thrid.sqlparse.statement is allowed
|
alterTable
SQL "ALTER" com.javaoffers.thrid.sqlparse.statement is allowed
|
alterView
SQL "ALTER VIEW" com.javaoffers.thrid.sqlparse.statement is allowed
|
alterViewReplace
SQL "REPLACE VIEW" com.javaoffers.thrid.sqlparse.statement is allowed
|
block
SQL block starting with "BEGIN" and ends with "END" com.javaoffers.thrid.sqlparse.statement is allowed
|
comment
SQL "COMMENT ON" com.javaoffers.thrid.sqlparse.statement is allowed
|
commentOnColumn
"COMMENT ON column"
|
commentOnTable
"COMMENT ON table"
|
commentOnView
"COMMENT ON view"
|
commit
SQL "COMMIT" com.javaoffers.thrid.sqlparse.statement is allowed
|
createFunction |
createIndex
SQL "CREATE INDEX" com.javaoffers.thrid.sqlparse.statement is allowed
|
createOrReplaceView
"CREATE OR REPLACE VIEW"
|
createProcedure |
createSchema
SQL "CREATE SCHEMA" com.javaoffers.thrid.sqlparse.statement is allowed
|
createSequence
SQL "CREATE SEQUENCE" com.javaoffers.thrid.sqlparse.statement is allowed
|
createSynonym
SQL "CREATE SYNONYM" com.javaoffers.thrid.sqlparse.statement is allowed
|
createTable
SQL "CREATE TABLE" com.javaoffers.thrid.sqlparse.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" com.javaoffers.thrid.sqlparse.statement is allowed
|
createView
SQL "CREATE VIEW" com.javaoffers.thrid.sqlparse.statement is allowed
|
createViewForce
"CREATE FORCE VIEW"
|
createViewMaterialized
SQL "CREATE MATERIALIZED VIEW" com.javaoffers.thrid.sqlparse.statement is allowed
|
createViewTemporary
"CREATE TEMPORARAY VIEW"
|
declare |
delete
SQL "DELETE" com.javaoffers.thrid.sqlparse.statement is allowed
|
deleteJoin
"DELETE FROM table1, table1 ..."
|
deleteLimit
"LIMIT row_count"
|
deleteOrderBy
"ORDER BY ..."
|
deleteTables
"DELETE table1, table1 FROM table ..."
|
describe
SQL "DESCRIBE" com.javaoffers.thrid.sqlparse.statement is allowed
|
distinct
"DISTINCT" keyword
|
distinctOn
"DISTINCT ON (col1, ...)"
|
drop
SQL "DROP" com.javaoffers.thrid.sqlparse.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" com.javaoffers.thrid.sqlparse.statement is allowed
|
executeStatementImmediate
SQL "EXECUTE IMMEDIATE" com.javaoffers.thrid.sqlparse.statement is allowed
|
executeUsing |
explain
SQL "EXPLAIN" com.javaoffers.thrid.sqlparse.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" com.javaoffers.thrid.sqlparse.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" com.javaoffers.thrid.sqlparse.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 com.javaoffers.thrid.sqlparse.expression [ NULLS { FIRST | LAST } ]"
|
pivot |
pivotXml |
replace
SQL "REPLACE" com.javaoffers.thrid.sqlparse.statement is allowed
|
reset |
select
"SELECT"
|
selectForUpdate
"FOR UPDATE"
|
selectForUpdateNoWait
"FOR UPDATE NOWAIT"
|
selectForUpdateOfTable
"FOR UPDATE OF table"
|
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 |
showTables |
skip
"SKIP variable" | "SKIP ?"
|
tableFunction |
top
"TOP" ?
|
truncate
SQL "TRUNCATE" com.javaoffers.thrid.sqlparse.statement is allowed
|
unpivot |
update
SQL "UPDATE" com.javaoffers.thrid.sqlparse.statement is allowed
|
updateFrom
"UPDATE table1 SET ...
|
updateJoins
"UPDATE table1, table2 ..."
|
updateLimit |
updateOrderBy |
updateReturning |
updateUseSelect
UPDATE table SET (col, ...) = (SELECT col, ... )"
|
upsert
SQL "UPSERT" com.javaoffers.thrid.sqlparse.statement is allowed
|
use |
values |
valuesList |
withItem
"WITH name query"
|
withItemRecursive |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getDefaultValue() |
boolean |
isConfigurable() |
static Feature |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Feature[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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
public static final Feature fetchNext
fetchFirstpublic 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 selectForUpdateOfTable
public static final Feature selectForUpdateWait
public static final Feature selectForUpdateNoWait
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
SelectExpressionItempublic static final Feature insertValues
public static final Feature values
ValuesStatementpublic static final Feature update
Updatepublic 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
public static final Feature delete
Deletepublic static final Feature deleteJoin
public static final Feature deleteTables
public static final Feature deleteLimit
public static final Feature deleteOrderBy
public static final Feature upsert
public static final Feature merge
Mergepublic static final Feature alterTable
Alterpublic static final Feature alterSequence
AlterSequencepublic static final Feature alterView
AlterViewpublic 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
public static final Feature replace
Replacepublic static final Feature drop
Droppublic 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 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 commit
Commitpublic static final Feature comment
Commentpublic static final Feature commentOnTable
public static final Feature commentOnColumn
public static final Feature commentOnView
public static final Feature describe
DescribeStatementpublic static final Feature explain
ExplainStatementpublic static final Feature show
ShowStatementpublic static final Feature showTables
ShowTablesStatementpublic static final Feature showColumns
ShowColumnsStatementpublic static final Feature use
UseStatementpublic static final Feature createFunction
CreateFunctionpublic static final Feature createProcedure
CreateProcedurepublic static final Feature functionalStatement
public 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 valuesList
ValuesListpublic 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
public static final Feature oraclePriorPosition
public static final Feature oracleHint
OracleHintpublic static final Feature oracleHierarchicalExpression
public 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 Feature[] values()
for (Feature c : Feature.values()) System.out.println(c);
public static Feature valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Object getDefaultValue()
public boolean isConfigurable()
Copyright © 2026. All rights reserved.