Package | Description |
---|---|
com.datastax.oss.driver.api.querybuilder.schema |
Modifier and Type | Method and Description |
---|---|
default CreateIndex |
CreateIndexOnTable.andColumn(CqlIdentifier columnName)
Specifies the column to create the index on.
|
CreateIndex |
CreateIndexOnTable.andColumn(CqlIdentifier columnName,
String indexType)
Specifies to create the index on a given column with the given index type.
|
default CreateIndex |
CreateIndexOnTable.andColumn(String columnName)
Shortcut for
andColumn(CqlIdentifier.fromCql(columnName) . |
default CreateIndex |
CreateIndexOnTable.andColumn(String columnName,
String indexType)
Shortcut for
andColumn(CqlIdentifier.fromCql(columnName),indexType . |
default CreateIndex |
CreateIndexOnTable.andColumnEntries(CqlIdentifier columnName)
Specifies to create the index on the given columns' entries (key-value pairs), this must be
done against a
map column. |
default CreateIndex |
CreateIndexOnTable.andColumnEntries(String columnName)
Shortcut for
andColumnEntries(CqlIdentifier.fromCql(columnName) . |
default CreateIndex |
CreateIndexOnTable.andColumnFull(CqlIdentifier columnName)
Specifies to create the index on the given columns' entire value, this must be done against a
frozen collection column. |
default CreateIndex |
CreateIndexOnTable.andColumnFull(String columnName)
Shortcut for
andColumnFull(CqlIdentifier.fromCql(columnName) . |
default CreateIndex |
CreateIndexOnTable.andColumnKeys(CqlIdentifier columnName)
Specifies to create the index on the given columns' keys, this must be done against a
map
column. |
default CreateIndex |
CreateIndexOnTable.andColumnKeys(String columnName)
Shortcut for
andColumnKeys(CqlIdentifier.fromCql(columnName) . |
default CreateIndex |
CreateIndexOnTable.andColumnValues(CqlIdentifier columnName)
Specifies to create the index on the given columns' values, this must be done against a
map column. |
default CreateIndex |
CreateIndexOnTable.andColumnValues(String columnName)
Shortcut for
andColumnValues(CqlIdentifier.fromCql(columnName) . |
default CreateIndex |
CreateIndex.withSASIOptions(Map<String,Object> sasiOptions)
Convenience method for when
CreateIndexStart.usingSASI() is used, provides SASI
specific options that are provided under the index 'OPTIONS' property. |
Copyright © 2017–2022. All rights reserved.