public class CreateIndex extends Object
Modifier and Type | Class and Description |
---|---|
class |
CreateIndex.CreateIndexOn |
Modifier and Type | Method and Description |
---|---|
String |
buildInternal() |
CreateIndex |
ifNotExists()
Add the 'IF NOT EXISTS' condition to this CREATE INDEX statement.
|
CreateIndex.CreateIndexOn |
onTable(String tableName)
Specify the table to create the index on.
|
CreateIndex.CreateIndexOn |
onTable(String keyspaceName,
String tableName)
Specify the keyspace and table to create the index on.
|
public CreateIndex ifNotExists()
public CreateIndex.CreateIndexOn onTable(String keyspaceName, String tableName)
keyspaceName
- the keyspace name.tableName
- the table name.CreateIndex.CreateIndexOn
that will allow the specification of the column.public CreateIndex.CreateIndexOn onTable(String tableName)
tableName
- the table name.CreateIndex.CreateIndexOn
that will allow the specification of the column.public String buildInternal()
Copyright © 2012–2015. All rights reserved.