v1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ChunkStorage_name = map[int32]string{
		0: "CHUNK_STORAGE_UNSPECIFIED",
		1: "CHUNK_STORAGE_OPEN_MUTABLE_BUFFER",
		2: "CHUNK_STORAGE_CLOSED_MUTABLE_BUFFER",
		3: "CHUNK_STORAGE_READ_BUFFER",
		4: "CHUNK_STORAGE_READ_BUFFER_AND_OBJECT_STORE",
		5: "CHUNK_STORAGE_OBJECT_STORE_ONLY",
	}
	ChunkStorage_value = map[string]int32{
		"CHUNK_STORAGE_UNSPECIFIED":                  0,
		"CHUNK_STORAGE_OPEN_MUTABLE_BUFFER":          1,
		"CHUNK_STORAGE_CLOSED_MUTABLE_BUFFER":        2,
		"CHUNK_STORAGE_READ_BUFFER":                  3,
		"CHUNK_STORAGE_READ_BUFFER_AND_OBJECT_STORE": 4,
		"CHUNK_STORAGE_OBJECT_STORE_ONLY":            5,
	}
)

Enum value maps for ChunkStorage.

View Source
var (
	ChunkLifecycleAction_name = map[int32]string{
		0: "CHUNK_LIFECYCLE_ACTION_UNSPECIFIED",
		1: "CHUNK_LIFECYCLE_ACTION_MOVING",
		2: "CHUNK_LIFECYCLE_ACTION_PERSISTING",
		3: "CHUNK_LIFECYCLE_ACTION_COMPACTING",
		4: "CHUNK_LIFECYCLE_ACTION_DROPPING",
	}
	ChunkLifecycleAction_value = map[string]int32{
		"CHUNK_LIFECYCLE_ACTION_UNSPECIFIED": 0,
		"CHUNK_LIFECYCLE_ACTION_MOVING":      1,
		"CHUNK_LIFECYCLE_ACTION_PERSISTING":  2,
		"CHUNK_LIFECYCLE_ACTION_COMPACTING":  3,
		"CHUNK_LIFECYCLE_ACTION_DROPPING":    4,
	}
)

Enum value maps for ChunkLifecycleAction.

View Source
var (
	WriteBufferConnection_Direction_name = map[int32]string{
		0: "DIRECTION_UNSPECIFIED",
		1: "DIRECTION_WRITE",
		2: "DIRECTION_READ",
	}
	WriteBufferConnection_Direction_value = map[string]int32{
		"DIRECTION_UNSPECIFIED": 0,
		"DIRECTION_WRITE":       1,
		"DIRECTION_READ":        2,
	}
)

Enum value maps for WriteBufferConnection_Direction.

View Source
var (
	DeleteOp_name = map[int32]string{
		0: "DELETE_OP_UNSPECIFIED",
		1: "DELETE_OP_EQ",
		2: "DELETE_OP_NOT_EQ",
	}
	DeleteOp_value = map[string]int32{
		"DELETE_OP_UNSPECIFIED": 0,
		"DELETE_OP_EQ":          1,
		"DELETE_OP_NOT_EQ":      2,
	}
)

Enum value maps for DeleteOp.

View Source
var (
	DatabaseStatus_DatabaseState_name = map[int32]string{
		0:  "DATABASE_STATE_UNSPECIFIED",
		1:  "DATABASE_STATE_KNOWN",
		8:  "DATABASE_STATE_DATABASE_OBJECT_STORE_FOUND",
		10: "DATABASE_STATE_NO_ACTIVE_DATABASE",
		2:  "DATABASE_STATE_RULES_LOADED",
		3:  "DATABASE_STATE_CATALOG_LOADED",
		4:  "DATABASE_STATE_INITIALIZED",
		5:  "DATABASE_STATE_RULES_LOAD_ERROR",
		6:  "DATABASE_STATE_CATALOG_LOAD_ERROR",
		7:  "DATABASE_STATE_REPLAY_ERROR",
		9:  "DATABASE_STATE_DATABASE_OBJECT_STORE_LOOKUP_ERROR",
	}
	DatabaseStatus_DatabaseState_value = map[string]int32{
		"DATABASE_STATE_UNSPECIFIED":                        0,
		"DATABASE_STATE_KNOWN":                              1,
		"DATABASE_STATE_DATABASE_OBJECT_STORE_FOUND":        8,
		"DATABASE_STATE_NO_ACTIVE_DATABASE":                 10,
		"DATABASE_STATE_RULES_LOADED":                       2,
		"DATABASE_STATE_CATALOG_LOADED":                     3,
		"DATABASE_STATE_INITIALIZED":                        4,
		"DATABASE_STATE_RULES_LOAD_ERROR":                   5,
		"DATABASE_STATE_CATALOG_LOAD_ERROR":                 6,
		"DATABASE_STATE_REPLAY_ERROR":                       7,
		"DATABASE_STATE_DATABASE_OBJECT_STORE_LOOKUP_ERROR": 9,
	}
)

Enum value maps for DatabaseStatus_DatabaseState.

View Source
var File_influxdata_iox_management_v1_chunk_proto protoreflect.FileDescriptor
View Source
var File_influxdata_iox_management_v1_database_rules_proto protoreflect.FileDescriptor
View Source
var File_influxdata_iox_management_v1_jobs_proto protoreflect.FileDescriptor
View Source
var File_influxdata_iox_management_v1_parse_delete_proto protoreflect.FileDescriptor
View Source
var File_influxdata_iox_management_v1_partition_proto protoreflect.FileDescriptor
View Source
var File_influxdata_iox_management_v1_service_proto protoreflect.FileDescriptor
View Source
var File_influxdata_iox_management_v1_shard_proto protoreflect.FileDescriptor
View Source
var ManagementService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "influxdata.iox.management.v1.ManagementService",
	HandlerType: (*ManagementServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetServerId",
			Handler:    _ManagementService_GetServerId_Handler,
		},
		{
			MethodName: "UpdateServerId",
			Handler:    _ManagementService_UpdateServerId_Handler,
		},
		{
			MethodName: "SetServingReadiness",
			Handler:    _ManagementService_SetServingReadiness_Handler,
		},
		{
			MethodName: "ListDatabases",
			Handler:    _ManagementService_ListDatabases_Handler,
		},
		{
			MethodName: "GetDatabase",
			Handler:    _ManagementService_GetDatabase_Handler,
		},
		{
			MethodName: "CreateDatabase",
			Handler:    _ManagementService_CreateDatabase_Handler,
		},
		{
			MethodName: "UpdateDatabase",
			Handler:    _ManagementService_UpdateDatabase_Handler,
		},
		{
			MethodName: "DeleteDatabase",
			Handler:    _ManagementService_DeleteDatabase_Handler,
		},
		{
			MethodName: "RestoreDatabase",
			Handler:    _ManagementService_RestoreDatabase_Handler,
		},
		{
			MethodName: "ListDeletedDatabases",
			Handler:    _ManagementService_ListDeletedDatabases_Handler,
		},
		{
			MethodName: "ListDetailedDatabases",
			Handler:    _ManagementService_ListDetailedDatabases_Handler,
		},
		{
			MethodName: "ListChunks",
			Handler:    _ManagementService_ListChunks_Handler,
		},
		{
			MethodName: "ListRemotes",
			Handler:    _ManagementService_ListRemotes_Handler,
		},
		{
			MethodName: "UpdateRemote",
			Handler:    _ManagementService_UpdateRemote_Handler,
		},
		{
			MethodName: "DeleteRemote",
			Handler:    _ManagementService_DeleteRemote_Handler,
		},
		{
			MethodName: "CreateDummyJob",
			Handler:    _ManagementService_CreateDummyJob_Handler,
		},
		{
			MethodName: "ListPartitions",
			Handler:    _ManagementService_ListPartitions_Handler,
		},
		{
			MethodName: "GetPartition",
			Handler:    _ManagementService_GetPartition_Handler,
		},
		{
			MethodName: "ListPartitionChunks",
			Handler:    _ManagementService_ListPartitionChunks_Handler,
		},
		{
			MethodName: "NewPartitionChunk",
			Handler:    _ManagementService_NewPartitionChunk_Handler,
		},
		{
			MethodName: "ClosePartitionChunk",
			Handler:    _ManagementService_ClosePartitionChunk_Handler,
		},
		{
			MethodName: "UnloadPartitionChunk",
			Handler:    _ManagementService_UnloadPartitionChunk_Handler,
		},
		{
			MethodName: "GetServerStatus",
			Handler:    _ManagementService_GetServerStatus_Handler,
		},
		{
			MethodName: "WipePreservedCatalog",
			Handler:    _ManagementService_WipePreservedCatalog_Handler,
		},
		{
			MethodName: "SkipReplay",
			Handler:    _ManagementService_SkipReplay_Handler,
		},
		{
			MethodName: "PersistPartition",
			Handler:    _ManagementService_PersistPartition_Handler,
		},
		{
			MethodName: "DropPartition",
			Handler:    _ManagementService_DropPartition_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ManagementService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "influxdata/iox/management/v1/service.proto",
}

ManagementService_ServiceDesc is the grpc.ServiceDesc for ManagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterManagementServiceServer

func RegisterManagementServiceServer(s grpc.ServiceRegistrar, srv ManagementServiceServer)

Types

type Chunk

type Chunk struct {

	// The partition key of this chunk
	PartitionKey string `protobuf:"bytes,1,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// The table of this chunk
	TableName string `protobuf:"bytes,8,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// The id of this chunk
	Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// Which storage system the chunk is located in
	Storage ChunkStorage `protobuf:"varint,3,opt,name=storage,proto3,enum=influxdata.iox.management.v1.ChunkStorage" json:"storage,omitempty"`
	// Is there any outstanding lifecycle action for this chunk?
	LifecycleAction ChunkLifecycleAction `` /* 163-byte string literal not displayed */
	// The number of bytes used to store this chunk in memory
	MemoryBytes uint64 `protobuf:"varint,4,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	// The number of bytes used to store this chunk in object storage
	ObjectStoreBytes uint64 `protobuf:"varint,11,opt,name=object_store_bytes,json=objectStoreBytes,proto3" json:"object_store_bytes,omitempty"`
	// The number of rows in this chunk
	RowCount uint64 `protobuf:"varint,9,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
	// The time at which the chunk data was accessed, by a query or a write
	TimeOfLastAccess *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=time_of_last_access,json=timeOfLastAccess,proto3" json:"time_of_last_access,omitempty"`
	// The earliest time at which data contained within this chunk was written
	// into IOx. Note due to the compaction, etc... this may not be the chunk
	// that data was originally written into
	TimeOfFirstWrite *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=time_of_first_write,json=timeOfFirstWrite,proto3" json:"time_of_first_write,omitempty"`
	// The latest time at which data contained within this chunk was written
	// into IOx. Note due to the compaction, etc... this may not be the chunk
	// that data was originally written into
	TimeOfLastWrite *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time_of_last_write,json=timeOfLastWrite,proto3" json:"time_of_last_write,omitempty"`
	// Time at which this chunk was marked as closed. Note this is not
	// the same as the timestamps on the data itself
	TimeClosed *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=time_closed,json=timeClosed,proto3" json:"time_closed,omitempty"`
	// Order of this chunk relative to other overlapping chunks.
	Order uint32 `protobuf:"varint,13,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

`Chunk` represents part of a partition of data in a database. A chunk can contain one or more tables.

func (*Chunk) Descriptor deprecated

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

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetId

func (x *Chunk) GetId() uint32

func (*Chunk) GetLifecycleAction

func (x *Chunk) GetLifecycleAction() ChunkLifecycleAction

func (*Chunk) GetMemoryBytes

func (x *Chunk) GetMemoryBytes() uint64

func (*Chunk) GetObjectStoreBytes

func (x *Chunk) GetObjectStoreBytes() uint64

func (*Chunk) GetOrder

func (x *Chunk) GetOrder() uint32

func (*Chunk) GetPartitionKey

func (x *Chunk) GetPartitionKey() string

func (*Chunk) GetRowCount

func (x *Chunk) GetRowCount() uint64

func (*Chunk) GetStorage

func (x *Chunk) GetStorage() ChunkStorage

func (*Chunk) GetTableName

func (x *Chunk) GetTableName() string

func (*Chunk) GetTimeClosed

func (x *Chunk) GetTimeClosed() *timestamppb.Timestamp

func (*Chunk) GetTimeOfFirstWrite

func (x *Chunk) GetTimeOfFirstWrite() *timestamppb.Timestamp

func (*Chunk) GetTimeOfLastAccess

func (x *Chunk) GetTimeOfLastAccess() *timestamppb.Timestamp

func (*Chunk) GetTimeOfLastWrite

func (x *Chunk) GetTimeOfLastWrite() *timestamppb.Timestamp

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

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

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

type ChunkLifecycleAction

type ChunkLifecycleAction int32

Is there any lifecycle action currently outstanding for this chunk?

const (
	// No lifecycle
	ChunkLifecycleAction_CHUNK_LIFECYCLE_ACTION_UNSPECIFIED ChunkLifecycleAction = 0
	// Chunk is in the process of being moved to the read buffer
	ChunkLifecycleAction_CHUNK_LIFECYCLE_ACTION_MOVING ChunkLifecycleAction = 1
	/// Chunk is in the process of being written to object storage
	ChunkLifecycleAction_CHUNK_LIFECYCLE_ACTION_PERSISTING ChunkLifecycleAction = 2
	/// Chunk is in the process of being compacted
	ChunkLifecycleAction_CHUNK_LIFECYCLE_ACTION_COMPACTING ChunkLifecycleAction = 3
	/// Chunk is about to be dropped from memory and (if persisted) from object store.
	ChunkLifecycleAction_CHUNK_LIFECYCLE_ACTION_DROPPING ChunkLifecycleAction = 4
)

func (ChunkLifecycleAction) Descriptor

func (ChunkLifecycleAction) Enum

func (ChunkLifecycleAction) EnumDescriptor deprecated

func (ChunkLifecycleAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChunkLifecycleAction.Descriptor instead.

func (ChunkLifecycleAction) Number

func (ChunkLifecycleAction) String

func (x ChunkLifecycleAction) String() string

func (ChunkLifecycleAction) Type

type ChunkStorage

type ChunkStorage int32

Which storage system is a chunk located in?

const (
	// Not currently returned
	ChunkStorage_CHUNK_STORAGE_UNSPECIFIED ChunkStorage = 0
	// The chunk is still open for new writes, in the Mutable Buffer
	ChunkStorage_CHUNK_STORAGE_OPEN_MUTABLE_BUFFER ChunkStorage = 1
	// The chunk is no longer open for writes, in the Mutable Buffer
	ChunkStorage_CHUNK_STORAGE_CLOSED_MUTABLE_BUFFER ChunkStorage = 2
	// The chunk is in the Read Buffer (where it can not be mutated)
	ChunkStorage_CHUNK_STORAGE_READ_BUFFER ChunkStorage = 3
	// The chunk is in the Read Buffer and Object Store
	ChunkStorage_CHUNK_STORAGE_READ_BUFFER_AND_OBJECT_STORE ChunkStorage = 4
	// The chunk is stored in Object Storage (where it can not be mutated)
	ChunkStorage_CHUNK_STORAGE_OBJECT_STORE_ONLY ChunkStorage = 5
)

func (ChunkStorage) Descriptor

func (ChunkStorage) Enum

func (x ChunkStorage) Enum() *ChunkStorage

func (ChunkStorage) EnumDescriptor deprecated

func (ChunkStorage) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChunkStorage.Descriptor instead.

func (ChunkStorage) Number

func (ChunkStorage) String

func (x ChunkStorage) String() string

func (ChunkStorage) Type

type CloseChunk

type CloseChunk struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// chunk_id
	ChunkId uint32 `protobuf:"varint,3,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
	// contains filtered or unexported fields
}

