public class CreateIndexSpecification extends IndexNameSpecification<CreateIndexSpecification> implements IndexDescriptor
CREATE INDEX specification.| Constructor and Description |
|---|
CreateIndexSpecification() |
getName, name, nameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static CreateIndexSpecification createIndex()
CreateIndexSpecification's fluent API to create a index. Convenient if imported
statically.public static CreateIndexSpecification createIndex(CqlIdentifier name)
CreateIndexSpecification's fluent API to create a index. Convenient if imported
statically.public static CreateIndexSpecification createIndex(String name)
CreateIndexSpecification's fluent API to create a index. Convenient if imported
statically.public CreateIndexSpecification ifNotExists()
IF NOT EXISTS clause.public CreateIndexSpecification ifNotExists(boolean ifNotExists)
IF NOT EXISTS clause.public boolean getIfNotExists()
public boolean isCustom()
isCustom in interface IndexDescriptorpublic CreateIndexSpecification using(String className)
public String getUsing()
getUsing in interface IndexDescriptorpublic CqlIdentifier getColumnName()
getColumnName in interface IndexDescriptorpublic CreateIndexSpecification tableName(String tableName)
public CreateIndexSpecification tableName(CqlIdentifier tableName)
public CqlIdentifier getTableName()
IndexDescriptorgetTableName in interface IndexDescriptorpublic CreateIndexSpecification columnName(String columnName)
public CreateIndexSpecification columnName(CqlIdentifier columnName)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.