Class CreateIndex.CreateIndexOn
- java.lang.Object
-
- com.datastax.driver.core.schemabuilder.CreateIndex.CreateIndexOn
-
- Enclosing class:
- CreateIndex
public class CreateIndex.CreateIndexOn extends Object
-
-
Constructor Summary
Constructors Constructor Description CreateIndexOn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaStatementandColumn(String columnName)Specify the column to create the index on.SchemaStatementandKeysOfColumn(String columnName)Create an index on the keys of the given map column.
-
-
-
Method Detail
-
andColumn
public SchemaStatement andColumn(String columnName)
Specify the column to create the index on.- Parameters:
columnName- the column name.- Returns:
- the final CREATE INDEX statement.
-
andKeysOfColumn
public SchemaStatement andKeysOfColumn(String columnName)
Create an index on the keys of the given map column.- Parameters:
columnName- the column name.- Returns:
- the final CREATE INDEX statement.
-
-