class
Qdrant::Api::SegmentInfo
- Qdrant::Api::SegmentInfo
- Reference
- Object
Overview
Aggregated information about segment
Included Modules
- JSON::Serializable
- Qdrant::Api::Serializable
- Qdrant::Api::Validation
- YAML::Serializable
Defined in:
qdrant-api/models/segment_info.crConstructors
-
.new(uuid : String, segment_type : SegmentType, num_vectors : Int32, num_points : Int32, num_indexed_vectors : Int32, num_deleted_vectors : Int32, vectors_size_bytes : Int32, payloads_size_bytes : Int32, ram_usage_bytes : Int32, disk_usage_bytes : Int32, is_appendable : Bool, index_schema : Hash(String, PayloadIndexInfo), vector_data : Hash(String, VectorDataInfo), num_deferred_points : Int32 | Nil = nil, num_deleted_deferred_points : Int32 | Nil = nil, deferred_internal_id : Int32 | Nil = nil)
Initializes the object @param [Hash] attributes Model attributes in the form of hash
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#deferred_internal_id : Int32 | Nil
Internal ID from which points are deferred (hidden from reads).
-
#deferred_internal_id=(value : Int32 | Nil)
Internal ID from which points are deferred (hidden from reads).
- #deferred_internal_id_validation_error(value) : String | Nil
- #disk_usage_bytes : Int32
- #disk_usage_bytes=(value : Int32)
- #disk_usage_bytes_validation_error(value) : String | Nil
-
#hash(hasher)
See
Object#hash(hasher) - #index_schema : Hash(String, PayloadIndexInfo)
- #index_schema=(index_schema : Hash(String, PayloadIndexInfo))
- #is_appendable : Bool
- #is_appendable=(is_appendable : Bool)
-
#list_invalid_properties
Show invalid properties with the reasons.
-
#num_deferred_points : Int32 | Nil
Optional properties
-
#num_deferred_points=(value : Int32 | Nil)
Optional properties
- #num_deferred_points_validation_error(value) : String | Nil
- #num_deleted_deferred_points : Int32 | Nil
- #num_deleted_deferred_points=(value : Int32 | Nil)
- #num_deleted_deferred_points_validation_error(value) : String | Nil
- #num_deleted_vectors : Int32
- #num_deleted_vectors=(value : Int32)
- #num_deleted_vectors_validation_error(value) : String | Nil
- #num_indexed_vectors : Int32
- #num_indexed_vectors=(value : Int32)
- #num_indexed_vectors_validation_error(value) : String | Nil
- #num_points : Int32
- #num_points=(value : Int32)
- #num_points_validation_error(value) : String | Nil
- #num_vectors : Int32
- #num_vectors=(value : Int32)
- #num_vectors_validation_error(value) : String | Nil
-
#payloads_size_bytes : Int32
An estimation of the effective amount of bytes used for payloads
-
#payloads_size_bytes=(value : Int32)
An estimation of the effective amount of bytes used for payloads
- #payloads_size_bytes_validation_error(value) : String | Nil
- #ram_usage_bytes : Int32
- #ram_usage_bytes=(value : Int32)
- #ram_usage_bytes_validation_error(value) : String | Nil
- #segment_type : SegmentType
- #segment_type=(segment_type : SegmentType)
-
#uuid : String
Required properties
-
#uuid=(uuid : String)
Required properties
-
#valid?
Check to see if the all the properties in the model are valid @return true if the model is valid
- #vector_data : Hash(String, VectorDataInfo)
- #vector_data=(vector_data : Hash(String, VectorDataInfo))
-
#vectors_size_bytes : Int32
An ESTIMATION of effective amount of bytes used for vectors Do NOT rely on this number unless you know what you are doing
-
#vectors_size_bytes=(value : Int32)
An ESTIMATION of effective amount of bytes used for vectors Do NOT rely on this number unless you know what you are doing
- #vectors_size_bytes_validation_error(value) : String | Nil
Macros inherited from module Qdrant::Api::Validation
validates(name, klass, nilable, **rules)
validates
Instance methods inherited from module Qdrant::Api::Serializable
eql?(other)
eql?,
to_body : Hash(String, JSON::Any)
to_body,
to_h : Hash(String, JSON::Any)
to_h,
to_s(io : IO) : Nil
to_s
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Internal ID from which points are deferred (hidden from reads). Only set for appendable segments.
Internal ID from which points are deferred (hidden from reads). Only set for appendable segments.
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
An estimation of the effective amount of bytes used for payloads
Check to see if the all the properties in the model are valid @return true if the model is valid
An ESTIMATION of effective amount of bytes used for vectors Do NOT rely on this number unless you know what you are doing
An ESTIMATION of effective amount of bytes used for vectors Do NOT rely on this number unless you know what you are doing