Package net.sf.jsqlparser.statement
Class ExplainStatement
java.lang.Object
net.sf.jsqlparser.statement.ExplainStatement
- All Implemented Interfaces:
Serializable
,Model
,Statement
An
EXPLAIN
statement- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StatementVisitor statementVisitor) void
addOption
(ExplainStatement.Option option) getOption
(ExplainStatement.OptionType optionType) Returns the first option that matches this optionTypegetTable()
void
setStatement
(Select select) toString()
-
Field Details
-
select
-
options
-
table
-
-
Constructor Details
-
ExplainStatement
public ExplainStatement() -
ExplainStatement
-
-
Method Details
-
getTable
-
setTable
-
getStatement
-
setStatement
-
getOptions
-
addOption
-
getOption
Returns the first option that matches this optionType- Parameters:
optionType
- the option type to retrieve an Option for- Returns:
- an option of that type, or null. In case of duplicate options, the first found option will be returned.
-
toString
-
accept
-