class Qdrant::Api::SegmentInfo

Overview

Aggregated information about segment

Included Modules

Defined in:

qdrant-api/models/segment_info.cr

Constructors

Instance Method Summary

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

def self.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


[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def deferred_internal_id : Int32 | Nil #

Internal ID from which points are deferred (hidden from reads). Only set for appendable segments.


[View source]
def deferred_internal_id=(value : Int32 | Nil) #

Internal ID from which points are deferred (hidden from reads). Only set for appendable segments.


[View source]
def deferred_internal_id_validation_error(value) : String | Nil #

[View source]
def disk_usage_bytes : Int32 #

[View source]
def disk_usage_bytes=(value : Int32) #

[View source]
def disk_usage_bytes_validation_error(value) : String | Nil #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def index_schema : Hash(String, PayloadIndexInfo) #

[View source]
def index_schema=(index_schema : Hash(String, PayloadIndexInfo)) #

[View source]
def is_appendable : Bool #

[View source]
def is_appendable=(is_appendable : Bool) #

[View source]
def list_invalid_properties #

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons


[View source]
def num_deferred_points : Int32 | Nil #

Optional properties


[View source]
def num_deferred_points=(value : Int32 | Nil) #

Optional properties


[View source]
def num_deferred_points_validation_error(value) : String | Nil #

[View source]
def num_deleted_deferred_points : Int32 | Nil #

[View source]
def num_deleted_deferred_points=(value : Int32 | Nil) #

[View source]
def num_deleted_deferred_points_validation_error(value) : String | Nil #

[View source]
def num_deleted_vectors : Int32 #

[View source]
def num_deleted_vectors=(value : Int32) #

[View source]
def num_deleted_vectors_validation_error(value) : String | Nil #

[View source]
def num_indexed_vectors : Int32 #

[View source]
def num_indexed_vectors=(value : Int32) #

[View source]
def num_indexed_vectors_validation_error(value) : String | Nil #

[View source]
def num_points : Int32 #

[View source]
def num_points=(value : Int32) #

[View source]
def num_points_validation_error(value) : String | Nil #

[View source]
def num_vectors : Int32 #

[View source]
def num_vectors=(value : Int32) #

[View source]
def num_vectors_validation_error(value) : String | Nil #

[View source]
def payloads_size_bytes : Int32 #

An estimation of the effective amount of bytes used for payloads


[View source]
def payloads_size_bytes=(value : Int32) #

An estimation of the effective amount of bytes used for payloads


[View source]
def payloads_size_bytes_validation_error(value) : String | Nil #

[View source]
def ram_usage_bytes : Int32 #

[View source]
def ram_usage_bytes=(value : Int32) #

[View source]
def ram_usage_bytes_validation_error(value) : String | Nil #

[View source]
def segment_type : SegmentType #

[View source]
def segment_type=(segment_type : SegmentType) #

[View source]
def uuid : String #

Required properties


[View source]
def uuid=(uuid : String) #

Required properties


[View source]
def valid? #

Check to see if the all the properties in the model are valid @return true if the model is valid


[View source]
def vector_data : Hash(String, VectorDataInfo) #

[View source]
def vector_data=(vector_data : Hash(String, VectorDataInfo)) #

[View source]
def 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


[View source]
def 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


[View source]
def vectors_size_bytes_validation_error(value) : String | Nil #

[View source]