Move a chunk from mutable buffer to read buffer

func (*CloseChunk) Descriptor deprecated

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

Deprecated: Use CloseChunk.ProtoReflect.Descriptor instead.

func (*CloseChunk) GetChunkId

func (x *CloseChunk) GetChunkId() uint32

func (*CloseChunk) GetDbName

func (x *CloseChunk) GetDbName() string

func (*CloseChunk) GetPartitionKey

func (x *CloseChunk) GetPartitionKey() string

func (*CloseChunk) GetTableName

func (x *CloseChunk) GetTableName() string

func (*CloseChunk) ProtoMessage

func (*CloseChunk) ProtoMessage()

func (*CloseChunk) ProtoReflect

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

func (*CloseChunk) Reset

func (x *CloseChunk) Reset()

func (*CloseChunk) String

func (x *CloseChunk) String() string

type ClosePartitionChunkRequest

type ClosePartitionChunkRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// the partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// the table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// the chunk id
	ChunkId uint32 `protobuf:"varint,3,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
	// contains filtered or unexported fields
}

Request that a chunk be closed and moved to the read buffer

func (*ClosePartitionChunkRequest) Descriptor deprecated

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

Deprecated: Use ClosePartitionChunkRequest.ProtoReflect.Descriptor instead.

func (*ClosePartitionChunkRequest) GetChunkId

func (x *ClosePartitionChunkRequest) GetChunkId() uint32

func (*ClosePartitionChunkRequest) GetDbName

func (x *ClosePartitionChunkRequest) GetDbName() string

func (*ClosePartitionChunkRequest) GetPartitionKey

func (x *ClosePartitionChunkRequest) GetPartitionKey() string

func (*ClosePartitionChunkRequest) GetTableName

func (x *ClosePartitionChunkRequest) GetTableName() string

func (*ClosePartitionChunkRequest) ProtoMessage

func (*ClosePartitionChunkRequest) ProtoMessage()

func (*ClosePartitionChunkRequest) ProtoReflect

func (*ClosePartitionChunkRequest) Reset

func (x *ClosePartitionChunkRequest) Reset()

func (*ClosePartitionChunkRequest) String

func (x *ClosePartitionChunkRequest) String() string

type ClosePartitionChunkResponse

type ClosePartitionChunkResponse struct {

	// The operation that tracks the work for migrating the chunk
	Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*ClosePartitionChunkResponse) Descriptor deprecated

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

Deprecated: Use ClosePartitionChunkResponse.ProtoReflect.Descriptor instead.

func (*ClosePartitionChunkResponse) GetOperation

func (*ClosePartitionChunkResponse) ProtoMessage

func (*ClosePartitionChunkResponse) ProtoMessage()

func (*ClosePartitionChunkResponse) ProtoReflect

func (*ClosePartitionChunkResponse) Reset

func (x *ClosePartitionChunkResponse) Reset()

func (*ClosePartitionChunkResponse) String

func (x *ClosePartitionChunkResponse) String() string

type CompactChunks

type CompactChunks struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// chunk_id
	Chunks []uint32 `protobuf:"varint,3,rep,packed,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

Compact chunks into a single chunk

func (*CompactChunks) Descriptor deprecated

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

Deprecated: Use CompactChunks.ProtoReflect.Descriptor instead.

func (*CompactChunks) GetChunks

func (x *CompactChunks) GetChunks() []uint32

func (*CompactChunks) GetDbName

func (x *CompactChunks) GetDbName() string

func (*CompactChunks) GetPartitionKey

func (x *CompactChunks) GetPartitionKey() string

func (*CompactChunks) GetTableName

func (x *CompactChunks) GetTableName() string

func (*CompactChunks) ProtoMessage

func (*CompactChunks) ProtoMessage()

func (*CompactChunks) ProtoReflect

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

func (*CompactChunks) Reset

func (x *CompactChunks) Reset()

func (*CompactChunks) String

func (x *CompactChunks) String() string

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	Rules *DatabaseRules `protobuf:"bytes,1,opt,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDatabaseRequest) Descriptor deprecated

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

Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*CreateDatabaseRequest) GetRules

func (x *CreateDatabaseRequest) GetRules() *DatabaseRules

func (*CreateDatabaseRequest) ProtoMessage

func (*CreateDatabaseRequest) ProtoMessage()

func (*CreateDatabaseRequest) ProtoReflect

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

func (*CreateDatabaseRequest) Reset

func (x *CreateDatabaseRequest) Reset()

func (*CreateDatabaseRequest) String

func (x *CreateDatabaseRequest) String() string

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	// contains filtered or unexported fields
}

func (*CreateDatabaseResponse) Descriptor deprecated

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

Deprecated: Use CreateDatabaseResponse.ProtoReflect.Descriptor instead.

func (*CreateDatabaseResponse) ProtoMessage

func (*CreateDatabaseResponse) ProtoMessage()

func (*CreateDatabaseResponse) ProtoReflect

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

func (*CreateDatabaseResponse) Reset

func (x *CreateDatabaseResponse) Reset()

func (*CreateDatabaseResponse) String

func (x *CreateDatabaseResponse) String() string

type CreateDummyJobRequest

type CreateDummyJobRequest struct {
	Nanos []uint64 `protobuf:"varint,1,rep,packed,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDummyJobRequest) Descriptor deprecated

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

Deprecated: Use CreateDummyJobRequest.ProtoReflect.Descriptor instead.

func (*CreateDummyJobRequest) GetNanos

func (x *CreateDummyJobRequest) GetNanos() []uint64

func (*CreateDummyJobRequest) ProtoMessage

func (*CreateDummyJobRequest) ProtoMessage()

func (*CreateDummyJobRequest) ProtoReflect

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

func (*CreateDummyJobRequest) Reset

func (x *CreateDummyJobRequest) Reset()

func (*CreateDummyJobRequest) String

func (x *CreateDummyJobRequest) String() string

type CreateDummyJobResponse

type CreateDummyJobResponse struct {
	Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDummyJobResponse) Descriptor deprecated

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

Deprecated: Use CreateDummyJobResponse.ProtoReflect.Descriptor instead.

func (*CreateDummyJobResponse) GetOperation

func (x *CreateDummyJobResponse) GetOperation() *longrunning.Operation

func (*CreateDummyJobResponse) ProtoMessage

func (*CreateDummyJobResponse) ProtoMessage()

func (*CreateDummyJobResponse) ProtoReflect

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

func (*CreateDummyJobResponse) Reset

func (x *CreateDummyJobResponse) Reset()

func (*CreateDummyJobResponse) String

func (x *CreateDummyJobResponse) String() string

type DatabaseRules

type DatabaseRules struct {

	// The unencoded name of the database
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Template that generates a partition key for each row inserted into the database
	PartitionTemplate *PartitionTemplate `protobuf:"bytes,2,opt,name=partition_template,json=partitionTemplate,proto3" json:"partition_template,omitempty"`
	// Configures how data flows through the system
	LifecycleRules *LifecycleRules `protobuf:"bytes,3,opt,name=lifecycle_rules,json=lifecycleRules,proto3" json:"lifecycle_rules,omitempty"`
	// Types that are assignable to RoutingRules:
	//	*DatabaseRules_ShardConfig
	//	*DatabaseRules_RoutingConfig
	RoutingRules isDatabaseRules_RoutingRules `protobuf_oneof:"routing_rules"`
	// Duration for which the cleanup loop should sleep on average.
	// Defaults to 500 seconds.
	WorkerCleanupAvgSleep *durationpb.Duration `` /* 129-byte string literal not displayed */
	// Optionally, the connection for the write buffer for writing or reading/restoring data.
	WriteBufferConnection *WriteBufferConnection `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DatabaseRules) Descriptor deprecated

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

Deprecated: Use DatabaseRules.ProtoReflect.Descriptor instead.

func (*DatabaseRules) GetLifecycleRules

func (x *DatabaseRules) GetLifecycleRules() *LifecycleRules

func (*DatabaseRules) GetName

func (x *DatabaseRules) GetName() string

func (*DatabaseRules) GetPartitionTemplate

func (x *DatabaseRules) GetPartitionTemplate() *PartitionTemplate

func (*DatabaseRules) GetRoutingConfig

func (x *DatabaseRules) GetRoutingConfig() *RoutingConfig

func (*DatabaseRules) GetRoutingRules

func (m *DatabaseRules) GetRoutingRules() isDatabaseRules_RoutingRules

func (*DatabaseRules) GetShardConfig

func (x *DatabaseRules) GetShardConfig() *ShardConfig

func (*DatabaseRules) GetWorkerCleanupAvgSleep

func (x *DatabaseRules) GetWorkerCleanupAvgSleep() *durationpb.Duration

func (*DatabaseRules) GetWriteBufferConnection

func (x *DatabaseRules) GetWriteBufferConnection() *WriteBufferConnection

func (*DatabaseRules) ProtoMessage

func (*DatabaseRules) ProtoMessage()

func (*DatabaseRules) ProtoReflect

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

func (*DatabaseRules) Reset

func (x *DatabaseRules) Reset()

func (*DatabaseRules) String

func (x *DatabaseRules) String() string

type DatabaseRules_RoutingConfig

type DatabaseRules_RoutingConfig struct {
	// Routing config
	RoutingConfig *RoutingConfig `protobuf:"bytes,9,opt,name=routing_config,json=routingConfig,proto3,oneof"`
}

type DatabaseRules_ShardConfig

type DatabaseRules_ShardConfig struct {
	// Shard config
	ShardConfig *ShardConfig `protobuf:"bytes,8,opt,name=shard_config,json=shardConfig,proto3,oneof"`
}

type DatabaseStatus

type DatabaseStatus struct {

	// The name of the database.
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// If present, the database reports an error condition.
	Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// Current initialization state of the database.
	State DatabaseStatus_DatabaseState `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DatabaseStatus) Descriptor deprecated

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

Deprecated: Use DatabaseStatus.ProtoReflect.Descriptor instead.

func (*DatabaseStatus) GetDbName

func (x *DatabaseStatus) GetDbName() string

func (*DatabaseStatus) GetError

func (x *DatabaseStatus) GetError() *Error

func (*DatabaseStatus) GetState

func (*DatabaseStatus) ProtoMessage

func (*DatabaseStatus) ProtoMessage()

func (*DatabaseStatus) ProtoReflect

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

func (*DatabaseStatus) Reset

func (x *DatabaseStatus) Reset()

func (*DatabaseStatus) String

func (x *DatabaseStatus) String() string

type DatabaseStatus_DatabaseState

type DatabaseStatus_DatabaseState int32

Current initialization state of the database.

const (
	DatabaseStatus_DATABASE_STATE_UNSPECIFIED DatabaseStatus_DatabaseState = 0
	// Database is known but nothing is loaded.
	DatabaseStatus_DATABASE_STATE_KNOWN DatabaseStatus_DatabaseState = 1
	// Database object storage has been found
	DatabaseStatus_DATABASE_STATE_DATABASE_OBJECT_STORE_FOUND DatabaseStatus_DatabaseState = 8
	// No active database
	DatabaseStatus_DATABASE_STATE_NO_ACTIVE_DATABASE DatabaseStatus_DatabaseState = 10
	// Rules are loaded
	DatabaseStatus_DATABASE_STATE_RULES_LOADED DatabaseStatus_DatabaseState = 2
	// Catalog is loaded but data from sequencers / write buffers is not yet replayed.
	DatabaseStatus_DATABASE_STATE_CATALOG_LOADED DatabaseStatus_DatabaseState = 3
	// Fully initialized database.
	DatabaseStatus_DATABASE_STATE_INITIALIZED DatabaseStatus_DatabaseState = 4
	// Error loading rules
	DatabaseStatus_DATABASE_STATE_RULES_LOAD_ERROR DatabaseStatus_DatabaseState = 5
	// Error during catalog load
	DatabaseStatus_DATABASE_STATE_CATALOG_LOAD_ERROR DatabaseStatus_DatabaseState = 6
	// Error during replay
	DatabaseStatus_DATABASE_STATE_REPLAY_ERROR DatabaseStatus_DatabaseState = 7
	// Error encountered identifying active generation
	DatabaseStatus_DATABASE_STATE_DATABASE_OBJECT_STORE_LOOKUP_ERROR DatabaseStatus_DatabaseState = 9
)

func (DatabaseStatus_DatabaseState) Descriptor

func (DatabaseStatus_DatabaseState) Enum

func (DatabaseStatus_DatabaseState) EnumDescriptor deprecated

func (DatabaseStatus_DatabaseState) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatabaseStatus_DatabaseState.Descriptor instead.

func (DatabaseStatus_DatabaseState) Number

func (DatabaseStatus_DatabaseState) String

func (DatabaseStatus_DatabaseState) Type

type Delete

type Delete struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// table name
	TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// delete predicate
	// Ideally, this can be any complicated expressions that DataFusion supports
	// but in our first version, we only support what our read buffer does which is
	// conjunctive expressions with columns being compared to literals using = or != operators.
	// Also, to avoid user from making mistake to delete the whole table, we will force them to
	// include delete time range start and stop in different fields defined below
	DeletePredicate string `protobuf:"bytes,3,opt,name=delete_predicate,json=deletePredicate,proto3" json:"delete_predicate,omitempty"`
	// start time range of deleting data
	StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// stop time range of deleting data
	StopTime string `protobuf:"bytes,5,opt,name=stop_time,json=stopTime,proto3" json:"stop_time,omitempty"`
	// contains filtered or unexported fields
}

Soft delete data from a table on a specified predicate Soft delete means data is deleted from customer's point of view but they still physically exist in IOx storage (MUB, RUB, OS). During Query time, we will filter out the deleted rows. We will implement Hard Delete to purge deleted data.

func (*Delete) Descriptor deprecated

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

Deprecated: Use Delete.ProtoReflect.Descriptor instead.

func (*Delete) GetDbName

func (x *Delete) GetDbName() string

func (*Delete) GetDeletePredicate

func (x *Delete) GetDeletePredicate() string

func (*Delete) GetStartTime

func (x *Delete) GetStartTime() string

func (*Delete) GetStopTime

func (x *Delete) GetStopTime() string

func (*Delete) GetTableName

func (x *Delete) GetTableName() string

func (*Delete) ProtoMessage

func (*Delete) ProtoMessage()

func (*Delete) ProtoReflect

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

func (*Delete) Reset

func (x *Delete) Reset()

func (*Delete) String

func (x *Delete) String() string

type DeleteBinaryExpr

