class
Amazonite::DynamoDB::SearchSchemaElement
- Amazonite::DynamoDB::SearchSchemaElement
- Reference
- Object
Overview
An element in the search schema of a vector index.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/search_schema_element.crConstructors
- .new(attribute_name : String, search_schema_element_type : SearchSchemaElementType)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#attribute_name : String
The name of the attribute.
-
#attribute_name=(attribute_name : String)
The name of the attribute.
-
#hash(hasher)
See
Object#hash(hasher) -
#search_schema_element_type : SearchSchemaElementType
The role of the attribute in the search schema.
-
#search_schema_element_type=(search_schema_element_type : SearchSchemaElementType)
The role of the attribute in the search schema.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The role of the attribute in the search schema. Valid values:
-
HASH- A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in theSearchConditionExpression. -
INLINE_FILTER- An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in theSearchConditionExpression.
The role of the attribute in the search schema. Valid values:
-
HASH- A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in theSearchConditionExpression. -
INLINE_FILTER- An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in theSearchConditionExpression.