v1

package
v0.0.0-...-f2a8491 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_shortdb_domain_table_v1_stats_proto protoreflect.FileDescriptor
View Source
var File_shortdb_domain_table_v1_table_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Option

type Option struct {
	PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Option) Descriptor deprecated

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

Deprecated: Use Option.ProtoReflect.Descriptor instead.

func (*Option) GetPageSize

func (x *Option) GetPageSize() int64

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) ProtoReflect

func (x *Option) ProtoReflect() protoreflect.Message

func (*Option) Reset

func (x *Option) Reset()

func (*Option) String

func (x *Option) String() string

type Table

type Table struct {
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	Name      string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Fields    map[string]v1.Type     `` /* 188-byte string literal not displayed */
	Pages     map[int32]*v11.Page    `` /* 152-byte string literal not displayed */
	Index     map[string]*v12.Index  `` /* 151-byte string literal not displayed */
	Stats     *TableStats            `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"`
	Option    *Option                `protobuf:"bytes,6,opt,name=option,proto3" json:"option,omitempty"`
	// contains filtered or unexported fields
}

func New

func New(q *query.Query) *Table

func (*Table) Descriptor deprecated

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

Deprecated: Use Table.ProtoReflect.Descriptor instead.

func (*Table) GetFieldMask

func (x *Table) GetFieldMask() *fieldmaskpb.FieldMask

func (*Table) GetFields

func (x *Table) GetFields() map[string]v1.Type

func (*Table) GetIndex

func (x *Table) GetIndex() map[string]*v12.Index

func (*Table) GetName

func (x *Table) GetName() string

func (*Table) GetOption

func (x *Table) GetOption() *Option

func (*Table) GetPages

func (x *Table) GetPages() map[int32]*v11.Page

func (*Table) GetStats

func (x *Table) GetStats() *TableStats

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) ProtoReflect

func (x *Table) ProtoReflect() protoreflect.Message

func (*Table) Reset

func (x *Table) Reset()

func (*Table) String

func (x *Table) String() string

type TableStats

type TableStats struct {
	RowsCount int64 `protobuf:"varint,1,opt,name=rows_count,json=rowsCount,proto3" json:"rows_count,omitempty"`
	PageCount int32 `protobuf:"varint,2,opt,name=page_count,json=pageCount,proto3" json:"page_count,omitempty"`
	// contains filtered or unexported fields
}

func (*TableStats) Descriptor deprecated

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

Deprecated: Use TableStats.ProtoReflect.Descriptor instead.

func (*TableStats) GetPageCount

func (x *TableStats) GetPageCount() int32

func (*TableStats) GetRowsCount

func (x *TableStats) GetRowsCount() int64

func (*TableStats) ProtoMessage

func (*TableStats) ProtoMessage()

func (*TableStats) ProtoReflect

func (x *TableStats) ProtoReflect() protoreflect.Message

func (*TableStats) Reset

func (x *TableStats) Reset()

func (*TableStats) String

func (x *TableStats) String() string

Jump to

Keyboard shortcuts

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