Class GridSqlDropIndex
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlDropIndex
-
public class GridSqlDropIndex extends GridSqlStatement
DROP INDEX statement.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlStatement
limit
-
-
Constructor Summary
Constructors Constructor Description GridSqlDropIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSQL()booleanifExists()voidifExists(boolean ifExists)StringindexName()voidindexName(String idxName)StringschemaName()voidschemaName(String schemaName)
-
-
-
Method Detail
-
indexName
public String indexName()
- Returns:
- Index name.
-
indexName
public void indexName(String idxName)
- Parameters:
idxName- Index name.
-
schemaName
public String schemaName()
- Returns:
- Schema name.
-
schemaName
public void schemaName(String schemaName)
- Parameters:
schemaName- Schema name.
-
ifExists
public boolean ifExists()
- Returns:
- whether attempt to drop the index should be made only if it exists.
-
ifExists
public void ifExists(boolean ifExists)
- Parameters:
ifExists- whether attempt to drop the index should be made only if it exists.
-
getSQL
public String getSQL()
- Specified by:
getSQLin classGridSqlStatement- Returns:
- Generate sql.
-
-