Class DefaultDynamoDbVectorIndex<T>
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.client.DefaultDynamoDbVectorIndex<T>
- All Implemented Interfaces:
DynamoDbVectorIndex<T>
@SdkInternalApi
public final class DefaultDynamoDbVectorIndex<T>
extends Object
implements DynamoDbVectorIndex<T>
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Gets the physical vector index name that operations performed by this object will be executed against.Gets theDynamoDbEnhancedClientExtensionassociated with this mapped resource.searchVectorsWithResponse(Consumer<SearchVectorsEnhancedRequest.Builder> requestConsumer) Executes a vector similarity search against this vector index and returns the full enhanced response.Executes a vector similarity search against this vector index and returns the full enhanced response.Gets the physical table name that operations performed by this object will be executed against.Gets theTableSchemaobject that this mapped vector index was built with.
-
Method Details
-
searchVectorsWithResponse
public SearchVectorsEnhancedResponse<T> searchVectorsWithResponse(SearchVectorsEnhancedRequest request) Description copied from interface:DynamoDbVectorIndexExecutes a vector similarity search against this vector index and returns the full enhanced response.- Specified by:
searchVectorsWithResponsein interfaceDynamoDbVectorIndex<T>- Parameters:
request- ASearchVectorsEnhancedRequestdefining the search parameters.- Returns:
- A
SearchVectorsEnhancedResponsecontaining results and vector capacity metadata.
-
searchVectorsWithResponse
public SearchVectorsEnhancedResponse<T> searchVectorsWithResponse(Consumer<SearchVectorsEnhancedRequest.Builder> requestConsumer) Description copied from interface:DynamoDbVectorIndexExecutes a vector similarity search against this vector index and returns the full enhanced response.- Specified by:
searchVectorsWithResponsein interfaceDynamoDbVectorIndex<T>- Parameters:
requestConsumer- AConsumerofSearchVectorsEnhancedRequest.Builder.- Returns:
- A
SearchVectorsEnhancedResponsecontaining results and vector capacity metadata.
-
mapperExtension
Description copied from interface:DynamoDbVectorIndexGets theDynamoDbEnhancedClientExtensionassociated with this mapped resource.- Specified by:
mapperExtensionin interfaceDynamoDbVectorIndex<T>- Returns:
- The
DynamoDbEnhancedClientExtensionassociated with this mapped resource.
-
tableSchema
Description copied from interface:DynamoDbVectorIndexGets theTableSchemaobject that this mapped vector index was built with.- Specified by:
tableSchemain interfaceDynamoDbVectorIndex<T>- Returns:
- The
TableSchemaobject for this mapped vector index.
-
tableName
Description copied from interface:DynamoDbVectorIndexGets the physical table name that operations performed by this object will be executed against.- Specified by:
tableNamein interfaceDynamoDbVectorIndex<T>- Returns:
- The physical table name.
-
indexName
Description copied from interface:DynamoDbVectorIndexGets the physical vector index name that operations performed by this object will be executed against.- Specified by:
indexNamein interfaceDynamoDbVectorIndex<T>- Returns:
- The physical vector index name.
-
equals
-
hashCode
-