public interface CreateIndexStart
Modifier and Type | Method and Description |
---|---|
CreateIndexStart |
custom(String className)
Adds CUSTOM specification to the index for the given class name.
|
CreateIndexStart |
ifNotExists()
Adds IF NOT EXISTS to the create index specification.
|
default CreateIndexOnTable |
onTable(CqlIdentifier table)
Indicates which table this index is on.
|
CreateIndexOnTable |
onTable(CqlIdentifier keyspace,
CqlIdentifier table)
Indicates which table this index is on.
|
default CreateIndexOnTable |
onTable(String table)
Shortcut for
onTable(CqlIdentifier.fromCql(table)) . |
default CreateIndexOnTable |
onTable(String keyspace,
String table)
|
default CreateIndexStart |
usingSASI()
Declares that the index is a "SSTable Attached Secondary Index" (SASI) type index.
|
@NonNull CreateIndexStart ifNotExists()
@NonNull CreateIndexStart custom(@NonNull String className)
USING 'classname'
.@NonNull default CreateIndexStart usingSASI()
org.apache.cassandra.index.SASIIndex
.CreateIndex.withSASIOptions(Map)
@NonNull CreateIndexOnTable onTable(@Nullable CqlIdentifier keyspace, @NonNull CqlIdentifier table)
@NonNull default CreateIndexOnTable onTable(@NonNull CqlIdentifier table)
@NonNull default CreateIndexOnTable onTable(@Nullable String keyspace, @NonNull String table)
@NonNull default CreateIndexOnTable onTable(@NonNull String table)
onTable(CqlIdentifier.fromCql(table))
.Copyright © 2017–2023. All rights reserved.