Documentation
¶
Index ¶
- Variables
- type ColumnDesc
- func (*ColumnDesc) Descriptor() ([]byte, []int)
- func (this *ColumnDesc) Equal(that interface{}) bool
- func (m *ColumnDesc) GetInfo() *datasetmd.ColumnInfo
- func (m *ColumnDesc) GetType() ColumnType
- func (this *ColumnDesc) GoString() string
- func (m *ColumnDesc) Marshal() (dAtA []byte, err error)
- func (m *ColumnDesc) MarshalTo(dAtA []byte) (int, error)
- func (m *ColumnDesc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ColumnDesc) ProtoMessage()
- func (m *ColumnDesc) Reset()
- func (m *ColumnDesc) Size() (n int)
- func (this *ColumnDesc) String() string
- func (m *ColumnDesc) Unmarshal(dAtA []byte) error
- func (m *ColumnDesc) XXX_DiscardUnknown()
- func (m *ColumnDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ColumnDesc) XXX_Merge(src proto.Message)
- func (m *ColumnDesc) XXX_Size() int
- func (m *ColumnDesc) XXX_Unmarshal(b []byte) error
- type ColumnMetadata
- func (*ColumnMetadata) Descriptor() ([]byte, []int)
- func (this *ColumnMetadata) Equal(that interface{}) bool
- func (m *ColumnMetadata) GetPages() []*PageDesc
- func (this *ColumnMetadata) GoString() string
- func (m *ColumnMetadata) Marshal() (dAtA []byte, err error)
- func (m *ColumnMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *ColumnMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ColumnMetadata) ProtoMessage()
- func (m *ColumnMetadata) Reset()
- func (m *ColumnMetadata) Size() (n int)
- func (this *ColumnMetadata) String() string
- func (m *ColumnMetadata) Unmarshal(dAtA []byte) error
- func (m *ColumnMetadata) XXX_DiscardUnknown()
- func (m *ColumnMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ColumnMetadata) XXX_Merge(src proto.Message)
- func (m *ColumnMetadata) XXX_Size() int
- func (m *ColumnMetadata) XXX_Unmarshal(b []byte) error
- type ColumnType
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (this *Metadata) Equal(that interface{}) bool
- func (m *Metadata) GetColumns() []*ColumnDesc
- func (this *Metadata) GoString() string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (this *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type PageDesc
- func (*PageDesc) Descriptor() ([]byte, []int)
- func (this *PageDesc) Equal(that interface{}) bool
- func (m *PageDesc) GetInfo() *datasetmd.PageInfo
- func (this *PageDesc) GoString() string
- func (m *PageDesc) Marshal() (dAtA []byte, err error)
- func (m *PageDesc) MarshalTo(dAtA []byte) (int, error)
- func (m *PageDesc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PageDesc) ProtoMessage()
- func (m *PageDesc) Reset()
- func (m *PageDesc) Size() (n int)
- func (this *PageDesc) String() string
- func (m *PageDesc) Unmarshal(dAtA []byte) error
- func (m *PageDesc) XXX_DiscardUnknown()
- func (m *PageDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PageDesc) XXX_Merge(src proto.Message)
- func (m *PageDesc) XXX_Size() int
- func (m *PageDesc) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthLogsmd = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLogsmd = fmt.Errorf("proto: integer overflow") )
View Source
var ColumnType_name = map[int32]string{
0: "COLUMN_TYPE_UNSPECIFIED",
1: "COLUMN_TYPE_STREAM_ID",
2: "COLUMN_TYPE_TIMESTAMP",
3: "COLUMN_TYPE_METADATA",
4: "COLUMN_TYPE_MESSAGE",
}
View Source
var ColumnType_value = map[string]int32{
"COLUMN_TYPE_UNSPECIFIED": 0,
"COLUMN_TYPE_STREAM_ID": 1,
"COLUMN_TYPE_TIMESTAMP": 2,
"COLUMN_TYPE_METADATA": 3,
"COLUMN_TYPE_MESSAGE": 4,
}
Functions ¶
This section is empty.
Types ¶
type ColumnDesc ¶
type ColumnDesc struct { // Information about the column. Info *datasetmd.ColumnInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // Column type. Type ColumnType `protobuf:"varint,2,opt,name=type,proto3,enum=dataobj.metadata.logs.v1.ColumnType" json:"type,omitempty"` }
ColumnDesc describes an individual column within the logs table.
func (*ColumnDesc) Descriptor ¶
func (*ColumnDesc) Descriptor() ([]byte, []int)
func (*ColumnDesc) Equal ¶
func (this *ColumnDesc) Equal(that interface{}) bool
func (*ColumnDesc) GetInfo ¶
func (m *ColumnDesc) GetInfo() *datasetmd.ColumnInfo
func (*ColumnDesc) GetType ¶
func (m *ColumnDesc) GetType() ColumnType
func (*ColumnDesc) GoString ¶
func (this *ColumnDesc) GoString() string
func (*ColumnDesc) Marshal ¶
func (m *ColumnDesc) Marshal() (dAtA []byte, err error)
func (*ColumnDesc) MarshalToSizedBuffer ¶
func (m *ColumnDesc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ColumnDesc) ProtoMessage ¶
func (*ColumnDesc) ProtoMessage()
func (*ColumnDesc) Reset ¶
func (m *ColumnDesc) Reset()
func (*ColumnDesc) Size ¶
func (m *ColumnDesc) Size() (n int)
func (*ColumnDesc) String ¶
func (this *ColumnDesc) String() string
func (*ColumnDesc) Unmarshal ¶
func (m *ColumnDesc) Unmarshal(dAtA []byte) error
func (*ColumnDesc) XXX_DiscardUnknown ¶
func (m *ColumnDesc) XXX_DiscardUnknown()
func (*ColumnDesc) XXX_Marshal ¶
func (m *ColumnDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ColumnDesc) XXX_Merge ¶
func (m *ColumnDesc) XXX_Merge(src proto.Message)
func (*ColumnDesc) XXX_Size ¶
func (m *ColumnDesc) XXX_Size() int
func (*ColumnDesc) XXX_Unmarshal ¶
func (m *ColumnDesc) XXX_Unmarshal(b []byte) error
type ColumnMetadata ¶
type ColumnMetadata struct { // Pages within the column. Pages []*PageDesc `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` }
ColumnMetadata describes the metadata for a column.
func (*ColumnMetadata) Descriptor ¶
func (*ColumnMetadata) Descriptor() ([]byte, []int)
func (*ColumnMetadata) Equal ¶
func (this *ColumnMetadata) Equal(that interface{}) bool
func (*ColumnMetadata) GetPages ¶
func (m *ColumnMetadata) GetPages() []*PageDesc
func (*ColumnMetadata) GoString ¶
func (this *ColumnMetadata) GoString() string
func (*ColumnMetadata) Marshal ¶
func (m *ColumnMetadata) Marshal() (dAtA []byte, err error)
func (*ColumnMetadata) MarshalToSizedBuffer ¶
func (m *ColumnMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ColumnMetadata) ProtoMessage ¶
func (*ColumnMetadata) ProtoMessage()
func (*ColumnMetadata) Reset ¶
func (m *ColumnMetadata) Reset()
func (*ColumnMetadata) Size ¶
func (m *ColumnMetadata) Size() (n int)
func (*ColumnMetadata) String ¶
func (this *ColumnMetadata) String() string
func (*ColumnMetadata) Unmarshal ¶
func (m *ColumnMetadata) Unmarshal(dAtA []byte) error
func (*ColumnMetadata) XXX_DiscardUnknown ¶
func (m *ColumnMetadata) XXX_DiscardUnknown()
func (*ColumnMetadata) XXX_Marshal ¶
func (m *ColumnMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ColumnMetadata) XXX_Merge ¶
func (m *ColumnMetadata) XXX_Merge(src proto.Message)
func (*ColumnMetadata) XXX_Size ¶
func (m *ColumnMetadata) XXX_Size() int
func (*ColumnMetadata) XXX_Unmarshal ¶
func (m *ColumnMetadata) XXX_Unmarshal(b []byte) error
type ColumnType ¶
type ColumnType int32
ColumnType represents the valid types that a logs column can have.
const ( // Invalid column type. COLUMN_TYPE_UNSPECIFIED ColumnType = 0 // COLUMN_TYPE_STREAM_ID is a column containing the stream the log record // belongs to. COLUMN_TYPE_STREAM_ID ColumnType = 1 // COLUMN_TYPE_TIMESTAMP is a column containing the timestamp of the log // record. COLUMN_TYPE_TIMESTAMP ColumnType = 2 // COLUMN_TYPE_METADATA is a column containing structured metadata values for // a specific key. COLUMN_TYPE_METADATA ColumnType = 3 // COLUMN_TYPE_MESSAGE is a column containing the message of the log record. COLUMN_TYPE_MESSAGE ColumnType = 4 )
func (ColumnType) EnumDescriptor ¶
func (ColumnType) EnumDescriptor() ([]byte, []int)
func (ColumnType) String ¶
func (x ColumnType) String() string
type Metadata ¶
type Metadata struct { // Columns within the logs. Columns []*ColumnDesc `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` }
Metadata describes the metadata for the logs section.
func (*Metadata) Descriptor ¶
func (*Metadata) GetColumns ¶
func (m *Metadata) GetColumns() []*ColumnDesc
func (*Metadata) MarshalToSizedBuffer ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
type PageDesc ¶
type PageDesc struct { // Information about the page. Info *datasetmd.PageInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` }
PageDesc describes an individual page within a column.
func (*PageDesc) Descriptor ¶
func (*PageDesc) MarshalToSizedBuffer ¶
func (*PageDesc) ProtoMessage ¶
func (*PageDesc) ProtoMessage()
func (*PageDesc) XXX_DiscardUnknown ¶
func (m *PageDesc) XXX_DiscardUnknown()
func (*PageDesc) XXX_Marshal ¶
func (*PageDesc) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.