type DeleteBinaryExpr struct {

	// Left hand side which is a column name
	Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"`
	// Operator
	Op DeleteOp `protobuf:"varint,2,opt,name=op,proto3,enum=influxdata.iox.management.v1.DeleteOp" json:"op,omitempty"`
	// Right hand side which is literal/constant
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

a delete binary expression is either 'column_name = constant' or 'column_name != constant'

func (*DeleteBinaryExpr) Descriptor deprecated

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

Deprecated: Use DeleteBinaryExpr.ProtoReflect.Descriptor instead.

func (*DeleteBinaryExpr) GetColumn

func (x *DeleteBinaryExpr) GetColumn() string

func (*DeleteBinaryExpr) GetOp

func (x *DeleteBinaryExpr) GetOp() DeleteOp

func (*DeleteBinaryExpr) GetValue

func (x *DeleteBinaryExpr) GetValue() string

func (*DeleteBinaryExpr) ProtoMessage

func (*DeleteBinaryExpr) ProtoMessage()

func (*DeleteBinaryExpr) ProtoReflect

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

func (*DeleteBinaryExpr) Reset

func (x *DeleteBinaryExpr) Reset()

func (*DeleteBinaryExpr) String

func (x *DeleteBinaryExpr) String() string

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDatabaseRequest) Descriptor deprecated

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

Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.

func (*DeleteDatabaseRequest) GetDbName

func (x *DeleteDatabaseRequest) GetDbName() string

func (*DeleteDatabaseRequest) ProtoMessage

func (*DeleteDatabaseRequest) ProtoMessage()

func (*DeleteDatabaseRequest) ProtoReflect

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

func (*DeleteDatabaseRequest) Reset

func (x *DeleteDatabaseRequest) Reset()

func (*DeleteDatabaseRequest) String

func (x *DeleteDatabaseRequest) String() string

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteDatabaseResponse) Descriptor deprecated

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

Deprecated: Use DeleteDatabaseResponse.ProtoReflect.Descriptor instead.

func (*DeleteDatabaseResponse) ProtoMessage

func (*DeleteDatabaseResponse) ProtoMessage()

func (*DeleteDatabaseResponse) ProtoReflect

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

func (*DeleteDatabaseResponse) Reset

func (x *DeleteDatabaseResponse) Reset()

func (*DeleteDatabaseResponse) String

func (x *DeleteDatabaseResponse) String() string

type DeleteOp

type DeleteOp int32

Operators supported in delete binary expressions

const (
	// not specified
	DeleteOp_DELETE_OP_UNSPECIFIED DeleteOp = 0
	// "="
	DeleteOp_DELETE_OP_EQ DeleteOp = 1
	// "!="
	DeleteOp_DELETE_OP_NOT_EQ DeleteOp = 2
)

func (DeleteOp) Descriptor

func (DeleteOp) Descriptor() protoreflect.EnumDescriptor

func (DeleteOp) Enum

func (x DeleteOp) Enum() *DeleteOp

func (DeleteOp) EnumDescriptor deprecated

func (DeleteOp) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeleteOp.Descriptor instead.

func (DeleteOp) Number

func (x DeleteOp) Number() protoreflect.EnumNumber

func (DeleteOp) String

func (x DeleteOp) String() string

func (DeleteOp) Type

type DeleteRemoteRequest

type DeleteRemoteRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRemoteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRemoteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRemoteRequest) GetId

func (x *DeleteRemoteRequest) GetId() uint32

func (*DeleteRemoteRequest) ProtoMessage

func (*DeleteRemoteRequest) ProtoMessage()

func (*DeleteRemoteRequest) ProtoReflect

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

func (*DeleteRemoteRequest) Reset

func (x *DeleteRemoteRequest) Reset()

func (*DeleteRemoteRequest) String

func (x *DeleteRemoteRequest) String() string

type DeleteRemoteResponse

type DeleteRemoteResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteRemoteResponse) Descriptor deprecated

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

Deprecated: Use DeleteRemoteResponse.ProtoReflect.Descriptor instead.

func (*DeleteRemoteResponse) ProtoMessage

func (*DeleteRemoteResponse) ProtoMessage()

func (*DeleteRemoteResponse) ProtoReflect

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

func (*DeleteRemoteResponse) Reset

func (x *DeleteRemoteResponse) Reset()

func (*DeleteRemoteResponse) String

func (x *DeleteRemoteResponse) String() string

type DeleteRequest

type DeleteRequest struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// table name
	TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// start time range
	StartTime string `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// stop time range
	StopTime string `protobuf:"bytes,4,opt,name=stop_time,json=stopTime,proto3" json:"stop_time,omitempty"`
	// predicate
	// conjunctive expressions of binary 'column_name = literal' or 'column_ame != literal'
	Predicate string `protobuf:"bytes,5,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// contains filtered or unexported fields
}

Request to delete data from a table on a specified predicate

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetDbName

func (x *DeleteRequest) GetDbName() string

func (*DeleteRequest) GetPredicate

func (x *DeleteRequest) GetPredicate() string

func (*DeleteRequest) GetStartTime

func (x *DeleteRequest) GetStartTime() string

func (*DeleteRequest) GetStopTime

func (x *DeleteRequest) GetStopTime() string

func (*DeleteRequest) GetTableName

func (x *DeleteRequest) GetTableName() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

type DeleteResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DetailedDatabase

type DetailedDatabase struct {

	// The generation ID of the database.
	GenerationId uint64 `protobuf:"varint,1,opt,name=generation_id,json=generationId,proto3" json:"generation_id,omitempty"`
	// The UTC datetime at which this database was deleted, if applicable.
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// The name of the database.
	DbName string `protobuf:"bytes,3,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

This resource represents detailed information about a database.

func (*DetailedDatabase) Descriptor deprecated

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

Deprecated: Use DetailedDatabase.ProtoReflect.Descriptor instead.

func (*DetailedDatabase) GetDbName

func (x *DetailedDatabase) GetDbName() string

func (*DetailedDatabase) GetDeletedAt

func (x *DetailedDatabase) GetDeletedAt() *timestamppb.Timestamp

func (*DetailedDatabase) GetGenerationId

func (x *DetailedDatabase) GetGenerationId() uint64

func (*DetailedDatabase) ProtoMessage

func (*DetailedDatabase) ProtoMessage()

func (*DetailedDatabase) ProtoReflect

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

func (*DetailedDatabase) Reset

func (x *DetailedDatabase) Reset()

func (*DetailedDatabase) String

func (x *DetailedDatabase) String() string

type DevNull

type DevNull struct {
	// contains filtered or unexported fields
}

Everything sent to /dev/null can eventually be retrieved from /dev/random, given sufficient time.

func (*DevNull) Descriptor deprecated

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

Deprecated: Use DevNull.ProtoReflect.Descriptor instead.

func (*DevNull) ProtoMessage

func (*DevNull) ProtoMessage()

func (*DevNull) ProtoReflect

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

func (*DevNull) Reset

func (x *DevNull) Reset()

func (*DevNull) String

func (x *DevNull) String() string

type DropChunk

type DropChunk struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// chunk_id
	ChunkId uint32 `protobuf:"varint,3,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
	// contains filtered or unexported fields
}

Drop chunk from memory and (if persisted) from object store.

func (*DropChunk) Descriptor deprecated

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

Deprecated: Use DropChunk.ProtoReflect.Descriptor instead.

func (*DropChunk) GetChunkId

func (x *DropChunk) GetChunkId() uint32

func (*DropChunk) GetDbName

func (x *DropChunk) GetDbName() string

func (*DropChunk) GetPartitionKey

func (x *DropChunk) GetPartitionKey() string

func (*DropChunk) GetTableName

func (x *DropChunk) GetTableName() string

func (*DropChunk) ProtoMessage

func (*DropChunk) ProtoMessage()

func (*DropChunk) ProtoReflect

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

func (*DropChunk) Reset

func (x *DropChunk) Reset()

func (*DropChunk) String

func (x *DropChunk) String() string

type DropPartition

type DropPartition struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// contains filtered or unexported fields
}

Drop partition from memory and (if persisted) from object store.

func (*DropPartition) Descriptor deprecated

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

Deprecated: Use DropPartition.ProtoReflect.Descriptor instead.

func (*DropPartition) GetDbName

func (x *DropPartition) GetDbName() string

func (*DropPartition) GetPartitionKey

func (x *DropPartition) GetPartitionKey() string

func (*DropPartition) GetTableName

func (x *DropPartition) GetTableName() string

func (*DropPartition) ProtoMessage

func (*DropPartition) ProtoMessage()

func (*DropPartition) ProtoReflect

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

func (*DropPartition) Reset

func (x *DropPartition) Reset()

func (*DropPartition) String

func (x *DropPartition) String() string

type DropPartitionRequest

type DropPartitionRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// the partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// the table name
	TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// contains filtered or unexported fields
}

Request to drop partition from memory and (if persisted) from object store.

func (*DropPartitionRequest) Descriptor deprecated

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

Deprecated: Use DropPartitionRequest.ProtoReflect.Descriptor instead.

func (*DropPartitionRequest) GetDbName

func (x *DropPartitionRequest) GetDbName() string

func (*DropPartitionRequest) GetPartitionKey

func (x *DropPartitionRequest) GetPartitionKey() string

func (*DropPartitionRequest) GetTableName

func (x *DropPartitionRequest) GetTableName() string

func (*DropPartitionRequest) ProtoMessage

func (*DropPartitionRequest) ProtoMessage()

func (*DropPartitionRequest) ProtoReflect

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

func (*DropPartitionRequest) Reset

func (x *DropPartitionRequest) Reset()

func (*DropPartitionRequest) String

func (x *DropPartitionRequest) String() string

type DropPartitionResponse

type DropPartitionResponse struct {
	// contains filtered or unexported fields
}

func (*DropPartitionResponse) Descriptor deprecated

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

Deprecated: Use DropPartitionResponse.ProtoReflect.Descriptor instead.

func (*DropPartitionResponse) ProtoMessage

func (*DropPartitionResponse) ProtoMessage()

func (*DropPartitionResponse) ProtoReflect

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

func (*DropPartitionResponse) Reset

func (x *DropPartitionResponse) Reset()

func (*DropPartitionResponse) String

func (x *DropPartitionResponse) String() string

type Dummy

