public class SqlCreateIndexCommand extends Object implements SqlCommand
| Constructor and Description |
|---|
SqlCreateIndexCommand()
Default constructor.
|
SqlCreateIndexCommand(String schemaName,
@Nullable String tblName,
String idxName,
boolean ifNotExists,
Collection<SqlIndexColumn> cols,
boolean spatial,
int parallel,
int inlineSize) |
| Modifier and Type | Method and Description |
|---|---|
Collection<SqlIndexColumn> |
columns() |
boolean |
ifNotExists() |
String |
indexName() |
int |
inlineSize() |
int |
parallel() |
SqlCommand |
parse(SqlLexer lex)
Parse command.
|
String |
schemaName() |
void |
schemaName(String schemaName) |
boolean |
spatial() |
SqlCreateIndexCommand |
spatial(boolean spatial) |
String |
tableName() |
String |
toString() |
public SqlCreateIndexCommand()
public SqlCreateIndexCommand(String schemaName, @Nullable @Nullable String tblName, String idxName, boolean ifNotExists, Collection<SqlIndexColumn> cols, boolean spatial, int parallel, int inlineSize)
schemaName - Schema name.tblName - Table name.idxName - Index name.ifNotExists - "If not exists" clause.cols - Indexed columns.spatial - Spatial flag.parallel - Count of threads to rebuild.inlineSize - Inline size.public String schemaName()
schemaName in interface SqlCommandpublic void schemaName(String schemaName)
schemaName in interface SqlCommandschemaName - Schema name.public String tableName()
public String indexName()
public boolean ifNotExists()
public int parallel()
public boolean spatial()
public int inlineSize()
public SqlCreateIndexCommand spatial(boolean spatial)
spatial - Spatial index flag.public Collection<SqlIndexColumn> columns()
public SqlCommand parse(SqlLexer lex)
parse in interface SqlCommandlex - Lexer.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023