- java.lang.Object
-
- net.sf.jsqlparser.statement.UseStatement
-
- All Implemented Interfaces:
Serializable,Model,Statement
public class UseStatement extends Object implements Statement
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UseStatement()UseStatement(String name)UseStatement(String name, boolean hasSchemaKeyword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(StatementVisitor<T> statementVisitor, S context)StringgetName()booleanhasSchemaKeyword()voidsetName(String name)voidsetSchemaKeyword(boolean schemaKeyword)StringtoString()UseStatementwithName(String name)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
hasSchemaKeyword
public boolean hasSchemaKeyword()
-
setSchemaKeyword
public void setSchemaKeyword(boolean schemaKeyword)
-
accept
public <T,S> T accept(StatementVisitor<T> statementVisitor, S context)
-
withName
public UseStatement withName(String name)
-
-