Class SchemaIndexCreateOperation
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.schema.operation.SchemaAbstractOperation
-
- org.apache.ignite.internal.processors.query.schema.operation.SchemaIndexAbstractOperation
-
- org.apache.ignite.internal.processors.query.schema.operation.SchemaIndexCreateOperation
-
- All Implemented Interfaces:
Serializable
public class SchemaIndexCreateOperation extends SchemaIndexAbstractOperation
Schema index create operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaIndexCreateOperation(UUID opId, String cacheName, String schemaName, String tblName, QueryIndex idx, boolean ifNotExists, int parallel)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanifNotExists()QueryIndexindex()StringindexName()intparallel()Gets index creation parallelism level.StringtableName()StringtoString()-
Methods inherited from class org.apache.ignite.internal.processors.query.schema.operation.SchemaAbstractOperation
cacheName, id, schemaName
-
-
-
-
Constructor Detail
-
SchemaIndexCreateOperation
public SchemaIndexCreateOperation(UUID opId, String cacheName, String schemaName, String tblName, QueryIndex idx, boolean ifNotExists, int parallel)
Constructor.- Parameters:
opId- Operation id.cacheName- Cache name.schemaName- Schame name.tblName- Table name.idx- Index params.ifNotExists- Ignore operation if index exists.parallel- Index creation parallelism level.
-
-
Method Detail
-
indexName
public String indexName()
- Specified by:
indexNamein classSchemaIndexAbstractOperation- Returns:
- Index name.
-
tableName
public String tableName()
- Returns:
- Table name.
-
index
public QueryIndex index()
- Returns:
- Index params.
-
ifNotExists
public boolean ifNotExists()
- Returns:
- Ignore operation if index exists.
-
parallel
public int parallel()
Gets index creation parallelism level.- Returns:
- Index creation parallelism level.
-
toString
public String toString()
- Overrides:
toStringin classSchemaAbstractOperation
-
-