type Dummy struct {

	// How long the job should sleep for before returning
	Nanos []uint64 `protobuf:"varint,1,rep,packed,name=nanos,proto3" json:"nanos,omitempty"`
	// Name of the database, if any
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

A job that simply sleeps for a specified time and then returns success

func (*Dummy) Descriptor deprecated

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

Deprecated: Use Dummy.ProtoReflect.Descriptor instead.

func (*Dummy) GetDbName

func (x *Dummy) GetDbName() string

func (*Dummy) GetNanos

func (x *Dummy) GetNanos() []uint64

func (*Dummy) ProtoMessage

func (*Dummy) ProtoMessage()

func (*Dummy) ProtoReflect

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

func (*Dummy) Reset

func (x *Dummy) Reset()

func (*Dummy) String

func (x *Dummy) String() string

type Error

type Error struct {

	// Message descripting the error.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type GetDatabaseRequest

type GetDatabaseRequest struct {

	// The name of the database to retrieve
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If false, or unspecified: return the current configuration that is being used by
	// the server, with all default values filled in.
	//
	// If true, returns only the persisted configuration (aka only
	// fields which were was supplied when the database was created or
	// last modified via UpdateDatabase)
	OmitDefaults bool `protobuf:"varint,2,opt,name=omit_defaults,json=omitDefaults,proto3" json:"omit_defaults,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDatabaseRequest) Descriptor deprecated

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

Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.

func (*GetDatabaseRequest) GetName

func (x *GetDatabaseRequest) GetName() string

func (*GetDatabaseRequest) GetOmitDefaults

func (x *GetDatabaseRequest) GetOmitDefaults() bool

func (*GetDatabaseRequest) ProtoMessage

func (*GetDatabaseRequest) ProtoMessage()

func (*GetDatabaseRequest) ProtoReflect

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

func (*GetDatabaseRequest) Reset

func (x *GetDatabaseRequest) Reset()

func (*GetDatabaseRequest) String

func (x *GetDatabaseRequest) String() string

type GetDatabaseResponse

type GetDatabaseResponse struct {
	Rules *DatabaseRules `protobuf:"bytes,1,opt,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDatabaseResponse) Descriptor deprecated

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

Deprecated: Use GetDatabaseResponse.ProtoReflect.Descriptor instead.

func (*GetDatabaseResponse) GetRules

func (x *GetDatabaseResponse) GetRules() *DatabaseRules

func (*GetDatabaseResponse) ProtoMessage

func (*GetDatabaseResponse) ProtoMessage()

func (*GetDatabaseResponse) ProtoReflect

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

func (*GetDatabaseResponse) Reset

func (x *GetDatabaseResponse) Reset()

func (*GetDatabaseResponse) String

func (x *GetDatabaseResponse) String() string

type GetPartitionRequest

type GetPartitionRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// the partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// contains filtered or unexported fields
}

Request to get details of a specific partition from a named database

func (*GetPartitionRequest) Descriptor deprecated

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

Deprecated: Use GetPartitionRequest.ProtoReflect.Descriptor instead.

func (*GetPartitionRequest) GetDbName

func (x *GetPartitionRequest) GetDbName() string

func (*GetPartitionRequest) GetPartitionKey

func (x *GetPartitionRequest) GetPartitionKey() string

func (*GetPartitionRequest) ProtoMessage

func (*GetPartitionRequest) ProtoMessage()

func (*GetPartitionRequest) ProtoReflect

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

func (*GetPartitionRequest) Reset

func (x *GetPartitionRequest) Reset()

func (*GetPartitionRequest) String

func (x *GetPartitionRequest) String() string

type GetPartitionResponse

type GetPartitionResponse struct {

	// Detailed information about a partition
	Partition *Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPartitionResponse) Descriptor deprecated

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

Deprecated: Use GetPartitionResponse.ProtoReflect.Descriptor instead.

func (*GetPartitionResponse) GetPartition

func (x *GetPartitionResponse) GetPartition() *Partition

func (*GetPartitionResponse) ProtoMessage

func (*GetPartitionResponse) ProtoMessage()

func (*GetPartitionResponse) ProtoReflect

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

func (*GetPartitionResponse) Reset

func (x *GetPartitionResponse) Reset()

func (*GetPartitionResponse) String

func (x *GetPartitionResponse) String() string

type GetServerIdRequest

type GetServerIdRequest struct {
	// contains filtered or unexported fields
}

func (*GetServerIdRequest) Descriptor deprecated

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

Deprecated: Use GetServerIdRequest.ProtoReflect.Descriptor instead.

func (*GetServerIdRequest) ProtoMessage

func (*GetServerIdRequest) ProtoMessage()

func (*GetServerIdRequest) ProtoReflect

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

func (*GetServerIdRequest) Reset

func (x *GetServerIdRequest) Reset()

func (*GetServerIdRequest) String

func (x *GetServerIdRequest) String() string

type GetServerIdResponse

type GetServerIdResponse struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerIdResponse) Descriptor deprecated

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

Deprecated: Use GetServerIdResponse.ProtoReflect.Descriptor instead.

func (*GetServerIdResponse) GetId

func (x *GetServerIdResponse) GetId() uint32

func (*GetServerIdResponse) ProtoMessage

func (*GetServerIdResponse) ProtoMessage()

func (*GetServerIdResponse) ProtoReflect

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

func (*GetServerIdResponse) Reset

func (x *GetServerIdResponse) Reset()

func (*GetServerIdResponse) String

func (x *GetServerIdResponse) String() string

type GetServerStatusRequest

type GetServerStatusRequest struct {
	// contains filtered or unexported fields
}

func (*GetServerStatusRequest) Descriptor deprecated

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

Deprecated: Use GetServerStatusRequest.ProtoReflect.Descriptor instead.

func (*GetServerStatusRequest) ProtoMessage

func (*GetServerStatusRequest) ProtoMessage()

func (*GetServerStatusRequest) ProtoReflect

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

func (*GetServerStatusRequest) Reset

func (x *GetServerStatusRequest) Reset()

func (*GetServerStatusRequest) String

func (x *GetServerStatusRequest) String() string

type GetServerStatusResponse

type GetServerStatusResponse struct {

	// Server status.
	ServerStatus *ServerStatus `protobuf:"bytes,1,opt,name=server_status,json=serverStatus,proto3" json:"server_status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerStatusResponse) Descriptor deprecated

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

Deprecated: Use GetServerStatusResponse.ProtoReflect.Descriptor instead.

func (*GetServerStatusResponse) GetServerStatus

func (x *GetServerStatusResponse) GetServerStatus() *ServerStatus

func (*GetServerStatusResponse) ProtoMessage

func (*GetServerStatusResponse) ProtoMessage()

func (*GetServerStatusResponse) ProtoReflect

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

func (*GetServerStatusResponse) Reset

func (x *GetServerStatusResponse) Reset()

func (*GetServerStatusResponse) String

func (x *GetServerStatusResponse) String() string

type HashRing

type HashRing struct {

	// If true the table name will be included in the hash key
	TableName bool `protobuf:"varint,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// include the values of these columns in the hash key
	Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	// ring of shards.
	Shards []uint32 `protobuf:"varint,3,rep,packed,name=shards,proto3" json:"shards,omitempty"`
	// contains filtered or unexported fields
}

HashRing is a rule for creating a hash key for a row and mapping that to an individual node on a ring.

func (*HashRing) Descriptor deprecated

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

Deprecated: Use HashRing.ProtoReflect.Descriptor instead.

func (*HashRing) GetColumns

func (x *HashRing) GetColumns() []string

func (*HashRing) GetShards

func (x *HashRing) GetShards() []uint32

func (*HashRing) GetTableName

func (x *HashRing) GetTableName() bool

func (*HashRing) ProtoMessage

func (*HashRing) ProtoMessage()

func (*HashRing) ProtoReflect

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

func (*HashRing) Reset

func (x *HashRing) Reset()

func (*HashRing) String

func (x *HashRing) String() string

type KafkaProducer

type KafkaProducer struct {
	// contains filtered or unexported fields
}

Kafka producer configuration

func (*KafkaProducer) Descriptor deprecated

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

Deprecated: Use KafkaProducer.ProtoReflect.Descriptor instead.

func (*KafkaProducer) ProtoMessage

func (*KafkaProducer) ProtoMessage()

func (*KafkaProducer) ProtoReflect

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

func (*KafkaProducer) Reset

func (x *KafkaProducer) Reset()

func (*KafkaProducer) String

func (x *KafkaProducer) String() string

type LifecycleRules

type LifecycleRules struct {

	// Once the total amount of buffered data in memory reaches this size start
	// dropping data from memory
	BufferSizeSoft uint64 `protobuf:"varint,4,opt,name=buffer_size_soft,json=bufferSizeSoft,proto3" json:"buffer_size_soft,omitempty"`
	// Once the amount of data in memory reaches this size start
	// rejecting writes
	BufferSizeHard uint64 `protobuf:"varint,5,opt,name=buffer_size_hard,json=bufferSizeHard,proto3" json:"buffer_size_hard,omitempty"`
	// Persists chunks to object storage.
	Persist bool `protobuf:"varint,9,opt,name=persist,proto3" json:"persist,omitempty"`
	// Do not allow writing new data to this database
	Immutable bool `protobuf:"varint,8,opt,name=immutable,proto3" json:"immutable,omitempty"`
	// If the background worker doesn't find any work to do it will
	// sleep for this many milliseconds before looking again
	//
	// If 0, the default backoff is used
	// See server::db::lifecycle::DEFAULT_LIFECYCLE_BACKOFF
	WorkerBackoffMillis uint64 `protobuf:"varint,10,opt,name=worker_backoff_millis,json=workerBackoffMillis,proto3" json:"worker_backoff_millis,omitempty"`
	// After how many transactions should IOx write a new checkpoint?
	//
	// If 0 / absent, this default to 100.
	CatalogTransactionsUntilCheckpoint uint64 `` /* 169-byte string literal not displayed */
	// Prune catalog transactions older than the given age.
	//
	// Keeping old transaction can be useful for debugging.
	//
	// Defaults to 1 day.
	CatalogTransactionPruneAge *durationpb.Duration `` /* 144-byte string literal not displayed */
	/// Once a partition hasn't received a write for this period of time,
	/// it will be compacted and, if set, persisted. Writers will generally
	/// have this amount of time to send late arriving writes or this could
	/// be their clock skew.
	LateArriveWindowSeconds uint32 `` /* 136-byte string literal not displayed */
	// Maximum number of rows before triggering persistence
	PersistRowThreshold uint64 `protobuf:"varint,13,opt,name=persist_row_threshold,json=persistRowThreshold,proto3" json:"persist_row_threshold,omitempty"`
	// Maximum age of a write before triggering persistence
	PersistAgeThresholdSeconds uint32 `` /* 145-byte string literal not displayed */
	// Maximum number of rows to buffer in a MUB chunk before compacting it
	MubRowThreshold uint64 `protobuf:"varint,15,opt,name=mub_row_threshold,json=mubRowThreshold,proto3" json:"mub_row_threshold,omitempty"`
	// Types that are assignable to MaxActiveCompactionsCfg:
	//	*LifecycleRules_MaxActiveCompactions
	//	*LifecycleRules_MaxActiveCompactionsCpuFraction
	MaxActiveCompactionsCfg isLifecycleRules_MaxActiveCompactionsCfg `protobuf_oneof:"max_active_compactions_cfg"`
	// Use up to this amount of space in bytes for caching Parquet files.
	// A value of 0 disables Parquet caching
	ParquetCacheLimit uint64 `protobuf:"varint,17,opt,name=parquet_cache_limit,json=parquetCacheLimit,proto3" json:"parquet_cache_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*LifecycleRules) Descriptor deprecated

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

Deprecated: Use LifecycleRules.ProtoReflect.Descriptor instead.

func (*LifecycleRules) GetBufferSizeHard

func (x *LifecycleRules) GetBufferSizeHard() uint64

func (*LifecycleRules) GetBufferSizeSoft

func (x *LifecycleRules) GetBufferSizeSoft() uint64

func (*LifecycleRules) GetCatalogTransactionPruneAge

func (x *LifecycleRules) GetCatalogTransactionPruneAge() *durationpb.Duration

func (*LifecycleRules) GetCatalogTransactionsUntilCheckpoint

func (x *LifecycleRules) GetCatalogTransactionsUntilCheckpoint() uint64

func (*LifecycleRules) GetImmutable

func (x *LifecycleRules) GetImmutable() bool

func (*LifecycleRules) GetLateArriveWindowSeconds

func (x *LifecycleRules) GetLateArriveWindowSeconds() uint32

func (*LifecycleRules) GetMaxActiveCompactions

func (x *LifecycleRules) GetMaxActiveCompactions() uint32

func (*LifecycleRules) GetMaxActiveCompactionsCfg

func (m *LifecycleRules) GetMaxActiveCompactionsCfg() isLifecycleRules_MaxActiveCompactionsCfg

func (*LifecycleRules) GetMaxActiveCompactionsCpuFraction

func (x *LifecycleRules) GetMaxActiveCompactionsCpuFraction() float32

func (*LifecycleRules) GetMubRowThreshold

func (x *LifecycleRules) GetMubRowThreshold() uint64

func (*LifecycleRules) GetParquetCacheLimit

func (x *LifecycleRules) GetParquetCacheLimit() uint64

func (*LifecycleRules) GetPersist

func (x *LifecycleRules) GetPersist() bool

func (*LifecycleRules) GetPersistAgeThresholdSeconds

func (x *LifecycleRules) GetPersistAgeThresholdSeconds() uint32

func (*LifecycleRules) GetPersistRowThreshold

func (x *LifecycleRules) GetPersistRowThreshold() uint64

func (*LifecycleRules) GetWorkerBackoffMillis

func (x *LifecycleRules) GetWorkerBackoffMillis() uint64

func (*LifecycleRules) ProtoMessage

func (*LifecycleRules) ProtoMessage()

func (*LifecycleRules) ProtoReflect

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

func (*LifecycleRules) Reset

func (x *LifecycleRules) Reset()

func (*LifecycleRules) String

func (x *LifecycleRules) String() string

type LifecycleRules_MaxActiveCompactions

type LifecycleRules_MaxActiveCompactions struct {
	// The maximum number of concurrent active compactions that can run.
	MaxActiveCompactions uint32 `protobuf:"varint,16,opt,name=max_active_compactions,json=maxActiveCompactions,proto3,oneof"`
}

type LifecycleRules_MaxActiveCompactionsCpuFraction

type LifecycleRules_MaxActiveCompactionsCpuFraction struct {
	// The maximum number of concurrent active compactions that can run
	// expressed as a fraction of the available cpus (rounded to the next smallest non-zero integer).
	MaxActiveCompactionsCpuFraction float32 `protobuf:"fixed32,18,opt,name=max_active_compactions_cpu_fraction,json=maxActiveCompactionsCpuFraction,proto3,oneof"`
}

type ListChunksRequest

type ListChunksRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChunksRequest) Descriptor deprecated

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

Deprecated: Use ListChunksRequest.ProtoReflect.Descriptor instead.

func (*ListChunksRequest) GetDbName

func (x *ListChunksRequest) GetDbName() string

func (*ListChunksRequest) ProtoMessage

func (*ListChunksRequest) ProtoMessage()

func (*ListChunksRequest) ProtoReflect

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

func (*ListChunksRequest) Reset

func (x *ListChunksRequest) Reset()

func (*ListChunksRequest) String

func (x *ListChunksRequest) String() string

type ListChunksResponse

type ListChunksResponse struct {
	Chunks []*Chunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChunksResponse) Descriptor deprecated

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

Deprecated: Use ListChunksResponse.ProtoReflect.Descriptor instead.

func (*ListChunksResponse) GetChunks

func (x *ListChunksResponse) GetChunks() []*Chunk

func (*ListChunksResponse) ProtoMessage

func (*ListChunksResponse) ProtoMessage()

func (*ListChunksResponse) ProtoReflect

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

func (*ListChunksResponse) Reset

func (x *ListChunksResponse) Reset()

func (*ListChunksResponse) String

func (x *ListChunksResponse) String() string

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// If true, returns only explciitly defined values. See additional
	// details on `GetDatabaseRequest`.
	OmitDefaults bool `protobuf:"varint,1,opt,name=omit_defaults,json=omitDefaults,proto3" json:"omit_defaults,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDatabasesRequest) Descriptor deprecated

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

Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.

func (*ListDatabasesRequest) GetOmitDefaults

func (x *ListDatabasesRequest) GetOmitDefaults() bool

func (*ListDatabasesRequest) ProtoMessage

func (*ListDatabasesRequest) ProtoMessage()

func (*ListDatabasesRequest) ProtoReflect

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

func (*ListDatabasesRequest) Reset

func (x *ListDatabasesRequest) Reset()

func (*ListDatabasesRequest) String

func (x *ListDatabasesRequest) String() string

type ListDatabasesResponse

type ListDatabasesResponse struct {

	/// database rules (configuration) for each database
	Rules []*DatabaseRules `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDatabasesResponse) Descriptor deprecated

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

Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.

func (*ListDatabasesResponse) GetRules

func (x *ListDatabasesResponse) GetRules() []*DatabaseRules

func (*ListDatabasesResponse) ProtoMessage

func (*ListDatabasesResponse) ProtoMessage()

func (*ListDatabasesResponse) ProtoReflect

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

func (*ListDatabasesResponse) Reset

func (x *ListDatabasesResponse) Reset()

func (*ListDatabasesResponse) String

func (x *ListDatabasesResponse) String() string

type ListDeletedDatabasesRequest

type ListDeletedDatabasesRequest struct {
	// contains filtered or unexported fields
}

func (*ListDeletedDatabasesRequest) Descriptor deprecated

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

Deprecated: Use ListDeletedDatabasesRequest.ProtoReflect.Descriptor instead.

func (*ListDeletedDatabasesRequest) ProtoMessage

func (*ListDeletedDatabasesRequest) ProtoMessage()

func (*ListDeletedDatabasesRequest) ProtoReflect

func (*ListDeletedDatabasesRequest) Reset

func (x *ListDeletedDatabasesRequest) Reset()

func (*ListDeletedDatabasesRequest) String

func (x *ListDeletedDatabasesRequest) String() string

type ListDeletedDatabasesResponse

type ListDeletedDatabasesResponse struct {
	DeletedDatabases []*DetailedDatabase `protobuf:"bytes,1,rep,name=deleted_databases,json=deletedDatabases,proto3" json:"deleted_databases,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDeletedDatabasesResponse) Descriptor deprecated

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

Deprecated: Use ListDeletedDatabasesResponse.ProtoReflect.Descriptor instead.

func (*ListDeletedDatabasesResponse) GetDeletedDatabases

func (x *ListDeletedDatabasesResponse) GetDeletedDatabases() []*DetailedDatabase

func (*ListDeletedDatabasesResponse) ProtoMessage

func (*ListDeletedDatabasesResponse) ProtoMessage()

func (*ListDeletedDatabasesResponse) ProtoReflect

func (*ListDeletedDatabasesResponse) Reset

func (x *ListDeletedDatabasesResponse) Reset()

func (*ListDeletedDatabasesResponse) String

type ListDetailedDatabasesRequest

type ListDetailedDatabasesRequest struct {
	// contains filtered or unexported fields
}

func (*ListDetailedDatabasesRequest) Descriptor deprecated

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

Deprecated: Use ListDetailedDatabasesRequest.ProtoReflect.Descriptor instead.

func (*ListDetailedDatabasesRequest) ProtoMessage

func (*ListDetailedDatabasesRequest) ProtoMessage()

func (*ListDetailedDatabasesRequest) ProtoReflect

func (*ListDetailedDatabasesRequest) Reset

func (x *ListDetailedDatabasesRequest) Reset()

func (*ListDetailedDatabasesRequest) String

type ListDetailedDatabasesResponse

type ListDetailedDatabasesResponse struct {
	Databases []*DetailedDatabase `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDetailedDatabasesResponse) Descriptor deprecated

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

Deprecated: Use ListDetailedDatabasesResponse.ProtoReflect.Descriptor instead.

func (*ListDetailedDatabasesResponse) GetDatabases

func (x *ListDetailedDatabasesResponse) GetDatabases() []*DetailedDatabase

func (*ListDetailedDatabasesResponse) ProtoMessage

func (*ListDetailedDatabasesResponse) ProtoMessage()

func (*ListDetailedDatabasesResponse) ProtoReflect

func (*ListDetailedDatabasesResponse) Reset

func (x *ListDetailedDatabasesResponse) Reset()

func (*ListDetailedDatabasesResponse) String

type ListPartitionChunksRequest

type ListPartitionChunksRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// the partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// contains filtered or unexported fields
}

Request to list all chunks in a specific partitions from a named database

func (*ListPartitionChunksRequest) Descriptor deprecated

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

Deprecated: Use ListPartitionChunksRequest.ProtoReflect.Descriptor instead.

func (*ListPartitionChunksRequest) GetDbName

func (x *ListPartitionChunksRequest) GetDbName() string

func (*ListPartitionChunksRequest) GetPartitionKey

func (x *ListPartitionChunksRequest) GetPartitionKey() string

func (*ListPartitionChunksRequest) ProtoMessage

func (*ListPartitionChunksRequest) ProtoMessage()

func (*ListPartitionChunksRequest) ProtoReflect

func (*ListPartitionChunksRequest) Reset

func (x *ListPartitionChunksRequest) Reset()

func (*ListPartitionChunksRequest) String

func (x *ListPartitionChunksRequest) String() string

type ListPartitionChunksResponse

type ListPartitionChunksResponse struct {

	// All chunks in a partition
	Chunks []*Chunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPartitionChunksResponse) Descriptor deprecated

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

Deprecated: Use ListPartitionChunksResponse.ProtoReflect.Descriptor instead.

func (*ListPartitionChunksResponse) GetChunks

func (x *ListPartitionChunksResponse) GetChunks() []*Chunk

func (*ListPartitionChunksResponse) ProtoMessage

func (*ListPartitionChunksResponse) ProtoMessage()

func (*ListPartitionChunksResponse) ProtoReflect

func (*ListPartitionChunksResponse) Reset

func (x *ListPartitionChunksResponse) Reset()

func (*ListPartitionChunksResponse) String

func (x *ListPartitionChunksResponse) String() string

type ListPartitionsRequest

type ListPartitionsRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

Request to list all partitions from a named database

func (*ListPartitionsRequest) Descriptor deprecated

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

Deprecated: Use ListPartitionsRequest.ProtoReflect.Descriptor instead.

func (*ListPartitionsRequest) GetDbName

func (x *ListPartitionsRequest) GetDbName() string

func (*ListPartitionsRequest) ProtoMessage

func (*ListPartitionsRequest) ProtoMessage()

func (*ListPartitionsRequest) ProtoReflect

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

func (*ListPartitionsRequest) Reset

func (x *ListPartitionsRequest) Reset()

func (*ListPartitionsRequest) String

func (x *ListPartitionsRequest) String() string

type ListPartitionsResponse

type ListPartitionsResponse struct {

	// All partitions in a database
	Partitions []*Partition `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPartitionsResponse) Descriptor deprecated

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

Deprecated: Use ListPartitionsResponse.ProtoReflect.Descriptor instead.

func (*ListPartitionsResponse) GetPartitions

func (x *ListPartitionsResponse) GetPartitions() []*Partition

func (*ListPartitionsResponse) ProtoMessage

func (*ListPartitionsResponse) ProtoMessage()

func (*ListPartitionsResponse) ProtoReflect

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

func (*ListPartitionsResponse) Reset

func (x *ListPartitionsResponse) Reset()

func (*ListPartitionsResponse) String

func (x *ListPartitionsResponse) String() string

type ListRemotesRequest

type ListRemotesRequest struct {
	// contains filtered or unexported fields
}

func (*ListRemotesRequest) Descriptor deprecated

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

Deprecated: Use ListRemotesRequest.ProtoReflect.Descriptor instead.

func (*ListRemotesRequest) ProtoMessage

func (*ListRemotesRequest) ProtoMessage()

func (*ListRemotesRequest) ProtoReflect

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

func (*ListRemotesRequest) Reset

func (x *ListRemotesRequest) Reset()

func (*ListRemotesRequest) String

func (x *ListRemotesRequest) String() string

type ListRemotesResponse

type ListRemotesResponse struct {
	Remotes []*Remote `protobuf:"bytes,1,rep,name=remotes,proto3" json:"remotes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRemotesResponse) Descriptor deprecated

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

Deprecated: Use ListRemotesResponse.ProtoReflect.Descriptor instead.

func (*ListRemotesResponse) GetRemotes

func (x *ListRemotesResponse) GetRemotes() []*Remote

func (*ListRemotesResponse) ProtoMessage

func (*ListRemotesResponse) ProtoMessage()

func (*ListRemotesResponse) ProtoReflect

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

func (*ListRemotesResponse) Reset

func (x *ListRemotesResponse) Reset()

func (*ListRemotesResponse) String

func (x *ListRemotesResponse) String() string

type ManagementServiceClient

type ManagementServiceClient interface {
	GetServerId(ctx context.Context, in *GetServerIdRequest, opts ...grpc.CallOption) (*GetServerIdResponse, error)
	UpdateServerId(ctx context.Context, in *UpdateServerIdRequest, opts ...grpc.CallOption) (*UpdateServerIdResponse, error)
	SetServingReadiness(ctx context.Context, in *SetServingReadinessRequest, opts ...grpc.CallOption) (*SetServingReadinessResponse, error)
	// List all databases on this server.
	//
	// Roughly follows the <https://google.aip.dev/132> pattern, except we wrap the response
	ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
	// Return a specific database by name
	//
	// Roughly follows the <https://google.aip.dev/131> pattern, except
	// we wrap the response
	GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*GetDatabaseResponse, error)
	CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*CreateDatabaseResponse, error)
	// Update a database.
	//
	// Roughly follows the <https://google.aip.dev/134> pattern, except we wrap the response
	UpdateDatabase(ctx context.Context, in *UpdateDatabaseRequest, opts ...grpc.CallOption) (*UpdateDatabaseResponse, error)
	DeleteDatabase(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*DeleteDatabaseResponse, error)
	RestoreDatabase(ctx context.Context, in *RestoreDatabaseRequest, opts ...grpc.CallOption) (*RestoreDatabaseResponse, error)
	// List deleted databases and their metadata.
	ListDeletedDatabases(ctx context.Context, in *ListDeletedDatabasesRequest, opts ...grpc.CallOption) (*ListDeletedDatabasesResponse, error)
	// List all databases and their metadata.
	ListDetailedDatabases(ctx context.Context, in *ListDetailedDatabasesRequest, opts ...grpc.CallOption) (*ListDetailedDatabasesResponse, error)
	// List chunks available on this database
	ListChunks(ctx context.Context, in *ListChunksRequest, opts ...grpc.CallOption) (*ListChunksResponse, error)
	// List remote IOx servers we know about.
	ListRemotes(ctx context.Context, in *ListRemotesRequest, opts ...grpc.CallOption) (*ListRemotesResponse, error)
	// Update information about a remote IOx server (upsert).
	UpdateRemote(ctx context.Context, in *UpdateRemoteRequest, opts ...grpc.CallOption) (*UpdateRemoteResponse, error)
	// Delete a reference to remote IOx server.
	DeleteRemote(ctx context.Context, in *DeleteRemoteRequest, opts ...grpc.CallOption) (*DeleteRemoteResponse, error)
	// Creates a dummy job that for each value of the nanos field
	// spawns a task that sleeps for that number of nanoseconds before returning
	CreateDummyJob(ctx context.Context, in *CreateDummyJobRequest, opts ...grpc.CallOption) (*CreateDummyJobResponse, error)
	// List partitions in a database
	ListPartitions(ctx context.Context, in *ListPartitionsRequest, opts ...grpc.CallOption) (*ListPartitionsResponse, error)
	// Get detail information about a partition
	GetPartition(ctx context.Context, in *GetPartitionRequest, opts ...grpc.CallOption) (*GetPartitionResponse, error)
	// List chunks in a partition
	ListPartitionChunks(ctx context.Context, in *ListPartitionChunksRequest, opts ...grpc.CallOption) (*ListPartitionChunksResponse, error)
	// Create a new chunk in the mutable buffer
	NewPartitionChunk(ctx context.Context, in *NewPartitionChunkRequest, opts ...grpc.CallOption) (*NewPartitionChunkResponse, error)
	// Close a chunk and move it to the read buffer
	ClosePartitionChunk(ctx context.Context, in *ClosePartitionChunkRequest, opts ...grpc.CallOption) (*ClosePartitionChunkResponse, error)
	// Unload chunk from read buffer but keep it in object store
	UnloadPartitionChunk(ctx context.Context, in *UnloadPartitionChunkRequest, opts ...grpc.CallOption) (*UnloadPartitionChunkResponse, error)
	// Get server status
	GetServerStatus(ctx context.Context, in *GetServerStatusRequest, opts ...grpc.CallOption) (*GetServerStatusResponse, error)
	// Wipe preserved catalog for given DB.
	WipePreservedCatalog(ctx context.Context, in *WipePreservedCatalogRequest, opts ...grpc.CallOption) (*WipePreservedCatalogResponse, error)
	// Skip replay for given DB.
	SkipReplay(ctx context.Context, in *SkipReplayRequest, opts ...grpc.CallOption) (*SkipReplayResponse, error)
	// Persist given partition.
	//
	// Errors if there is nothing to persist at the moment as per the lifecycle rules. If successful it returns the
	// chunk that contains the persisted data.
	PersistPartition(ctx context.Context, in *PersistPartitionRequest, opts ...grpc.CallOption) (*PersistPartitionResponse, error)
	// Drop partition from memory and (if persisted) from object store.
	DropPartition(ctx context.Context, in *DropPartitionRequest, opts ...grpc.CallOption) (*DropPartitionResponse, error)
	// Delete data for a table on a specified predicate
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
}

ManagementServiceClient is the client API for ManagementService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ManagementServiceServer

type ManagementServiceServer interface {
	GetServerId(context.Context, *GetServerIdRequest) (*GetServerIdResponse, error)
	UpdateServerId(context.Context, *UpdateServerIdRequest) (*UpdateServerIdResponse, error)
	SetServingReadiness(context.Context, *SetServingReadinessRequest) (*SetServingReadinessResponse, error)
	// List all databases on this server.
	//
	// Roughly follows the <https://google.aip.dev/132> pattern, except we wrap the response
	ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
	// Return a specific database by name
	//
	// Roughly follows the <https://google.aip.dev/131> pattern, except
	// we wrap the response
	GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error)
	CreateDatabase(context.Context, *CreateDatabaseRequest) (*CreateDatabaseResponse, error)
	// Update a database.
	//
	// Roughly follows the <https://google.aip.dev/134> pattern, except we wrap the response
	UpdateDatabase(context.Context, *UpdateDatabaseRequest) (*UpdateDatabaseResponse, error)
	DeleteDatabase(context.Context, *DeleteDatabaseRequest) (*DeleteDatabaseResponse, error)
	RestoreDatabase(context.Context, *RestoreDatabaseRequest) (*RestoreDatabaseResponse, error)
	// List deleted databases and their metadata.
	ListDeletedDatabases(context.Context, *ListDeletedDatabasesRequest) (*ListDeletedDatabasesResponse, error)
	// List all databases and their metadata.
	ListDetailedDatabases(context.Context, *ListDetailedDatabasesRequest) (*ListDetailedDatabasesResponse, error)
	// List chunks available on this database
	ListChunks(context.Context, *ListChunksRequest) (*ListChunksResponse, error)
	// List remote IOx servers we know about.
	ListRemotes(context.Context, *ListRemotesRequest) (*ListRemotesResponse, error)
	// Update information about a remote IOx server (upsert).
	UpdateRemote(context.Context, *UpdateRemoteRequest) (*UpdateRemoteResponse, error)
	// Delete a reference to remote IOx server.
	DeleteRemote(context.Context, *DeleteRemoteRequest) (*DeleteRemoteResponse, error)
	// Creates a dummy job that for each value of the nanos field
	// spawns a task that sleeps for that number of nanoseconds before returning
	CreateDummyJob(context.Context, *CreateDummyJobRequest) (*CreateDummyJobResponse, error)
	// List partitions in a database
	ListPartitions(context.Context, *ListPartitionsRequest) (*ListPartitionsResponse, error)
	// Get detail information about a partition
	GetPartition(context.Context, *GetPartitionRequest) (*GetPartitionResponse, error)
	// List chunks in a partition
	ListPartitionChunks(context.Context, *ListPartitionChunksRequest) (*ListPartitionChunksResponse, error)
	// Create a new chunk in the mutable buffer
	NewPartitionChunk(context.Context, *NewPartitionChunkRequest) (*NewPartitionChunkResponse, error)
	// Close a chunk and move it to the read buffer
	ClosePartitionChunk(context.Context, *ClosePartitionChunkRequest) (*ClosePartitionChunkResponse, error)
	// Unload chunk from read buffer but keep it in object store
	UnloadPartitionChunk(context.Context, *UnloadPartitionChunkRequest) (*UnloadPartitionChunkResponse, error)
	// Get server status
	GetServerStatus(context.Context, *GetServerStatusRequest) (*GetServerStatusResponse, error)
	// Wipe preserved catalog for given DB.
	WipePreservedCatalog(context.Context, *WipePreservedCatalogRequest) (*WipePreservedCatalogResponse, error)
	// Skip replay for given DB.
	SkipReplay(context.Context, *SkipReplayRequest) (*SkipReplayResponse, error)
	// Persist given partition.
	//
	// Errors if there is nothing to persist at the moment as per the lifecycle rules. If successful it returns the
	// chunk that contains the persisted data.
	PersistPartition(context.Context, *PersistPartitionRequest) (*PersistPartitionResponse, error)
	// Drop partition from memory and (if persisted) from object store.
	DropPartition(context.Context, *DropPartitionRequest) (*DropPartitionResponse, error)
	// Delete data for a table on a specified predicate
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
	// contains filtered or unexported methods
}

ManagementServiceServer is the server API for ManagementService service. All implementations must embed UnimplementedManagementServiceServer for forward compatibility

type Matcher

type Matcher struct {

	// if provided, match if the table name matches against the regex
	TableNameRegex string `protobuf:"bytes,1,opt,name=table_name_regex,json=tableNameRegex,proto3" json:"table_name_regex,omitempty"`
	// paul: what should we use for predicate matching here against a single row/line?
	Predicate string `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	// contains filtered or unexported fields
}

/ A matcher is used to match routing rules or subscriptions on a row-by-row / (or line) basis.

func (*Matcher) Descriptor deprecated

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

Deprecated: Use Matcher.ProtoReflect.Descriptor instead.

func (*Matcher) GetPredicate

func (x *Matcher) GetPredicate() string

func (*Matcher) GetTableNameRegex

func (x *Matcher) GetTableNameRegex() string

func (*Matcher) ProtoMessage

func (*Matcher) ProtoMessage()

func (*Matcher) ProtoReflect

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

func (*Matcher) Reset

func (x *Matcher) Reset()

func (*Matcher) String

func (x *Matcher) String() string

type MatcherToShard

type MatcherToShard struct {
	Matcher *Matcher `protobuf:"bytes,1,opt,name=matcher,proto3" json:"matcher,omitempty"`
	Shard   uint32   `protobuf:"varint,2,opt,name=shard,proto3" json:"shard,omitempty"`
	// contains filtered or unexported fields
}

Maps a matcher with specific shard. If the line/row matches it should be sent to the group.

func (*MatcherToShard) Descriptor deprecated

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

Deprecated: Use MatcherToShard.ProtoReflect.Descriptor instead.

func (*MatcherToShard) GetMatcher

func (x *MatcherToShard) GetMatcher() *Matcher

func (*MatcherToShard) GetShard

func (x *MatcherToShard) GetShard() uint32

func (*MatcherToShard) ProtoMessage

func (*MatcherToShard) ProtoMessage()

func (*MatcherToShard) ProtoReflect

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

func (*MatcherToShard) Reset

func (x *MatcherToShard) Reset()

func (*MatcherToShard) String

func (x *MatcherToShard) String() string

type NewPartitionChunkRequest

type NewPartitionChunkRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// the partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// the table name
	TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// contains filtered or unexported fields
}

Request that a new chunk for writing is created in the mutable buffer

func (*NewPartitionChunkRequest) Descriptor deprecated

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

Deprecated: Use NewPartitionChunkRequest.ProtoReflect.Descriptor instead.

func (*NewPartitionChunkRequest) GetDbName

func (x *NewPartitionChunkRequest) GetDbName() string

func (*NewPartitionChunkRequest) GetPartitionKey

func (x *NewPartitionChunkRequest) GetPartitionKey() string

func (*NewPartitionChunkRequest) GetTableName

func (x *NewPartitionChunkRequest) GetTableName() string

func (*NewPartitionChunkRequest) ProtoMessage

func (*NewPartitionChunkRequest) ProtoMessage()

func (*NewPartitionChunkRequest) ProtoReflect

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

func (*NewPartitionChunkRequest) Reset

func (x *NewPartitionChunkRequest) Reset()

func (*NewPartitionChunkRequest) String

func (x *NewPartitionChunkRequest) String() string

type NewPartitionChunkResponse

type NewPartitionChunkResponse struct {
	// contains filtered or unexported fields
}

func (*NewPartitionChunkResponse) Descriptor deprecated

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

Deprecated: Use NewPartitionChunkResponse.ProtoReflect.Descriptor instead.

func (*NewPartitionChunkResponse) ProtoMessage

func (*NewPartitionChunkResponse) ProtoMessage()

func (*NewPartitionChunkResponse) ProtoReflect

func (*NewPartitionChunkResponse) Reset

func (x *NewPartitionChunkResponse) Reset()

func (*NewPartitionChunkResponse) String

func (x *NewPartitionChunkResponse) String() string

type NodeGroup

type NodeGroup struct {
	Nodes []*NodeGroup_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

A collection of IOx nodes

func (*NodeGroup) Descriptor deprecated

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

Deprecated: Use NodeGroup.ProtoReflect.Descriptor instead.

func (*NodeGroup) GetNodes

func (x *NodeGroup) GetNodes() []*NodeGroup_Node

func (*NodeGroup) ProtoMessage

func (*NodeGroup) ProtoMessage()

func (*NodeGroup) ProtoReflect

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

func (*NodeGroup) Reset

func (x *NodeGroup) Reset()

func (*NodeGroup) String

func (x *NodeGroup) String() string

type NodeGroup_Node

type NodeGroup_Node struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGroup_Node) Descriptor deprecated

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

Deprecated: Use NodeGroup_Node.ProtoReflect.Descriptor instead.

func (*NodeGroup_Node) GetId

func (x *NodeGroup_Node) GetId() uint32

func (*NodeGroup_Node) ProtoMessage

func (*NodeGroup_Node) ProtoMessage()

func (*NodeGroup_Node) ProtoReflect

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

func (*NodeGroup_Node) Reset

func (x *NodeGroup_Node) Reset()

func (*NodeGroup_Node) String

func (x *NodeGroup_Node) String() string

type OperationMetadata

type OperationMetadata struct {

	// How many nanoseconds of CPU time have been spent on this job so far?
	CpuNanos uint64 `protobuf:"varint,1,opt,name=cpu_nanos,json=cpuNanos,proto3" json:"cpu_nanos,omitempty"`
	// How many nanoseconds has it been since the job was submitted
	WallNanos uint64 `protobuf:"varint,2,opt,name=wall_nanos,json=wallNanos,proto3" json:"wall_nanos,omitempty"`
	// The total number of created tasks
	TotalCount uint64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// The number of pending tasks
	PendingCount uint64 `protobuf:"varint,4,opt,name=pending_count,json=pendingCount,proto3" json:"pending_count,omitempty"`
	// The number of tasks that completed successfully
	SuccessCount uint64 `protobuf:"varint,13,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
	// The number of tasks that returned an error
	ErrorCount uint64 `protobuf:"varint,14,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
	// The number of tasks that were cancelled
	CancelledCount uint64 `protobuf:"varint,15,opt,name=cancelled_count,json=cancelledCount,proto3" json:"cancelled_count,omitempty"`
	// The number of tasks that did not run to completion (e.g. panic)
	DroppedCount uint64 `protobuf:"varint,16,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
	// What kind of job is it?
	//
	// Types that are assignable to Job:
	//	*OperationMetadata_Dummy
	//	*OperationMetadata_CloseChunk
	//	*OperationMetadata_WriteChunk
	//	*OperationMetadata_WipePreservedCatalog
	//	*OperationMetadata_CompactChunks
	//	*OperationMetadata_PersistChunks
	//	*OperationMetadata_DropChunk
	//	*OperationMetadata_DropPartition
	Job isOperationMetadata_Job `protobuf_oneof:"job"`
	// contains filtered or unexported fields
}

func (*OperationMetadata) Descriptor deprecated

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetCancelledCount

func (x *OperationMetadata) GetCancelledCount() uint64

func (*OperationMetadata) GetCloseChunk

func (x *OperationMetadata) GetCloseChunk() *CloseChunk

func (*OperationMetadata) GetCompactChunks

func (x *OperationMetadata) GetCompactChunks() *CompactChunks

func (*OperationMetadata) GetCpuNanos

func (x *OperationMetadata) GetCpuNanos() uint64

func (*OperationMetadata) GetDropChunk

func (x *OperationMetadata) GetDropChunk() *DropChunk

func (*OperationMetadata) GetDropPartition

func (x *OperationMetadata) GetDropPartition() *DropPartition

func (*OperationMetadata) GetDroppedCount

func (x *OperationMetadata) GetDroppedCount() uint64

func (*OperationMetadata) GetDummy

func (x *OperationMetadata) GetDummy() *Dummy

func (*OperationMetadata) GetErrorCount

func (x *OperationMetadata) GetErrorCount() uint64

func (*OperationMetadata) GetJob

func (m *OperationMetadata) GetJob() isOperationMetadata_Job

func (*OperationMetadata) GetPendingCount

func (x *OperationMetadata) GetPendingCount() uint64

func (*OperationMetadata) GetPersistChunks

func (x *OperationMetadata) GetPersistChunks() *PersistChunks

func (*OperationMetadata) GetSuccessCount

func (x *OperationMetadata) GetSuccessCount() uint64

func (*OperationMetadata) GetTotalCount

func (x *OperationMetadata) GetTotalCount() uint64

func (*OperationMetadata) GetWallNanos

func (x *OperationMetadata) GetWallNanos() uint64

func (*OperationMetadata) GetWipePreservedCatalog

func (x *OperationMetadata) GetWipePreservedCatalog() *WipePreservedCatalog

func (*OperationMetadata) GetWriteChunk

func (x *OperationMetadata) GetWriteChunk() *WriteChunk

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type OperationMetadata_CloseChunk

type OperationMetadata_CloseChunk struct {
	CloseChunk *CloseChunk `protobuf:"bytes,7,opt,name=close_chunk,json=closeChunk,proto3,oneof"`
}

type OperationMetadata_CompactChunks

type OperationMetadata_CompactChunks struct {
	CompactChunks *CompactChunks `protobuf:"bytes,10,opt,name=compact_chunks,json=compactChunks,proto3,oneof"`
}

type OperationMetadata_DropChunk

type OperationMetadata_DropChunk struct {
	DropChunk *DropChunk `protobuf:"bytes,12,opt,name=drop_chunk,json=dropChunk,proto3,oneof"`
}

type OperationMetadata_DropPartition

type OperationMetadata_DropPartition struct {
	DropPartition *DropPartition `protobuf:"bytes,17,opt,name=drop_partition,json=dropPartition,proto3,oneof"`
}

type OperationMetadata_Dummy

type OperationMetadata_Dummy struct {
	Dummy *Dummy `protobuf:"bytes,5,opt,name=dummy,proto3,oneof"`
}

type OperationMetadata_PersistChunks

type OperationMetadata_PersistChunks struct {
	PersistChunks *PersistChunks `protobuf:"bytes,11,opt,name=persist_chunks,json=persistChunks,proto3,oneof"`
}

type OperationMetadata_WipePreservedCatalog

type OperationMetadata_WipePreservedCatalog struct {
	WipePreservedCatalog *WipePreservedCatalog `protobuf:"bytes,9,opt,name=wipe_preserved_catalog,json=wipePreservedCatalog,proto3,oneof"`
}

type OperationMetadata_WriteChunk

type OperationMetadata_WriteChunk struct {
	WriteChunk *WriteChunk `protobuf:"bytes,8,opt,name=write_chunk,json=writeChunk,proto3,oneof"`
}

type ParseDelete

type ParseDelete struct {

	// start time in nanosecond of a range to be deleted
	StartTime int64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// stop time in nanosecodn of a range to be deleted
	StopTime int64 `protobuf:"varint,2,opt,name=stop_time,json=stopTime,proto3" json:"stop_time,omitempty"`
	// list of delete predicate binary expressions
	Exprs []*DeleteBinaryExpr `protobuf:"bytes,3,rep,name=exprs,proto3" json:"exprs,omitempty"`
	// contains filtered or unexported fields
}

A description of a delete predicate

func (*ParseDelete) Descriptor deprecated

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

Deprecated: Use ParseDelete.ProtoReflect.Descriptor instead.

func (*ParseDelete) GetExprs

func (x *ParseDelete) GetExprs() []*DeleteBinaryExpr

func (*ParseDelete) GetStartTime

func (x *ParseDelete) GetStartTime() int64

func (*ParseDelete) GetStopTime

func (x *ParseDelete) GetStopTime() int64

func (*ParseDelete) ProtoMessage

func (*ParseDelete) ProtoMessage()

func (*ParseDelete) ProtoReflect

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

func (*ParseDelete) Reset

func (x *ParseDelete) Reset()

func (*ParseDelete) String

func (x *ParseDelete) String() string

type Partition

type Partition struct {

	// The partitition key of this partition
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

`Partition` is comprised of data in one or more chunks

TODO: add additional information to this structure (e.g. partition names, stats, etc)

func (*Partition) Descriptor deprecated

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

Deprecated: Use Partition.ProtoReflect.Descriptor instead.

func (*Partition) GetKey

func (x *Partition) GetKey() string

func (*Partition) ProtoMessage

func (*Partition) ProtoMessage()

func (*Partition) ProtoReflect

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

func (*Partition) Reset

func (x *Partition) Reset()

func (*Partition) String

func (x *Partition) String() string

type PartitionTemplate

type PartitionTemplate struct {
	Parts []*PartitionTemplate_Part `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"`
	// contains filtered or unexported fields
}

`PartitionTemplate` is used to compute the partition key of each row that gets written. It can consist of the table name, a column name and its value, a formatted time, or a string column and regex captures of its value. For columns that do not appear in the input row, a blank value is output.

The key is constructed in order of the template parts; thus ordering changes what partition key is generated.

func (*PartitionTemplate) Descriptor deprecated

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

Deprecated: Use PartitionTemplate.ProtoReflect.Descriptor instead.

func (*PartitionTemplate) GetParts

func (x *PartitionTemplate) GetParts() []*PartitionTemplate_Part

func (*PartitionTemplate) ProtoMessage

func (*PartitionTemplate) ProtoMessage()

func (*PartitionTemplate) ProtoReflect

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

func (*PartitionTemplate) Reset

func (x *PartitionTemplate) Reset()

func (*PartitionTemplate) String

func (x *PartitionTemplate) String() string

type PartitionTemplate_Part

type PartitionTemplate_Part struct {

	// Types that are assignable to Part:
	//	*PartitionTemplate_Part_Table
	//	*PartitionTemplate_Part_Column
	//	*PartitionTemplate_Part_Time
	//	*PartitionTemplate_Part_Regex
	//	*PartitionTemplate_Part_StrfTime
	Part isPartitionTemplate_Part_Part `protobuf_oneof:"part"`
	// contains filtered or unexported fields
}

func (*PartitionTemplate_Part) Descriptor deprecated

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

Deprecated: Use PartitionTemplate_Part.ProtoReflect.Descriptor instead.

func (*PartitionTemplate_Part) GetColumn

func (x *PartitionTemplate_Part) GetColumn() string

func (*PartitionTemplate_Part) GetPart

func (m *PartitionTemplate_Part) GetPart() isPartitionTemplate_Part_Part

func (*PartitionTemplate_Part) GetRegex

func (*PartitionTemplate_Part) GetStrfTime

func (*PartitionTemplate_Part) GetTable

func (x *PartitionTemplate_Part) GetTable() *emptypb.Empty

func (*PartitionTemplate_Part) GetTime

func (x *PartitionTemplate_Part) GetTime() string

func (*PartitionTemplate_Part) ProtoMessage

func (*PartitionTemplate_Part) ProtoMessage()

func (*PartitionTemplate_Part) ProtoReflect

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

func (*PartitionTemplate_Part) Reset

func (x *PartitionTemplate_Part) Reset()

func (*PartitionTemplate_Part) String

func (x *PartitionTemplate_Part) String() string

type PartitionTemplate_Part_Column

type PartitionTemplate_Part_Column struct {
	Column string `protobuf:"bytes,2,opt,name=column,proto3,oneof"`
}

type PartitionTemplate_Part_ColumnFormat

type PartitionTemplate_Part_ColumnFormat struct {
	Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"`
	Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*PartitionTemplate_Part_ColumnFormat) Descriptor deprecated

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

Deprecated: Use PartitionTemplate_Part_ColumnFormat.ProtoReflect.Descriptor instead.

func (*PartitionTemplate_Part_ColumnFormat) GetColumn

func (*PartitionTemplate_Part_ColumnFormat) GetFormat

func (*PartitionTemplate_Part_ColumnFormat) ProtoMessage

func (*PartitionTemplate_Part_ColumnFormat) ProtoMessage()

func (*PartitionTemplate_Part_ColumnFormat) ProtoReflect

func (*PartitionTemplate_Part_ColumnFormat) Reset

func (*PartitionTemplate_Part_ColumnFormat) String

type PartitionTemplate_Part_Regex

type PartitionTemplate_Part_Regex struct {
	Regex *PartitionTemplate_Part_ColumnFormat `protobuf:"bytes,4,opt,name=regex,proto3,oneof"`
}

type PartitionTemplate_Part_StrfTime

type PartitionTemplate_Part_StrfTime struct {
	StrfTime *PartitionTemplate_Part_ColumnFormat `protobuf:"bytes,5,opt,name=strf_time,json=strfTime,proto3,oneof"`
}

type PartitionTemplate_Part_Table

type PartitionTemplate_Part_Table struct {
	Table *emptypb.Empty `protobuf:"bytes,1,opt,name=table,proto3,oneof"`
}

type PartitionTemplate_Part_Time

type PartitionTemplate_Part_Time struct {
	Time string `protobuf:"bytes,3,opt,name=time,proto3,oneof"`
}

type PersistChunks

type PersistChunks struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// chunk_id
	Chunks []uint32 `protobuf:"varint,3,rep,packed,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

Split and write chunks to object store

func (*PersistChunks) Descriptor deprecated

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

Deprecated: Use PersistChunks.ProtoReflect.Descriptor instead.

func (*PersistChunks) GetChunks

func (x *PersistChunks) GetChunks() []uint32

func (*PersistChunks) GetDbName

func (x *PersistChunks) GetDbName() string

func (*PersistChunks) GetPartitionKey

func (x *PersistChunks) GetPartitionKey() string

func (*PersistChunks) GetTableName

func (x *PersistChunks) GetTableName() string

func (*PersistChunks) ProtoMessage

func (*PersistChunks) ProtoMessage()

func (*PersistChunks) ProtoReflect

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

func (*PersistChunks) Reset

func (x *PersistChunks) Reset()

func (*PersistChunks) String

func (x *PersistChunks) String() string

type PersistPartitionRequest

type PersistPartitionRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// the partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// the table name
	TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// contains filtered or unexported fields
}

Request to persist given partition.

func (*PersistPartitionRequest) Descriptor deprecated

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

Deprecated: Use PersistPartitionRequest.ProtoReflect.Descriptor instead.

func (*PersistPartitionRequest) GetDbName

func (x *PersistPartitionRequest) GetDbName() string

func (*PersistPartitionRequest) GetPartitionKey

func (x *PersistPartitionRequest) GetPartitionKey() string

func (*PersistPartitionRequest) GetTableName

func (x *PersistPartitionRequest) GetTableName() string

func (*PersistPartitionRequest) ProtoMessage

func (*PersistPartitionRequest) ProtoMessage()

func (*PersistPartitionRequest) ProtoReflect

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

func (*PersistPartitionRequest) Reset

func (x *PersistPartitionRequest) Reset()

func (*PersistPartitionRequest) String

func (x *PersistPartitionRequest) String() string

type PersistPartitionResponse

type PersistPartitionResponse struct {
	// contains filtered or unexported fields
}

func (*PersistPartitionResponse) Descriptor deprecated

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

Deprecated: Use PersistPartitionResponse.ProtoReflect.Descriptor instead.

func (*PersistPartitionResponse) ProtoMessage

func (*PersistPartitionResponse) ProtoMessage()

func (*PersistPartitionResponse) ProtoReflect

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

func (*PersistPartitionResponse) Reset

func (x *PersistPartitionResponse) Reset()

func (*PersistPartitionResponse) String

func (x *PersistPartitionResponse) String() string

type Remote

type Remote struct {

	// The server ID associated with a remote IOx server.
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The address of the remote IOx server gRPC endpoint.
	ConnectionString string `protobuf:"bytes,2,opt,name=connection_string,json=connectionString,proto3" json:"connection_string,omitempty"`
	// contains filtered or unexported fields
}

This resource represents a remote IOx server.

func (*Remote) Descriptor deprecated

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

Deprecated: Use Remote.ProtoReflect.Descriptor instead.

func (*Remote) GetConnectionString

func (x *Remote) GetConnectionString() string

func (*Remote) GetId

func (x *Remote) GetId() uint32

func (*Remote) ProtoMessage

func (*Remote) ProtoMessage()

func (*Remote) ProtoReflect

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

func (*Remote) Reset

func (x *Remote) Reset()

func (*Remote) String

func (x *Remote) String() string

type RestoreDatabaseRequest

type RestoreDatabaseRequest struct {

	// The generation ID of the deleted database.
	GenerationId uint64 `protobuf:"varint,1,opt,name=generation_id,json=generationId,proto3" json:"generation_id,omitempty"`
	// the name of the database
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreDatabaseRequest) Descriptor deprecated

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

Deprecated: Use RestoreDatabaseRequest.ProtoReflect.Descriptor instead.

func (*RestoreDatabaseRequest) GetDbName

func (x *RestoreDatabaseRequest) GetDbName() string

func (*RestoreDatabaseRequest) GetGenerationId

func (x *RestoreDatabaseRequest) GetGenerationId() uint64

func (*RestoreDatabaseRequest) ProtoMessage

func (*RestoreDatabaseRequest) ProtoMessage()

func (*RestoreDatabaseRequest) ProtoReflect

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

func (*RestoreDatabaseRequest) Reset

func (x *RestoreDatabaseRequest) Reset()

func (*RestoreDatabaseRequest) String

func (x *RestoreDatabaseRequest) String() string

type RestoreDatabaseResponse

type RestoreDatabaseResponse struct {
	// contains filtered or unexported fields
}

func (*RestoreDatabaseResponse) Descriptor deprecated

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

Deprecated: Use RestoreDatabaseResponse.ProtoReflect.Descriptor instead.

func (*RestoreDatabaseResponse) ProtoMessage

func (*RestoreDatabaseResponse) ProtoMessage()

func (*RestoreDatabaseResponse) ProtoReflect

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

func (*RestoreDatabaseResponse) Reset

func (x *RestoreDatabaseResponse) Reset()

func (*RestoreDatabaseResponse) String

func (x *RestoreDatabaseResponse) String() string

type RoutingConfig

type RoutingConfig struct {
	Sink *Sink `protobuf:"bytes,2,opt,name=sink,proto3" json:"sink,omitempty"`
	// contains filtered or unexported fields
}

func (*RoutingConfig) Descriptor deprecated

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

Deprecated: Use RoutingConfig.ProtoReflect.Descriptor instead.

func (*RoutingConfig) GetSink

func (x *RoutingConfig) GetSink() *Sink

func (*RoutingConfig) ProtoMessage

func (*RoutingConfig) ProtoMessage()

func (*RoutingConfig) ProtoReflect

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

func (*RoutingConfig) Reset

func (x *RoutingConfig) Reset()

func (*RoutingConfig) String

func (x *RoutingConfig) String() string

type ServerStatus

type ServerStatus struct {

	// Server is initialized, i.e. databases are loaded and accept read/write operations. Furthermore database rules can
	// be updaded and new databases can be created.
	Initialized bool `protobuf:"varint,1,opt,name=initialized,proto3" json:"initialized,omitempty"`
	// If present, the server reports a global error condition.
	Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// If `initialized` is true, this contains a complete list of databases.
	DatabaseStatuses []*DatabaseStatus `protobuf:"bytes,3,rep,name=database_statuses,json=databaseStatuses,proto3" json:"database_statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerStatus) Descriptor deprecated

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

Deprecated: Use ServerStatus.ProtoReflect.Descriptor instead.

func (*ServerStatus) GetDatabaseStatuses

func (x *ServerStatus) GetDatabaseStatuses() []*DatabaseStatus

func (*ServerStatus) GetError

func (x *ServerStatus) GetError() *Error

func (*ServerStatus) GetInitialized

func (x *ServerStatus) GetInitialized() bool

func (*ServerStatus) ProtoMessage

func (*ServerStatus) ProtoMessage()

func (*ServerStatus) ProtoReflect

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

func (*ServerStatus) Reset

func (x *ServerStatus) Reset()

func (*ServerStatus) String

func (x *ServerStatus) String() string

type SetServingReadinessRequest

type SetServingReadinessRequest struct {

	// If false, the IOx server will respond with UNAVAILABLE to all data plane requests.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	// contains filtered or unexported fields
}

func (*SetServingReadinessRequest) Descriptor deprecated

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

Deprecated: Use SetServingReadinessRequest.ProtoReflect.Descriptor instead.

func (*SetServingReadinessRequest) GetReady

func (x *SetServingReadinessRequest) GetReady() bool

func (*SetServingReadinessRequest) ProtoMessage

func (*SetServingReadinessRequest) ProtoMessage()

func (*SetServingReadinessRequest) ProtoReflect

func (*SetServingReadinessRequest) Reset

func (x *SetServingReadinessRequest) Reset()

func (*SetServingReadinessRequest) String

func (x *SetServingReadinessRequest) String() string

type SetServingReadinessResponse

type SetServingReadinessResponse struct {
	// contains filtered or unexported fields
}

func (*SetServingReadinessResponse) Descriptor deprecated

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

Deprecated: Use SetServingReadinessResponse.ProtoReflect.Descriptor instead.

func (*SetServingReadinessResponse) ProtoMessage

func (*SetServingReadinessResponse) ProtoMessage()

func (*SetServingReadinessResponse) ProtoReflect

func (*SetServingReadinessResponse) Reset

func (x *SetServingReadinessResponse) Reset()

func (*SetServingReadinessResponse) String

func (x *SetServingReadinessResponse) String() string

type ShardConfig

type ShardConfig struct {

	/// Each matcher, if any, is evaluated in order.
	/// If there is a match, the route will be evaluated to
	/// the given targets, otherwise the hash ring will be evaluated.
	/// This is useful for overriding the hashring function on some hot spot. For
	/// example, if you use the table name as the input to the hash function
	/// and your ring has 4 slots. If two tables that are very hot get
	/// assigned to the same slot you can override that by putting in a
	/// specific matcher to pull that table over to a different node.
	SpecificTargets []*MatcherToShard `protobuf:"bytes,1,rep,name=specific_targets,json=specificTargets,proto3" json:"specific_targets,omitempty"`
	/// An optional default hasher which will route to one in a collection of
	/// nodes.
	HashRing *HashRing `protobuf:"bytes,2,opt,name=hash_ring,json=hashRing,proto3" json:"hash_ring,omitempty"`
	/// If set to true the router will ignore any errors sent by the remote
	/// targets in this route. That is, the write request will succeed
	/// regardless of this route's success.
	IgnoreErrors bool `protobuf:"varint,3,opt,name=ignore_errors,json=ignoreErrors,proto3" json:"ignore_errors,omitempty"`
	/// Mapping between shard IDs and node groups. Other sharding rules use
	/// ShardId as targets.
	Shards map[uint32]*Sink `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

`ShardConfig` defines rules for assigning a line/row to an individual host or a group of hosts. A shard is a logical concept, but the usage is meant to split data into mutually exclusive areas. The rough order of organization is: database -> shard -> partition -> chunk. For example, you could shard based on table name and assign to 1 of 10 shards. Within each shard you would have partitions, which would likely be based off time. This makes it possible to horizontally scale out writes.

func (*ShardConfig) Descriptor deprecated

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

Deprecated: Use ShardConfig.ProtoReflect.Descriptor instead.

func (*ShardConfig) GetHashRing

func (x *ShardConfig) GetHashRing() *HashRing

func (*ShardConfig) GetIgnoreErrors

func (x *ShardConfig) GetIgnoreErrors() bool

func (*ShardConfig) GetShards

func (x *ShardConfig) GetShards() map[uint32]*Sink

func (*ShardConfig) GetSpecificTargets

func (x *ShardConfig) GetSpecificTargets() []*MatcherToShard

func (*ShardConfig) ProtoMessage

func (*ShardConfig) ProtoMessage()

func (*ShardConfig) ProtoReflect

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

func (*ShardConfig) Reset

func (x *ShardConfig) Reset()

func (*ShardConfig) String

func (x *ShardConfig) String() string

type Sink

type Sink struct {

	// Types that are assignable to Sink:
	//	*Sink_Iox
	//	*Sink_Kafka
	//	*Sink_DevNull
	Sink isSink_Sink `protobuf_oneof:"sink"`
	// contains filtered or unexported fields
}

Configuration for a specific sink

func (*Sink) Descriptor deprecated

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

Deprecated: Use Sink.ProtoReflect.Descriptor instead.

func (*Sink) GetDevNull

func (x *Sink) GetDevNull() *DevNull

func (*Sink) GetIox

func (x *Sink) GetIox() *NodeGroup

func (*Sink) GetKafka

func (x *Sink) GetKafka() *KafkaProducer

func (*Sink) GetSink

func (m *Sink) GetSink() isSink_Sink

func (*Sink) ProtoMessage

func (*Sink) ProtoMessage()

func (*Sink) ProtoReflect

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

func (*Sink) Reset

func (x *Sink) Reset()

func (*Sink) String

func (x *Sink) String() string

type Sink_DevNull

type Sink_DevNull struct {
	DevNull *DevNull `protobuf:"bytes,3,opt,name=dev_null,json=devNull,proto3,oneof"`
}

type Sink_Iox

type Sink_Iox struct {
	Iox *NodeGroup `protobuf:"bytes,1,opt,name=iox,proto3,oneof"`
}

type Sink_Kafka

type Sink_Kafka struct {
	Kafka *KafkaProducer `protobuf:"bytes,2,opt,name=kafka,proto3,oneof"`
}

type SkipReplayRequest

type SkipReplayRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

Request to skip replay.

func (*SkipReplayRequest) Descriptor deprecated

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

Deprecated: Use SkipReplayRequest.ProtoReflect.Descriptor instead.

func (*SkipReplayRequest) GetDbName

func (x *SkipReplayRequest) GetDbName() string

func (*SkipReplayRequest) ProtoMessage

func (*SkipReplayRequest) ProtoMessage()

func (*SkipReplayRequest) ProtoReflect

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

func (*SkipReplayRequest) Reset

func (x *SkipReplayRequest) Reset()

func (*SkipReplayRequest) String

func (x *SkipReplayRequest) String() string

type SkipReplayResponse

type SkipReplayResponse struct {
	// contains filtered or unexported fields
}

func (*SkipReplayResponse) Descriptor deprecated

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

Deprecated: Use SkipReplayResponse.ProtoReflect.Descriptor instead.

func (*SkipReplayResponse) ProtoMessage

func (*SkipReplayResponse) ProtoMessage()

func (*SkipReplayResponse) ProtoReflect

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

func (*SkipReplayResponse) Reset

func (x *SkipReplayResponse) Reset()

func (*SkipReplayResponse) String

func (x *SkipReplayResponse) String() string

type UnimplementedManagementServiceServer

type UnimplementedManagementServiceServer struct {
}

UnimplementedManagementServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedManagementServiceServer) ClosePartitionChunk

func (UnimplementedManagementServiceServer) CreateDatabase

func (UnimplementedManagementServiceServer) CreateDummyJob

func (UnimplementedManagementServiceServer) Delete

func (UnimplementedManagementServiceServer) DeleteDatabase

func (UnimplementedManagementServiceServer) DeleteRemote

func (UnimplementedManagementServiceServer) DropPartition

func (UnimplementedManagementServiceServer) GetDatabase

func (UnimplementedManagementServiceServer) GetPartition

func (UnimplementedManagementServiceServer) GetServerId

func (UnimplementedManagementServiceServer) GetServerStatus

func (UnimplementedManagementServiceServer) ListChunks

func (UnimplementedManagementServiceServer) ListDatabases

func (UnimplementedManagementServiceServer) ListDeletedDatabases

func (UnimplementedManagementServiceServer) ListPartitionChunks

func (UnimplementedManagementServiceServer) ListPartitions

func (UnimplementedManagementServiceServer) ListRemotes

func (UnimplementedManagementServiceServer) NewPartitionChunk

func (UnimplementedManagementServiceServer) PersistPartition

func (UnimplementedManagementServiceServer) RestoreDatabase

func (UnimplementedManagementServiceServer) SetServingReadiness

func (UnimplementedManagementServiceServer) SkipReplay

func (UnimplementedManagementServiceServer) UnloadPartitionChunk

func (UnimplementedManagementServiceServer) UpdateDatabase

func (UnimplementedManagementServiceServer) UpdateRemote

func (UnimplementedManagementServiceServer) UpdateServerId

func (UnimplementedManagementServiceServer) WipePreservedCatalog

type UnloadPartitionChunkRequest

type UnloadPartitionChunkRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// the partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// the table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// the chunk id
	ChunkId uint32 `protobuf:"varint,3,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
	// contains filtered or unexported fields
}

Request to unload chunk from read buffer but keep it in object store

func (*UnloadPartitionChunkRequest) Descriptor deprecated

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

Deprecated: Use UnloadPartitionChunkRequest.ProtoReflect.Descriptor instead.

func (*UnloadPartitionChunkRequest) GetChunkId

func (x *UnloadPartitionChunkRequest) GetChunkId() uint32

func (*UnloadPartitionChunkRequest) GetDbName

func (x *UnloadPartitionChunkRequest) GetDbName() string

func (*UnloadPartitionChunkRequest) GetPartitionKey

func (x *UnloadPartitionChunkRequest) GetPartitionKey() string

func (*UnloadPartitionChunkRequest) GetTableName

func (x *UnloadPartitionChunkRequest) GetTableName() string

func (*UnloadPartitionChunkRequest) ProtoMessage

func (*UnloadPartitionChunkRequest) ProtoMessage()

func (*UnloadPartitionChunkRequest) ProtoReflect

func (*UnloadPartitionChunkRequest) Reset

func (x *UnloadPartitionChunkRequest) Reset()

func (*UnloadPartitionChunkRequest) String

func (x *UnloadPartitionChunkRequest) String() string

type UnloadPartitionChunkResponse

type UnloadPartitionChunkResponse struct {
	// contains filtered or unexported fields
}

func (*UnloadPartitionChunkResponse) Descriptor deprecated

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

Deprecated: Use UnloadPartitionChunkResponse.ProtoReflect.Descriptor instead.

func (*UnloadPartitionChunkResponse) ProtoMessage

func (*UnloadPartitionChunkResponse) ProtoMessage()

func (*UnloadPartitionChunkResponse) ProtoReflect

func (*UnloadPartitionChunkResponse) Reset

func (x *UnloadPartitionChunkResponse) Reset()

func (*UnloadPartitionChunkResponse) String

type UnsafeManagementServiceServer

type UnsafeManagementServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagementServiceServer will result in compilation errors.

type UpdateDatabaseRequest

type UpdateDatabaseRequest struct {

	// The rule's `name` field is used to identify the database rules to be updated.
	Rules *DatabaseRules `protobuf:"bytes,1,opt,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

Update a database.

func (*UpdateDatabaseRequest) Descriptor deprecated

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

Deprecated: Use UpdateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*UpdateDatabaseRequest) GetRules

func (x *UpdateDatabaseRequest) GetRules() *DatabaseRules

func (*UpdateDatabaseRequest) ProtoMessage

func (*UpdateDatabaseRequest) ProtoMessage()

func (*UpdateDatabaseRequest) ProtoReflect

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

func (*UpdateDatabaseRequest) Reset

func (x *UpdateDatabaseRequest) Reset()

func (*UpdateDatabaseRequest) String

func (x *UpdateDatabaseRequest) String() string

type UpdateDatabaseResponse

type UpdateDatabaseResponse struct {
	Rules *DatabaseRules `protobuf:"bytes,1,opt,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDatabaseResponse) Descriptor deprecated

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

Deprecated: Use UpdateDatabaseResponse.ProtoReflect.Descriptor instead.

func (*UpdateDatabaseResponse) GetRules

func (x *UpdateDatabaseResponse) GetRules() *DatabaseRules

func (*UpdateDatabaseResponse) ProtoMessage

func (*UpdateDatabaseResponse) ProtoMessage()

func (*UpdateDatabaseResponse) ProtoReflect

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

func (*UpdateDatabaseResponse) Reset

func (x *UpdateDatabaseResponse) Reset()

func (*UpdateDatabaseResponse) String

func (x *UpdateDatabaseResponse) String() string

type UpdateRemoteRequest

type UpdateRemoteRequest struct {

	// If omitted, the remote associated with `id` will be removed.
	Remote *Remote `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
	// contains filtered or unexported fields
}

Updates information about a remote IOx server.

If a remote for a given `id` already exists, it is updated in place.

func (*UpdateRemoteRequest) Descriptor deprecated

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

Deprecated: Use UpdateRemoteRequest.ProtoReflect.Descriptor instead.

func (*UpdateRemoteRequest) GetRemote

func (x *UpdateRemoteRequest) GetRemote() *Remote

func (*UpdateRemoteRequest) ProtoMessage

func (*UpdateRemoteRequest) ProtoMessage()

func (*UpdateRemoteRequest) ProtoReflect

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

func (*UpdateRemoteRequest) Reset

func (x *UpdateRemoteRequest) Reset()

func (*UpdateRemoteRequest) String

func (x *UpdateRemoteRequest) String() string

type UpdateRemoteResponse

type UpdateRemoteResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateRemoteResponse) Descriptor deprecated

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

Deprecated: Use UpdateRemoteResponse.ProtoReflect.Descriptor instead.

func (*UpdateRemoteResponse) ProtoMessage

func (*UpdateRemoteResponse) ProtoMessage()

func (*UpdateRemoteResponse) ProtoReflect

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

func (*UpdateRemoteResponse) Reset

func (x *UpdateRemoteResponse) Reset()

func (*UpdateRemoteResponse) String

func (x *UpdateRemoteResponse) String() string

type UpdateServerIdRequest

type UpdateServerIdRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateServerIdRequest) Descriptor deprecated

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

Deprecated: Use UpdateServerIdRequest.ProtoReflect.Descriptor instead.

func (*UpdateServerIdRequest) GetId

func (x *UpdateServerIdRequest) GetId() uint32

func (*UpdateServerIdRequest) ProtoMessage

func (*UpdateServerIdRequest) ProtoMessage()

func (*UpdateServerIdRequest) ProtoReflect

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

func (*UpdateServerIdRequest) Reset

func (x *UpdateServerIdRequest) Reset()

func (*UpdateServerIdRequest) String

func (x *UpdateServerIdRequest) String() string

type UpdateServerIdResponse

type UpdateServerIdResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateServerIdResponse) Descriptor deprecated

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

Deprecated: Use UpdateServerIdResponse.ProtoReflect.Descriptor instead.

func (*UpdateServerIdResponse) ProtoMessage

func (*UpdateServerIdResponse) ProtoMessage()

func (*UpdateServerIdResponse) ProtoReflect

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

func (*UpdateServerIdResponse) Reset

func (x *UpdateServerIdResponse) Reset()

func (*UpdateServerIdResponse) String

func (x *UpdateServerIdResponse) String() string

type WipePreservedCatalog

type WipePreservedCatalog struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

Wipe preserved catalog

func (*WipePreservedCatalog) Descriptor deprecated

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

Deprecated: Use WipePreservedCatalog.ProtoReflect.Descriptor instead.

func (*WipePreservedCatalog) GetDbName

func (x *WipePreservedCatalog) GetDbName() string

func (*WipePreservedCatalog) ProtoMessage

func (*WipePreservedCatalog) ProtoMessage()

func (*WipePreservedCatalog) ProtoReflect

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

func (*WipePreservedCatalog) Reset

func (x *WipePreservedCatalog) Reset()

func (*WipePreservedCatalog) String

func (x *WipePreservedCatalog) String() string

type WipePreservedCatalogRequest

type WipePreservedCatalogRequest struct {

	// the name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// contains filtered or unexported fields
}

Request to wipe preserved catalog.

func (*WipePreservedCatalogRequest) Descriptor deprecated

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

Deprecated: Use WipePreservedCatalogRequest.ProtoReflect.Descriptor instead.

func (*WipePreservedCatalogRequest) GetDbName

func (x *WipePreservedCatalogRequest) GetDbName() string

func (*WipePreservedCatalogRequest) ProtoMessage

func (*WipePreservedCatalogRequest) ProtoMessage()

func (*WipePreservedCatalogRequest) ProtoReflect

func (*WipePreservedCatalogRequest) Reset

func (x *WipePreservedCatalogRequest) Reset()

func (*WipePreservedCatalogRequest) String

func (x *WipePreservedCatalogRequest) String() string

type WipePreservedCatalogResponse

type WipePreservedCatalogResponse struct {

	// The operation that tracks the work for wiping the catalog.
	Operation *longrunning.Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*WipePreservedCatalogResponse) Descriptor deprecated

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

Deprecated: Use WipePreservedCatalogResponse.ProtoReflect.Descriptor instead.

func (*WipePreservedCatalogResponse) GetOperation

func (*WipePreservedCatalogResponse) ProtoMessage

func (*WipePreservedCatalogResponse) ProtoMessage()

func (*WipePreservedCatalogResponse) ProtoReflect

func (*WipePreservedCatalogResponse) Reset

func (x *WipePreservedCatalogResponse) Reset()

func (*WipePreservedCatalogResponse) String

type WriteBufferConnection

type WriteBufferConnection struct {

	// If the buffer is used for reading or writing.
	Direction WriteBufferConnection_Direction `` /* 138-byte string literal not displayed */
	// Which type should be used (e.g. "kafka", "mock")
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Connection string, depends on `type`.
	Connection string `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
	// Special configs to be applied when establishing the connection.
	//
	// This depends on `type` and can configure aspects like timeouts.
	ConnectionConfig map[string]string `` /* 197-byte string literal not displayed */
	// Specifies if the sequencers (e.g. for Kafka in form of a topic w/ `n_sequencers` partitions) should be
	// automatically created if they do not existing prior to reading or writing.
	CreationConfig *WriteBufferCreationConfig `protobuf:"bytes,8,opt,name=creation_config,json=creationConfig,proto3" json:"creation_config,omitempty"`
	// contains filtered or unexported fields
}

Configures the use of a write buffer.

func (*WriteBufferConnection) Descriptor deprecated

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

Deprecated: Use WriteBufferConnection.ProtoReflect.Descriptor instead.

func (*WriteBufferConnection) GetConnection

func (x *WriteBufferConnection) GetConnection() string

func (*WriteBufferConnection) GetConnectionConfig

func (x *WriteBufferConnection) GetConnectionConfig() map[string]string

func (*WriteBufferConnection) GetCreationConfig

func (x *WriteBufferConnection) GetCreationConfig() *WriteBufferCreationConfig

func (*WriteBufferConnection) GetDirection

func (*WriteBufferConnection) GetType

func (x *WriteBufferConnection) GetType() string

func (*WriteBufferConnection) ProtoMessage

func (*WriteBufferConnection) ProtoMessage()

func (*WriteBufferConnection) ProtoReflect

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

func (*WriteBufferConnection) Reset

func (x *WriteBufferConnection) Reset()

func (*WriteBufferConnection) String

func (x *WriteBufferConnection) String() string

type WriteBufferConnection_Direction

type WriteBufferConnection_Direction int32
const (
	// Unspecified direction, will be treated as an error.
	WriteBufferConnection_DIRECTION_UNSPECIFIED WriteBufferConnection_Direction = 0
	// Writes into the buffer aka "producer".
	WriteBufferConnection_DIRECTION_WRITE WriteBufferConnection_Direction = 1
	// Reads from the buffer aka "consumer".
	WriteBufferConnection_DIRECTION_READ WriteBufferConnection_Direction = 2
)

func (WriteBufferConnection_Direction) Descriptor

func (WriteBufferConnection_Direction) Enum

func (WriteBufferConnection_Direction) EnumDescriptor deprecated

func (WriteBufferConnection_Direction) EnumDescriptor() ([]byte, []int)

Deprecated: Use WriteBufferConnection_Direction.Descriptor instead.

func (WriteBufferConnection_Direction) Number

func (WriteBufferConnection_Direction) String

func (WriteBufferConnection_Direction) Type

type WriteBufferCreationConfig

type WriteBufferCreationConfig struct {

	// Number of sequencers.
	//
	// Defaults to 1.
	//
	// How they are implemented depends on `type`, e.g. for Kafka this is mapped to the number of partitions.
	NSequencers uint32 `protobuf:"varint,1,opt,name=n_sequencers,json=nSequencers,proto3" json:"n_sequencers,omitempty"`
	// Special configs to by applied when sequencers are created.
	//
	// This depends on `type` and can setup parameters like retention policy.
	Options map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configs sequencer auto-creation for write buffers.

What that means depends on the used write buffer, e.g. for Kafka this will create a new topic w/ `n_sequencers` partitions.

func (*WriteBufferCreationConfig) Descriptor deprecated

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

Deprecated: Use WriteBufferCreationConfig.ProtoReflect.Descriptor instead.

func (*WriteBufferCreationConfig) GetNSequencers

func (x *WriteBufferCreationConfig) GetNSequencers() uint32

func (*WriteBufferCreationConfig) GetOptions

func (x *WriteBufferCreationConfig) GetOptions() map[string]string

func (*WriteBufferCreationConfig) ProtoMessage

func (*WriteBufferCreationConfig) ProtoMessage()

func (*WriteBufferCreationConfig) ProtoReflect

func (*WriteBufferCreationConfig) Reset

func (x *WriteBufferCreationConfig) Reset()

func (*WriteBufferCreationConfig) String

func (x *WriteBufferCreationConfig) String() string

type WriteChunk

type WriteChunk struct {

	// name of the database
	DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// partition key
	PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"`
	// table name
	TableName string `protobuf:"bytes,4,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// chunk_id
	ChunkId uint32 `protobuf:"varint,3,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"`
	// contains filtered or unexported fields
}

Write a chunk from read buffer to object store

func (*WriteChunk) Descriptor deprecated

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

Deprecated: Use WriteChunk.ProtoReflect.Descriptor instead.

func (*WriteChunk) GetChunkId

func (x *WriteChunk) GetChunkId() uint32

func (*WriteChunk) GetDbName

func (x *WriteChunk) GetDbName() string

func (*WriteChunk) GetPartitionKey

func (x *WriteChunk) GetPartitionKey() string

func (*WriteChunk) GetTableName

func (x *WriteChunk) GetTableName() string

func (*WriteChunk) ProtoMessage

func (*WriteChunk) ProtoMessage()

func (*WriteChunk) ProtoReflect

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

func (*WriteChunk) Reset

func (x *WriteChunk) Reset()

func (*WriteChunk) String

func (x *WriteChunk) String() string

Jump to

Keyboard shortcuts

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