Class SearchVectorsEnhancedRequest
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.SearchVectorsEnhancedRequest
Defines parameters used when performing a vector search via
table.vectorIndex(name).searchVectorsWithResponse(...).
The vector index name is bound on the vector index handle and is not part of this request. All parameters are optional; the
service validates required fields such as searchVector().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of projected attributes on this request object, or null if no projection is specified.builder()booleaninthashCode()Returns the list of projected attribute names, in the form ofNestedAttributeNameobjects, for this request object, or null if no projection is specified.Whether to return the capacity consumed by this operation.Whether to return the capacity consumed by this operation.Filter expression applied together with vector similarity, including the required HASH attribute condition when configured on the index.float[]The query embedding used for similarity search.topK()The maximum number of similar items to return.
-
Method Details
-
builder
-
toBuilder
-
searchVector
public float[] searchVector()The query embedding used for similarity search. Must match the dimensionality of the target vector index. -
topK
The maximum number of similar items to return. -
searchConditionExpression
Filter expression applied together with vector similarity, including the required HASH attribute condition when configured on the index. -
attributesToProject
Returns the list of projected attributes on this request object, or null if no projection is specified. Nested attributes are represented using the '.' separator. Example : foo.bar is represented as "foo.bar" which is indistinguishable from a non-nested attribute with the name "foo.bar". UsenestedAttributesToProject()if you have a use-case that requires discrimination between these two cases. -
nestedAttributesToProject
Returns the list of projected attribute names, in the form ofNestedAttributeNameobjects, for this request object, or null if no projection is specified.- See Also:
-
returnConsumedCapacity
Whether to return the capacity consumed by this operation.- See Also:
-
returnConsumedCapacityAsString
Whether to return the capacity consumed by this operation.Similar to
returnConsumedCapacity()but return the value as a string. This is useful in situations where the value is not defined inReturnConsumedCapacity. -
equals
-
hashCode
-