tablev1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_frostdb_table_v1alpha1_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TableConfig

type TableConfig struct {

	// Schema of the table.
	//
	// Types that are assignable to Schema:
	//
	//	*TableConfig_DeprecatedSchema
	//	*TableConfig_SchemaV2
	Schema isTableConfig_Schema `protobuf_oneof:"schema"`
	// RowGroupSize is the size in rows of row groups that are written to Parquet files.
	RowGroupSize uint64 `protobuf:"varint,3,opt,name=row_group_size,json=rowGroupSize,proto3" json:"row_group_size,omitempty"`
	// BlockReaderLimit is the concurrency limit of the number of Go routines spawned when reading storage blocks.
	BlockReaderLimit uint64 `protobuf:"varint,4,opt,name=block_reader_limit,json=blockReaderLimit,proto3" json:"block_reader_limit,omitempty"`
	// DisableWal disables the write ahead log for this table.
	DisableWal bool `protobuf:"varint,5,opt,name=disable_wal,json=disableWal,proto3" json:"disable_wal,omitempty"`
	// contains filtered or unexported fields
}

TableConfig is the configuration information for a table.

func (*TableConfig) Descriptor deprecated

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

Deprecated: Use TableConfig.ProtoReflect.Descriptor instead.

func (*TableConfig) GetBlockReaderLimit

func (x *TableConfig) GetBlockReaderLimit() uint64

func (*TableConfig) GetDeprecatedSchema

func (x *TableConfig) GetDeprecatedSchema() *v1alpha1.Schema

func (*TableConfig) GetDisableWal

func (x *TableConfig) GetDisableWal() bool

func (*TableConfig) GetRowGroupSize

func (x *TableConfig) GetRowGroupSize() uint64

func (*TableConfig) GetSchema

func (m *TableConfig) GetSchema() isTableConfig_Schema

func (*TableConfig) GetSchemaV2

func (x *TableConfig) GetSchemaV2() *v1alpha2.Schema

func (*TableConfig) MarshalToSizedBufferVT

func (m *TableConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TableConfig) MarshalToVT

func (m *TableConfig) MarshalToVT(dAtA []byte) (int, error)

func (*TableConfig) MarshalVT

func (m *TableConfig) MarshalVT() (dAtA []byte, err error)

func (*TableConfig) ProtoMessage

func (*TableConfig) ProtoMessage()

func (*TableConfig) ProtoReflect

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

func (*TableConfig) Reset

func (x *TableConfig) Reset()

func (*TableConfig) SizeVT

func (m *TableConfig) SizeVT() (n int)

func (*TableConfig) String

func (x *TableConfig) String() string

func (*TableConfig) UnmarshalVT

func (m *TableConfig) UnmarshalVT(dAtA []byte) error

type TableConfig_DeprecatedSchema

type TableConfig_DeprecatedSchema struct {
	// Deprecated schema definition. Used for backwards compatibility.
	DeprecatedSchema *v1alpha1.Schema `protobuf:"bytes,1,opt,name=deprecated_schema,json=deprecatedSchema,proto3,oneof"`
}

func (*TableConfig_DeprecatedSchema) MarshalToSizedBufferVT

func (m *TableConfig_DeprecatedSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TableConfig_DeprecatedSchema) MarshalToVT

func (m *TableConfig_DeprecatedSchema) MarshalToVT(dAtA []byte) (int, error)

func (*TableConfig_DeprecatedSchema) SizeVT

func (m *TableConfig_DeprecatedSchema) SizeVT() (n int)

type TableConfig_SchemaV2

type TableConfig_SchemaV2 struct {
	// Schema of the table. Use this field.
	SchemaV2 *v1alpha2.Schema `protobuf:"bytes,2,opt,name=schema_v2,json=schemaV2,proto3,oneof"`
}

func (*TableConfig_SchemaV2) MarshalToSizedBufferVT

func (m *TableConfig_SchemaV2) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TableConfig_SchemaV2) MarshalToVT

func (m *TableConfig_SchemaV2) MarshalToVT(dAtA []byte) (int, error)

func (*TableConfig_SchemaV2) SizeVT

func (m *TableConfig_SchemaV2) SizeVT() (n int)

Jump to

Keyboard shortcuts

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