Class VectorIndexMetadata
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.VectorIndexMetadata
Read-only metadata describing a vector index on a mapped table. Used when resolving
table.vectorIndex(indexName)
handles and for programmatic table schema definitions.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorIndexMetadata.Builderbuilder()intThe number of dimensions in the vector embedding.The distance function used for similarity search on this index.booleanstatic VectorIndexMetadatafromEnhancedVectorIndex(EnhancedVectorIndex enhancedVectorIndex) Creates aVectorIndexMetadatafrom anEnhancedVectorIndex.inthashCode()The name of the vector index.The attribute projection setting for this vector index.The search schema elements for this vector index.The name of the table attribute that stores the vector embedding for this index.
-
Method Details
-
builder
-
fromEnhancedVectorIndex
Creates aVectorIndexMetadatafrom anEnhancedVectorIndex. -
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. -
equals
-
hashCode
-