ColumnInt8VectorArray
A ColumnInt8VectorArray instance represents an ArrayOfVector int8-vector column whose rows contain int8-vector values with a shared dimension. Nullable semantics are enforced in v3.0.0: nullability flags and valid-value bookkeeping are real operations instead of stubs.
type ColumnInt8VectorArray struct {
}
BUILDER METHODS:
-
AppendValue(value any) errorThis appends one row supplied as []entity.Int8Vector or [][]int8.
-
IsNull(idx int) (bool, error)This reports whether the row at the given index is null.
-
Nullable() boolThis reports whether the column accepts null values.
-
SetNullable(nullable bool)This sets whether the column accepts null values.
-
ValidCount() intThis returns the number of non-null rows.
-
ValidateNullable() errorThis verifies the internal nullable bookkeeping and returns an error on mismatch.
METHODS:
Slice(start, end int) Column
Example
Demonstrates ColumnInt8VectorArray usage.
import (
"fmt"
"github.com/milvus-io/milvus/client/v3/column"
)
values := column.NewColumnInt8VectorArray("embeddings", 4, [][][]int8{{{1, 2, 3, 4}}})
fmt.Println(values.Len())