class
Amazonite::DynamoDB::VectorCapacity
- Amazonite::DynamoDB::VectorCapacity
- Reference
- Object
Overview
The consumed capacity for vector index operations, including vector search request bytes and vector write request bytes.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/vector_capacity.crConstructors
- .new(pull : JSON::PullParser)
- .new(vector_search_request_bytes : Float64 | Nil = nil, vector_write_request_bytes : Float64 | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
-
#vector_search_request_bytes : Float64 | Nil
The number of vector search request bytes consumed by a
SearchVectorsoperation. -
#vector_search_request_bytes=(vector_search_request_bytes : Float64 | Nil)
The number of vector search request bytes consumed by a
SearchVectorsoperation. -
#vector_write_request_bytes : Float64 | Nil
The number of vector write request bytes consumed when writing to a vector index.
-
#vector_write_request_bytes=(vector_write_request_bytes : Float64 | Nil)
The number of vector write request bytes consumed when writing to a vector index.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The number of vector search request bytes consumed by a SearchVectors operation.
The number of vector search request bytes consumed by a SearchVectors operation.
The number of vector write request bytes consumed when writing to a vector index. Reported for write operations that modify attributes indexed by a vector index.
The number of vector write request bytes consumed when writing to a vector index. Reported for write operations that modify attributes indexed by a vector index.