Liking cljdoc? Tell your friends :D

hive-milvus.store.guard

Size guard on the write path: a record whose VarChar field exceeds the collection schema's max_length is refused before it is embedded or sent, with a failure map that names the field, its size and the limit.

Milvus counts a VarChar's max_length in UTF-8 bytes. Pure.

Size guard on the write path: a record whose VarChar field exceeds the
collection schema's max_length is refused before it is embedded or sent,
with a failure map that names the field, its size and the limit.

Milvus counts a VarChar's max_length in UTF-8 bytes. Pure.
raw docstring

Oversizeclj

source

oversize-fieldsclj

(oversize-fields record)

[{:field k :bytes n :limit max} ...] for every VarChar field of RECORD over its limit, in varchar-limits order. Empty when the record fits.

[{:field k :bytes n :limit max} ...] for every VarChar field of RECORD
over its limit, in `varchar-limits` order. Empty when the record fits.
sourceraw docstring

refusalclj

(refusal record)

The write failure for RECORD when it does not fit the schema, else nil.

{:success? false :error :milvus/payload-too-large :reconnecting? false :id id :oversize [{:field :bytes :limit} ...] :errors [msg]}

:reconnecting? false marks it permanent: a queue drain drops it rather than re-queueing a write that can never land.

The write failure for RECORD when it does not fit the schema, else nil.

  {:success? false :error :milvus/payload-too-large :reconnecting? false
   :id id :oversize [{:field :bytes :limit} ...] :errors [msg]}

:reconnecting? false marks it permanent: a queue drain drops it rather
than re-queueing a write that can never land.
sourceraw docstring

utf8-bytesclj

(utf8-bytes s)

UTF-8 byte length of S (nil counts as 0).

UTF-8 byte length of S (nil counts as 0).
sourceraw docstring

varchar-limitsclj

Record field -> max_length in bytes, as milvus-clj's memory schema declares them (milvus-clj.schema/memory-schema-fields).

Record field -> max_length in bytes, as milvus-clj's memory schema
declares them (`milvus-clj.schema/memory-schema-fields`).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close