Class DefaultDynamoDbAsyncVectorIndex<T>
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.client.DefaultDynamoDbAsyncVectorIndex<T>
- All Implemented Interfaces:
DynamoDbAsyncVectorIndex<T>
@SdkInternalApi
public final class DefaultDynamoDbAsyncVectorIndex<T>
extends Object
implements DynamoDbAsyncVectorIndex<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 CompletableFuture<SearchVectorsEnhancedResponse<T>> searchVectorsWithResponse(SearchVectorsEnhancedRequest request) Description copied from interface:DynamoDbAsyncVectorIndexExecutes a vector similarity search against this vector index and returns the full enhanced response.- Specified by:
searchVectorsWithResponsein interfaceDynamoDbAsyncVectorIndex<T>- Parameters:
request- ASearchVectorsEnhancedRequestdefining the search parameters.- Returns:
- A
CompletableFutureofSearchVectorsEnhancedResponse.
-
searchVectorsWithResponse
public CompletableFuture<SearchVectorsEnhancedResponse<T>> searchVectorsWithResponse(Consumer<SearchVectorsEnhancedRequest.Builder> requestConsumer) Description copied from interface:DynamoDbAsyncVectorIndexExecutes a vector similarity search against this vector index and returns the full enhanced response.- Specified by:
searchVectorsWithResponsein interfaceDynamoDbAsyncVectorIndex<T>- Parameters:
requestConsumer- AConsumerofSearchVectorsEnhancedRequest.Builder.- Returns:
- A
CompletableFutureofSearchVectorsEnhancedResponse.
-
mapperExtension
Description copied from interface:DynamoDbAsyncVectorIndexGets theDynamoDbEnhancedClientExtensionassociated with this mapped resource.- Specified by:
mapperExtensionin interfaceDynamoDbAsyncVectorIndex<T>- Returns:
- The
DynamoDbEnhancedClientExtensionassociated with this mapped resource.
-
tableSchema
Description copied from interface:DynamoDbAsyncVectorIndexGets theTableSchemaobject that this mapped vector index was built with.- Specified by:
tableSchemain interfaceDynamoDbAsyncVectorIndex<T>- Returns:
- The
TableSchemaobject for this mapped vector index.
-
tableName
Description copied from interface:DynamoDbAsyncVectorIndexGets the physical table name that operations performed by this object will be executed against.- Specified by:
tableNamein interfaceDynamoDbAsyncVectorIndex<T>- Returns:
- The physical table name.
-
indexName
Description copied from interface:DynamoDbAsyncVectorIndexGets the physical vector index name that operations performed by this object will be executed against.- Specified by:
indexNamein interfaceDynamoDbAsyncVectorIndex<T>- Returns:
- The physical vector index name.
-
equals
-
hashCode
-