datasetmd

package
v4.0.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDatasetmd = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDatasetmd   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Dictionary

type Dictionary struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
}

Dictionary globally encodes the set of strings referenced by other elements of the dataset metadata.

func (*Dictionary) Descriptor

func (*Dictionary) Descriptor() ([]byte, []int)

func (*Dictionary) Equal

func (this *Dictionary) Equal(that interface{}) bool

func (*Dictionary) GetKeys

func (m *Dictionary) GetKeys() []string

func (*Dictionary) GoString

func (this *Dictionary) GoString() string

func (*Dictionary) Marshal

func (m *Dictionary) Marshal() (dAtA []byte, err error)

func (*Dictionary) MarshalTo

func (m *Dictionary) MarshalTo(dAtA []byte) (int, error)

func (*Dictionary) MarshalToSizedBuffer

func (m *Dictionary) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Dictionary) ProtoMessage

func (*Dictionary) ProtoMessage()

func (*Dictionary) Reset

func (m *Dictionary) Reset()

func (*Dictionary) Size

func (m *Dictionary) Size() (n int)

func (*Dictionary) String

func (this *Dictionary) String() string

func (*Dictionary) Unmarshal

func (m *Dictionary) Unmarshal(dAtA []byte) error

func (*Dictionary) XXX_DiscardUnknown

func (m *Dictionary) XXX_DiscardUnknown()

func (*Dictionary) XXX_Marshal

func (m *Dictionary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dictionary) XXX_Merge

func (m *Dictionary) XXX_Merge(src proto.Message)

func (*Dictionary) XXX_Size

func (m *Dictionary) XXX_Size() int

func (*Dictionary) XXX_Unmarshal

func (m *Dictionary) XXX_Unmarshal(b []byte) error

type FileStats

type FileStats struct {
	// FieldStats holds statistics for each field in the dataset. If the dataset
	// isn't a struct, there will be a single entry.
	FieldStats []*arraymd.Stats `protobuf:"bytes,1,rep,name=field_stats,json=fieldStats,proto3" json:"field_stats,omitempty"`
}

FileStats holds file-level statistics.

func (*FileStats) Descriptor

func (*FileStats) Descriptor() ([]byte, []int)

func (*FileStats) Equal

func (this *FileStats) Equal(that interface{}) bool

func (*FileStats) GetFieldStats

func (m *FileStats) GetFieldStats() []*arraymd.Stats

func (*FileStats) GoString

func (this *FileStats) GoString() string

func (*FileStats) Marshal

func (m *FileStats) Marshal() (dAtA []byte, err error)

func (*FileStats) MarshalTo

func (m *FileStats) MarshalTo(dAtA []byte) (int, error)

func (*FileStats) MarshalToSizedBuffer

func (m *FileStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FileStats) ProtoMessage

func (*FileStats) ProtoMessage()

func (*FileStats) Reset

func (m *FileStats) Reset()

func (*FileStats) Size

func (m *FileStats) Size() (n int)

func (*FileStats) String

func (this *FileStats) String() string

func (*FileStats) Unmarshal

func (m *FileStats) Unmarshal(dAtA []byte) error

func (*FileStats) XXX_DiscardUnknown

func (m *FileStats) XXX_DiscardUnknown()

func (*FileStats) XXX_Marshal

func (m *FileStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileStats) XXX_Merge

func (m *FileStats) XXX_Merge(src proto.Message)

func (*FileStats) XXX_Size

func (m *FileStats) XXX_Size() int

func (*FileStats) XXX_Unmarshal

func (m *FileStats) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	// The buffer ID holding the root typemd.Type for the overall dataset.
	// Required.
	TypeBufferId uint64 `protobuf:"varint,1,opt,name=type_buffer_id,json=typeBufferId,proto3" json:"type_buffer_id,omitempty"`
	// The buffer ID holding the root layoutmd.Layout for the overall dataset.
	// Required.
	LayoutBufferId uint64 `protobuf:"varint,2,opt,name=layout_buffer_id,json=layoutBufferId,proto3" json:"layout_buffer_id,omitempty"`
	// The buffer ID holding the encoded FileStats type for the overall dataset.
	// Optional.
	FileStatsId uint64 `protobuf:"varint,3,opt,name=file_stats_id,json=fileStatsId,proto3" json:"file_stats_id,omitempty"`
	// The buffer ID holding the encoded Dictionary type for the overall
	// dataset. Required.
	DictionaryBufferId uint64 `protobuf:"varint,4,opt,name=dictionary_buffer_id,json=dictionaryBufferId,proto3" json:"dictionary_buffer_id,omitempty"`
}

Metadata holds the metadata for a dataset.

func (*Metadata) Descriptor

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) Equal

func (this *Metadata) Equal(that interface{}) bool

func (*Metadata) GetDictionaryBufferId

func (m *Metadata) GetDictionaryBufferId() uint64

func (*Metadata) GetFileStatsId

func (m *Metadata) GetFileStatsId() uint64

func (*Metadata) GetLayoutBufferId

func (m *Metadata) GetLayoutBufferId() uint64

func (*Metadata) GetTypeBufferId

func (m *Metadata) GetTypeBufferId() uint64

func (*Metadata) GoString

func (this *Metadata) GoString() string

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (this *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址