Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder | |
com.datastax.oss.driver.api.querybuilder.schema |
Modifier and Type | Method and Description |
---|---|
static CreateIndexStart |
SchemaBuilder.createIndex()
Starts a CREATE INDEX query with no name.
|
static CreateIndexStart |
SchemaBuilder.createIndex(CqlIdentifier indexName)
Starts a CREATE INDEX query with the given name.
|
static CreateIndexStart |
SchemaBuilder.createIndex(String indexName)
Shortcut for
createIndex(CqlIdentifier.fromCql(indexName) . |
Modifier and Type | Method and Description |
---|---|
CreateIndexStart |
CreateIndexStart.custom(String className)
Adds CUSTOM specification to the index for the given class name.
|
CreateIndexStart |
CreateIndexStart.ifNotExists()
Adds IF NOT EXISTS to the create index specification.
|
default CreateIndexStart |
CreateIndexStart.usingSASI()
Declares that the index is a "SSTable Attached Secondary Index" (SASI) type index.
|
Copyright © 2017–2022. All rights reserved.