Class SqlDropIndexCommand
- java.lang.Object
-
- org.apache.ignite.internal.sql.command.SqlDropIndexCommand
-
- All Implemented Interfaces:
SqlCommand
public class SqlDropIndexCommand extends Object implements SqlCommand
DROP INDEX command.
-
-
Constructor Summary
Constructors Constructor Description SqlDropIndexCommand()Default constructor.SqlDropIndexCommand(String schemaName, String idxName, boolean ifExists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanifExists()StringindexName()SqlCommandparse(SqlLexer lex)Parse command.StringschemaName()voidschemaName(String schemaName)StringtoString()
-
-
-
Method Detail
-
schemaName
public String schemaName()
- Specified by:
schemaNamein interfaceSqlCommand- Returns:
- Schema name.
-
schemaName
public void schemaName(String schemaName)
- Specified by:
schemaNamein interfaceSqlCommand- Parameters:
schemaName- Schema name.
-
indexName
public String indexName()
- Returns:
- Index name.
-
ifExists
public boolean ifExists()
- Returns:
- IF EXISTS flag.
-
parse
public SqlCommand parse(SqlLexer lex)
Parse command.- Specified by:
parsein interfaceSqlCommand- Parameters:
lex- Lexer.- Returns:
- This instance.
-
-