Versions in this module Expand all Collapse all v0 v0.6.1 Jul 1, 2026 v0.6.0 Jul 1, 2026 Changes in this version + func CertifyGraphBytesDirectView(req GraphBytesDirectViewRequest) (PreparedBytesDirectView, Status) + func CertifyGraphFloat32DirectView(req GraphFloat32DirectViewRequest) (PreparedFloat32DirectView, Status) + func CertifyGraphFloat32VectorDirectView(req GraphFloat32VectorDirectViewRequest) (PreparedFloat32VectorDirectView, Status) + func CertifyGraphInt64DirectView(req GraphInt64DirectViewRequest) (PreparedInt64DirectView, Status) + func CertifyGraphUint32ListDirectView(req GraphUint32ListDirectViewRequest) (PreparedUint32ListDirectView, Status) + type BytesDirectViewRequest struct + AssetOffset int64 + Certification typedcolumn.ColumnPartLayoutContractColumn + HasAssetOffset bool + OffsetsBytes int + Plan Plan + Rows int + ValuesBytes int + type BytesShapeRequest struct + Offsets []uint64 + Rows int + Values uint64 + type Counter string + const CounterAbsoluteOffsetUnaligned + const CounterActualPointerUnaligned + const CounterCertificationFailure + const CounterHeapCopyTypedView + const CounterMmapDirectView + const CounterOffsetsHeapCopyTypedView + const CounterOffsetsListValidation + const CounterOffsetsMmapDirectView + const CounterScratchDecode + const CounterSourceUnsupported + const CounterStaleHandle + const CounterStreamingFallback + const CounterValuesHeapCopyTypedView + const CounterValuesMmapDirectView + func CounterVocabulary() []Counter + type Counters struct + DirectViewFailures uint64 + DirectViewPlans uint64 + DirectViewSuccesses uint64 + FallbackReasons map[Reason]uint64 + MaterializePlans uint64 + StreamingPlans uint64 + UnsupportedPlans uint64 + func (c *Counters) ObserveDirectViewStatus(s Status) + func (c *Counters) ObservePlan(p Plan) + func (c *Counters) ObserveStatus(s Status) + type DirectViewBlockRequest struct + AssetOffset int64 + Block typedcolumn.ColumnPartLayoutContractBlock + Certification typedcolumn.ColumnPartLayoutContractColumn + HasAssetOffset bool + PayloadBytes int + Plan Plan + Rows int + type DirectViewColumnRequest struct + AssetOffset int64 + Certification typedcolumn.ColumnPartLayoutContractColumn + HasAssetOffset bool + PayloadBytes int + Plan Plan + Rows int + type GraphBytesDirectViewRequest struct + Certification typedcolumn.ColumnPartLayoutContractColumn + Expectation GraphDirectViewExpectation + ExpectedOffsetsKey mappedresource.Key + ExpectedValuesKey mappedresource.Key + Manager *mappedresource.Manager + OffsetsHandle *mappedresource.Handle + OffsetsSection typedcolumn.ColumnPartImageSection + ValuesHandle *mappedresource.Handle + ValuesSection typedcolumn.ColumnPartImageSection + type GraphDirectViewExpectation struct + ActualOwner string + ActualRole string + AssetOffset int64 + Column string + ExpectedOwner string + ExpectedRole string + HasAssetOffset bool + Rows int + type GraphFloat32DirectViewRequest struct + Certification typedcolumn.ColumnPartLayoutContractColumn + Expectation GraphDirectViewExpectation + ExpectedKey mappedresource.Key + Handle *mappedresource.Handle + Manager *mappedresource.Manager + Section typedcolumn.ColumnPartImageSection + type GraphFloat32VectorDirectViewRequest struct + Certification typedcolumn.ColumnPartLayoutContractColumn + Dims int + Expectation GraphDirectViewExpectation + ExpectedKey mappedresource.Key + Handle *mappedresource.Handle + Manager *mappedresource.Manager + Section typedcolumn.ColumnPartImageSection + type GraphInt64DirectViewRequest struct + Certification typedcolumn.ColumnPartLayoutContractColumn + Expectation GraphDirectViewExpectation + ExpectedKey mappedresource.Key + Handle *mappedresource.Handle + Manager *mappedresource.Manager + Section typedcolumn.ColumnPartImageSection + type GraphUint32ListDirectViewRequest struct + Certification typedcolumn.ColumnPartLayoutContractColumn + Expectation GraphDirectViewExpectation + ExpectedOffsetsKey mappedresource.Key + ExpectedValuesKey mappedresource.Key + Manager *mappedresource.Manager + OffsetsHandle *mappedresource.Handle + OffsetsSection typedcolumn.ColumnPartImageSection + ValuesHandle *mappedresource.Handle + ValuesSection typedcolumn.ColumnPartImageSection + type Path string + const PathDirectView + const PathMaterialize + const PathStreaming + const PathUnsupported + type Plan struct + Alignment int + BitsPerElement int + BytesPerRow int + ElementSize int + ElementsPerRow int + LogicalBitsPerRow int + Message string + Path Path + Reason Reason + Rows int + func AdjacencyListPlan(cert typedcolumn.ColumnPartLayoutContractColumn, degree int) Plan + func AdjacencyOffsetsListPlan(cert typedcolumn.ColumnPartLayoutContractColumn) Plan + func BytesPlan(cert typedcolumn.ColumnPartLayoutContractColumn) Plan + func DenseFixedWidthVectorBytesPlan(cert typedcolumn.ColumnPartLayoutContractColumn, ...) Plan + func DenseFloat32VectorPlan(cert typedcolumn.ColumnPartLayoutContractColumn, dims int) Plan + func FixedBytesPlan(cert typedcolumn.ColumnPartLayoutContractColumn, bytesPerRow int) Plan + func Float32ScalarPlan(cert typedcolumn.ColumnPartLayoutContractColumn) Plan + func Float64ScalarPlan(cert typedcolumn.ColumnPartLayoutContractColumn) Plan + func Int64DirectViewPlan(cert typedcolumn.ColumnPartLayoutContractColumn) Plan + func Int64ReducerPlan(layout columnlayout.Capabilities, ...) Plan + func PackedUintVectorPlan(cert typedcolumn.ColumnPartLayoutContractColumn, ...) Plan + func Uint32ListPlan(cert typedcolumn.ColumnPartLayoutContractColumn) Plan + func (p Plan) DirectCandidate() bool + func (p Plan) Status() Status + type PreparedBytesDirectView struct + Expectation GraphDirectViewExpectation + Offsets []uint64 + OffsetsHandle *mappedresource.Handle + Rows int + Values []byte + ValuesHandle *mappedresource.Handle + func (v *PreparedBytesDirectView) Close() error + func (v PreparedBytesDirectView) Alive() bool + func (v PreparedBytesDirectView) Row(row int) []byte + type PreparedFloat32DirectView struct + Expectation GraphDirectViewExpectation + Handle *mappedresource.Handle + Rows int + Values []float32 + func (v *PreparedFloat32DirectView) Close() error + func (v PreparedFloat32DirectView) Alive() bool + func (v PreparedFloat32DirectView) Value(row int) (float32, bool) + type PreparedFloat32VectorDirectView struct + Dims int + Expectation GraphDirectViewExpectation + Handle *mappedresource.Handle + Rows int + Values []float32 + func (v *PreparedFloat32VectorDirectView) Close() error + func (v PreparedFloat32VectorDirectView) Alive() bool + func (v PreparedFloat32VectorDirectView) Row(row int) []float32 + type PreparedInt64DirectView struct + Expectation GraphDirectViewExpectation + Handle *mappedresource.Handle + Rows int + Values []int64 + func (v *PreparedInt64DirectView) Close() error + func (v PreparedInt64DirectView) Alive() bool + func (v PreparedInt64DirectView) Value(row int) (int64, bool) + type PreparedUint32ListDirectView struct + Expectation GraphDirectViewExpectation + Offsets []uint64 + OffsetsHandle *mappedresource.Handle + Rows int + Values []uint32 + ValuesHandle *mappedresource.Handle + func (v *PreparedUint32ListDirectView) Close() error + func (v PreparedUint32ListDirectView) Alive() bool + func (v PreparedUint32ListDirectView) Row(row int) []uint32 + type Reason string + const ReasonAbsoluteOffsetUnaligned + const ReasonActualPointerUnaligned + const ReasonColumnMismatch + const ReasonCompressed + const ReasonDictionarySemanticsMissing + const ReasonDimensionMismatch + const ReasonDirectViewDeferred + const ReasonHandleSourceUnsupported + const ReasonLayoutCapability + const ReasonLengthMultipleMismatch + const ReasonMaterializationRequired + const ReasonNilHandle + const ReasonNotWriterCertified + const ReasonNullableWrapper + const ReasonOffsetsCountMismatch + const ReasonOffsetsGoIntRange + const ReasonOffsetsNonMonotonic + const ReasonOffsetsStartMismatch + const ReasonOwnerMismatch + const ReasonPayloadLengthMismatch + const ReasonResourceMismatch + const ReasonRoleMismatch + const ReasonRowCountMismatch + const ReasonStaleHandle + const ReasonSupported + const ReasonTypeEncodingMismatch + const ReasonUnaligned + const ReasonUnsupportedOperation + const ReasonValidationFailed + const ReasonValuesLengthMismatch + const ReasonVariableWidth + const ReasonWrongEndian + func ReasonVocabulary() []Reason + type ResourceViewOptions struct + ExpectedElements int + RequireMapped bool + type Status struct + Err error + Message string + Path Path + Reason Reason + func AdjacencyListView(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]uint32, Status) + func BytesView(mgr *mappedresource.Manager, offsetsHandle *mappedresource.Handle, ...) ([]uint64, []byte, Status) + func DenseFloat32VectorView(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]float32, Status) + func DirectStatus() Status + func Float32ByteView(raw []byte, opts ResourceViewOptions) ([]float32, Status) + func Float32ScalarView(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]float32, Status) + func Float32View(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]float32, Status) + func Float64ScalarView(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]float64, Status) + func Float64View(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]float64, Status) + func Int64View(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]int64, Status) + func MaterializeStatus(reason Reason, msg string) Status + func StreamingStatus(reason Reason, msg string) Status + func Uint32ByteView(raw []byte, opts ResourceViewOptions) ([]uint32, Status) + func Uint32ListView(mgr *mappedresource.Manager, offsetsHandle *mappedresource.Handle, ...) ([]uint64, []uint32, Status) + func Uint32OffsetsListView(mgr *mappedresource.Manager, offsetsHandle *mappedresource.Handle, ...) ([]uint64, []uint32, Status) + func Uint32View(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]uint32, Status) + func Uint64ByteView(raw []byte, opts ResourceViewOptions) ([]uint64, Status) + func Uint64View(mgr *mappedresource.Manager, h *mappedresource.Handle, ...) ([]uint64, Status) + func UnsupportedStatus(reason Reason, msg string) Status + func ValidateBytesDirectView(req BytesDirectViewRequest, offsets []uint64, values []byte) Status + func ValidateBytesDirectViewSections(req BytesDirectViewRequest) Status + func ValidateBytesShape(req BytesShapeRequest) Status + func ValidateDirectViewBlock(req DirectViewBlockRequest) Status + func ValidateDirectViewColumn(req DirectViewColumnRequest) Status + func ValidateUint32OffsetsListDirectView(req Uint32OffsetsListDirectViewRequest, offsets []uint64, values []uint32) Status + func ValidateUint32OffsetsListDirectViewSections(req Uint32OffsetsListDirectViewRequest) Status + func ValidateUint32OffsetsListShape(req Uint32OffsetsListShapeRequest) Status + func (s Status) Direct() bool + func (s Status) Streaming() bool + func (s Status) String() string + func (s Status) Unsupported() bool + type Uint32OffsetsListDirectViewRequest struct + AssetOffset int64 + Certification typedcolumn.ColumnPartLayoutContractColumn + HasAssetOffset bool + OffsetsBytes int + Plan Plan + Rows int + ValuesBytes int + type Uint32OffsetsListShapeRequest struct + Offsets []uint64 + Rows int + Values uint64