Class TableRegularIndexDescriptor
java.lang.Object
com.datastax.astra.client.tables.definition.indexes.TableIndexDescriptor<TableRegularIndexDefinition>
com.datastax.astra.client.tables.definition.indexes.TableRegularIndexDescriptor
Represents a descriptor for a table index, including the table's name and associated index options.
 This class is designed for use in scenarios such as serialization/deserialization with libraries
 like Jackson and for method chaining in fluent-style APIs.
- 
Field SummaryFields inherited from class com.datastax.astra.client.tables.definition.indexes.TableIndexDescriptorconstructor, definition, indexType, name
- 
Constructor SummaryConstructorsModifierConstructorDescriptionThe default name for the index.protectedConstructor that accepts a set of index options.
- 
Method SummaryModifier 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.TableIndexDescriptormapImpl, toString
- 
Constructor Details- 
TableRegularIndexDescriptorpublic TableRegularIndexDescriptor()The default name for the index.
- 
TableRegularIndexDescriptorConstructor that accepts a set of index options.- Parameters:
- definition- the index options to use.
 
 
- 
- 
Method Details- 
nameDescription copied from class:TableIndexDescriptorSets the name of the table.- Overrides:
- namein class- TableIndexDescriptor<TableRegularIndexDefinition>
- Parameters:
- name- the name of the table.
- Returns:
- a new instance with the updated table name.
 
- 
definitionDescription copied from class:TableIndexDescriptorSets the index definition for the table.- Overrides:
- definitionin class- TableIndexDescriptor<TableRegularIndexDefinition>
- Parameters:
- def- the- TableIndexDefinitiondefining the index options for the table.
- Returns:
- a new instance with the updated definition.
 
 
-