Class EnhancedVectorIndex
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.EnhancedVectorIndex
Enhanced model representation of a vector index on a DynamoDb table. This is optionally used with the
createTable
operation in the enhanced client.
Vector indexes are distinct from global and local secondary indexes; they define vector search configuration including embedding dimensions, distance function, and search schema elements.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EnhancedVectorIndex.Builderbuilder()intThe number of dimensions in the vector embedding.The distance function used for similarity search on this index.booleaninthashCode()The name of the vector index.The attribute projection setting for this vector index.The search schema elements for this vector index, including the hash attribute and optional inline filters.The name of the table attribute that stores the vector embedding for this index.
-
Method Details
-
builder
-
toBuilder
-
indexName
The name of the vector index. -
vectorAttributeName
The name of the table attribute that stores the vector embedding for this index. -
dimensions
public int dimensions()The number of dimensions in the vector embedding. -
distanceFunction
The distance function used for similarity search on this index. -
projection
The attribute projection setting for this vector index. -
searchSchemaElements
The search schema elements for this vector index, including the hash attribute and optional inline filters. -
equals
-
hashCode
-