Class TableVectorIndexDescriptor
java.lang.Object
com.datastax.astra.client.tables.definition.indexes.TableIndexDescriptor<TableVectorIndexDefinition>
com.datastax.astra.client.tables.definition.indexes.TableVectorIndexDescriptor
Descriptor for a table vector index.
-
Field Summary
Fields inherited from class com.datastax.astra.client.tables.definition.indexes.TableIndexDescriptor
constructor, definition, indexType, name -
Constructor Summary
ConstructorsModifierConstructorDescriptionThe default name for the index.protectedTableVectorIndexDescriptor(TableVectorIndexDefinition definition) Constructor that accepts a set of index options. -
Method Summary
Modifier and TypeMethodDescriptionSets the index definition for the table.Sets the name of the table.Methods inherited from class com.datastax.astra.client.tables.definition.indexes.TableIndexDescriptor
mapImpl, toString
-
Constructor Details
-
TableVectorIndexDescriptor
public TableVectorIndexDescriptor()The default name for the index. -
TableVectorIndexDescriptor
Constructor that accepts a set of index options.- Parameters:
definition- the index options to use.
-
-
Method Details
-
name
Description copied from class:TableIndexDescriptorSets the name of the table.- Overrides:
namein classTableIndexDescriptor<TableVectorIndexDefinition>- Parameters:
name- the name of the table.- Returns:
- a new instance with the updated table name.
-
definition
Description copied from class:TableIndexDescriptorSets the index definition for the table.- Overrides:
definitionin classTableIndexDescriptor<TableVectorIndexDefinition>- Parameters:
def- theTableIndexDefinitiondefining the index options for the table.- Returns:
- a new instance with the updated definition.
-