Documentation
¶
Index ¶
- Variables
- func RegisterFrostDBServiceServer(s grpc.ServiceRegistrar, srv FrostDBServiceServer)
- type Aggregation
- func (*Aggregation) Descriptor() ([]byte, []int)deprecated
- func (x *Aggregation) GetAggExprs() []*Expr
- func (x *Aggregation) GetGroupExprs() []*Expr
- func (m *Aggregation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Aggregation) MarshalToVT(dAtA []byte) (int, error)
- func (m *Aggregation) MarshalVT() (dAtA []byte, err error)
- func (*Aggregation) ProtoMessage()
- func (x *Aggregation) ProtoReflect() protoreflect.Message
- func (x *Aggregation) Reset()
- func (m *Aggregation) SizeVT() (n int)
- func (x *Aggregation) String() string
- func (m *Aggregation) UnmarshalVT(dAtA []byte) error
- type AggregationFunction
- func (*AggregationFunction) Descriptor() ([]byte, []int)deprecated
- func (x *AggregationFunction) GetExpr() *Expr
- func (x *AggregationFunction) GetType() AggregationFunction_Type
- func (m *AggregationFunction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AggregationFunction) MarshalToVT(dAtA []byte) (int, error)
- func (m *AggregationFunction) MarshalVT() (dAtA []byte, err error)
- func (*AggregationFunction) ProtoMessage()
- func (x *AggregationFunction) ProtoReflect() protoreflect.Message
- func (x *AggregationFunction) Reset()
- func (m *AggregationFunction) SizeVT() (n int)
- func (x *AggregationFunction) String() string
- func (m *AggregationFunction) UnmarshalVT(dAtA []byte) error
- type AggregationFunction_Type
- func (AggregationFunction_Type) Descriptor() protoreflect.EnumDescriptor
- func (x AggregationFunction_Type) Enum() *AggregationFunction_Type
- func (AggregationFunction_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x AggregationFunction_Type) Number() protoreflect.EnumNumber
- func (x AggregationFunction_Type) String() string
- func (AggregationFunction_Type) Type() protoreflect.EnumType
- type Alias
- func (*Alias) Descriptor() ([]byte, []int)deprecated
- func (x *Alias) GetExpr() *Expr
- func (x *Alias) GetName() string
- func (m *Alias) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Alias) MarshalToVT(dAtA []byte) (int, error)
- func (m *Alias) MarshalVT() (dAtA []byte, err error)
- func (*Alias) ProtoMessage()
- func (x *Alias) ProtoReflect() protoreflect.Message
- func (x *Alias) Reset()
- func (m *Alias) SizeVT() (n int)
- func (x *Alias) String() string
- func (m *Alias) UnmarshalVT(dAtA []byte) error
- type BinaryExpr
- func (*BinaryExpr) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryExpr) GetLeft() *Expr
- func (x *BinaryExpr) GetOp() Op
- func (x *BinaryExpr) GetRight() *Expr
- func (m *BinaryExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BinaryExpr) MarshalToVT(dAtA []byte) (int, error)
- func (m *BinaryExpr) MarshalVT() (dAtA []byte, err error)
- func (*BinaryExpr) ProtoMessage()
- func (x *BinaryExpr) ProtoReflect() protoreflect.Message
- func (x *BinaryExpr) Reset()
- func (m *BinaryExpr) SizeVT() (n int)
- func (x *BinaryExpr) String() string
- func (m *BinaryExpr) UnmarshalVT(dAtA []byte) error
- type Column
- func (*Column) Descriptor() ([]byte, []int)deprecated
- func (x *Column) GetName() string
- func (m *Column) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Column) MarshalToVT(dAtA []byte) (int, error)
- func (m *Column) MarshalVT() (dAtA []byte, err error)
- func (*Column) ProtoMessage()
- func (x *Column) ProtoReflect() protoreflect.Message
- func (x *Column) Reset()
- func (m *Column) SizeVT() (n int)
- func (x *Column) String() string
- func (m *Column) UnmarshalVT(dAtA []byte) error
- type ConvertExpr
- func (*ConvertExpr) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertExpr) GetExpr() *Expr
- func (x *ConvertExpr) GetType() Type
- func (m *ConvertExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConvertExpr) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConvertExpr) MarshalVT() (dAtA []byte, err error)
- func (*ConvertExpr) ProtoMessage()
- func (x *ConvertExpr) ProtoReflect() protoreflect.Message
- func (x *ConvertExpr) Reset()
- func (m *ConvertExpr) SizeVT() (n int)
- func (x *ConvertExpr) String() string
- func (m *ConvertExpr) UnmarshalVT(dAtA []byte) error
- type Distinct
- func (*Distinct) Descriptor() ([]byte, []int)deprecated
- func (x *Distinct) GetExprs() []*Expr
- func (m *Distinct) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Distinct) MarshalToVT(dAtA []byte) (int, error)
- func (m *Distinct) MarshalVT() (dAtA []byte, err error)
- func (*Distinct) ProtoMessage()
- func (x *Distinct) ProtoReflect() protoreflect.Message
- func (x *Distinct) Reset()
- func (m *Distinct) SizeVT() (n int)
- func (x *Distinct) String() string
- func (m *Distinct) UnmarshalVT(dAtA []byte) error
- type DurationExpr
- func (*DurationExpr) Descriptor() ([]byte, []int)deprecated
- func (x *DurationExpr) GetMilliseconds() int64
- func (m *DurationExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DurationExpr) MarshalToVT(dAtA []byte) (int, error)
- func (m *DurationExpr) MarshalVT() (dAtA []byte, err error)
- func (*DurationExpr) ProtoMessage()
- func (x *DurationExpr) ProtoReflect() protoreflect.Message
- func (x *DurationExpr) Reset()
- func (m *DurationExpr) SizeVT() (n int)
- func (x *DurationExpr) String() string
- func (m *DurationExpr) UnmarshalVT(dAtA []byte) error
- type DynamicColumn
- func (*DynamicColumn) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicColumn) GetName() string
- func (m *DynamicColumn) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DynamicColumn) MarshalToVT(dAtA []byte) (int, error)
- func (m *DynamicColumn) MarshalVT() (dAtA []byte, err error)
- func (*DynamicColumn) ProtoMessage()
- func (x *DynamicColumn) ProtoReflect() protoreflect.Message
- func (x *DynamicColumn) Reset()
- func (m *DynamicColumn) SizeVT() (n int)
- func (x *DynamicColumn) String() string
- func (m *DynamicColumn) UnmarshalVT(dAtA []byte) error
- type Expr
- func (*Expr) Descriptor() ([]byte, []int)deprecated
- func (x *Expr) GetDef() *ExprDef
- func (m *Expr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Expr) MarshalToVT(dAtA []byte) (int, error)
- func (m *Expr) MarshalVT() (dAtA []byte, err error)
- func (*Expr) ProtoMessage()
- func (x *Expr) ProtoReflect() protoreflect.Message
- func (x *Expr) Reset()
- func (m *Expr) SizeVT() (n int)
- func (x *Expr) String() string
- func (m *Expr) UnmarshalVT(dAtA []byte) error
- type ExprDef
- func (*ExprDef) Descriptor() ([]byte, []int)deprecated
- func (x *ExprDef) GetAggregationFunction() *AggregationFunction
- func (x *ExprDef) GetAlias() *Alias
- func (x *ExprDef) GetBinaryExpr() *BinaryExpr
- func (x *ExprDef) GetColumn() *Column
- func (m *ExprDef) GetContent() isExprDef_Content
- func (x *ExprDef) GetConvert() *ConvertExpr
- func (x *ExprDef) GetDuration() *DurationExpr
- func (x *ExprDef) GetDynamicColumn() *DynamicColumn
- func (x *ExprDef) GetIf() *IfExpr
- func (x *ExprDef) GetLiteral() *Literal
- func (m *ExprDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExprDef) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExprDef) MarshalVT() (dAtA []byte, err error)
- func (*ExprDef) ProtoMessage()
- func (x *ExprDef) ProtoReflect() protoreflect.Message
- func (x *ExprDef) Reset()
- func (m *ExprDef) SizeVT() (n int)
- func (x *ExprDef) String() string
- func (m *ExprDef) UnmarshalVT(dAtA []byte) error
- type ExprDef_AggregationFunction
- type ExprDef_Alias
- type ExprDef_BinaryExpr
- type ExprDef_Column
- type ExprDef_Convert
- type ExprDef_Duration
- type ExprDef_DynamicColumn
- type ExprDef_If
- type ExprDef_Literal
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetExpr() *Expr
- func (m *Filter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Filter) MarshalToVT(dAtA []byte) (int, error)
- func (m *Filter) MarshalVT() (dAtA []byte, err error)
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (m *Filter) SizeVT() (n int)
- func (x *Filter) String() string
- func (m *Filter) UnmarshalVT(dAtA []byte) error
- type FrostDBServiceClient
- type FrostDBServiceServer
- type FrostDBService_QueryClient
- type FrostDBService_QueryServer
- type IfExpr
- func (*IfExpr) Descriptor() ([]byte, []int)deprecated
- func (x *IfExpr) GetCondition() *Expr
- func (x *IfExpr) GetElse() *Expr
- func (x *IfExpr) GetThen() *Expr
- func (m *IfExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *IfExpr) MarshalToVT(dAtA []byte) (int, error)
- func (m *IfExpr) MarshalVT() (dAtA []byte, err error)
- func (*IfExpr) ProtoMessage()
- func (x *IfExpr) ProtoReflect() protoreflect.Message
- func (x *IfExpr) Reset()
- func (m *IfExpr) SizeVT() (n int)
- func (x *IfExpr) String() string
- func (m *IfExpr) UnmarshalVT(dAtA []byte) error
- type Limit
- func (*Limit) Descriptor() ([]byte, []int)deprecated
- func (x *Limit) GetExpr() *Expr
- func (m *Limit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Limit) MarshalToVT(dAtA []byte) (int, error)
- func (m *Limit) MarshalVT() (dAtA []byte, err error)
- func (*Limit) ProtoMessage()
- func (x *Limit) ProtoReflect() protoreflect.Message
- func (x *Limit) Reset()
- func (m *Limit) SizeVT() (n int)
- func (x *Limit) String() string
- func (m *Limit) UnmarshalVT(dAtA []byte) error
- type Literal
- func (*Literal) Descriptor() ([]byte, []int)deprecated
- func (x *Literal) GetContent() *LiteralContent
- func (m *Literal) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Literal) MarshalToVT(dAtA []byte) (int, error)
- func (m *Literal) MarshalVT() (dAtA []byte, err error)
- func (*Literal) ProtoMessage()
- func (x *Literal) ProtoReflect() protoreflect.Message
- func (x *Literal) Reset()
- func (m *Literal) SizeVT() (n int)
- func (x *Literal) String() string
- func (m *Literal) UnmarshalVT(dAtA []byte) error
- type LiteralContent
- func (*LiteralContent) Descriptor() ([]byte, []int)deprecated
- func (x *LiteralContent) GetBinaryValue() []byte
- func (x *LiteralContent) GetBoolValue() bool
- func (x *LiteralContent) GetDoubleValue() float64
- func (x *LiteralContent) GetFloatValue() float32
- func (x *LiteralContent) GetInt32Value() int32
- func (x *LiteralContent) GetInt64Value() int64
- func (x *LiteralContent) GetNullValue() *Null
- func (x *LiteralContent) GetStringValue() string
- func (x *LiteralContent) GetUint32Value() uint32
- func (x *LiteralContent) GetUint64Value() uint64
- func (m *LiteralContent) GetValue() isLiteralContent_Value
- func (m *LiteralContent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LiteralContent) MarshalToVT(dAtA []byte) (int, error)
- func (m *LiteralContent) MarshalVT() (dAtA []byte, err error)
- func (*LiteralContent) ProtoMessage()
- func (x *LiteralContent) ProtoReflect() protoreflect.Message
- func (x *LiteralContent) Reset()
- func (m *LiteralContent) SizeVT() (n int)
- func (x *LiteralContent) String() string
- func (m *LiteralContent) UnmarshalVT(dAtA []byte) error
- type LiteralContent_BinaryValue
- type LiteralContent_BoolValue
- type LiteralContent_DoubleValue
- type LiteralContent_FloatValue
- type LiteralContent_Int32Value
- type LiteralContent_Int64Value
- type LiteralContent_NullValue
- type LiteralContent_StringValue
- type LiteralContent_Uint32Value
- type LiteralContent_Uint64Value
- type Null
- func (*Null) Descriptor() ([]byte, []int)deprecated
- func (m *Null) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Null) MarshalToVT(dAtA []byte) (int, error)
- func (m *Null) MarshalVT() (dAtA []byte, err error)
- func (*Null) ProtoMessage()
- func (x *Null) ProtoReflect() protoreflect.Message
- func (x *Null) Reset()
- func (m *Null) SizeVT() (n int)
- func (x *Null) String() string
- func (m *Null) UnmarshalVT(dAtA []byte) error
- type Op
- type PlanNode
- func (*PlanNode) Descriptor() ([]byte, []int)deprecated
- func (x *PlanNode) GetNext() *PlanNode
- func (x *PlanNode) GetSpec() *PlanNodeSpec
- func (m *PlanNode) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PlanNode) MarshalToVT(dAtA []byte) (int, error)
- func (m *PlanNode) MarshalVT() (dAtA []byte, err error)
- func (*PlanNode) ProtoMessage()
- func (x *PlanNode) ProtoReflect() protoreflect.Message
- func (x *PlanNode) Reset()
- func (m *PlanNode) SizeVT() (n int)
- func (x *PlanNode) String() string
- func (m *PlanNode) UnmarshalVT(dAtA []byte) error
- type PlanNodeSpec
- func (*PlanNodeSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PlanNodeSpec) GetAggregation() *Aggregation
- func (x *PlanNodeSpec) GetDistinct() *Distinct
- func (x *PlanNodeSpec) GetFilter() *Filter
- func (x *PlanNodeSpec) GetLimit() *Limit
- func (x *PlanNodeSpec) GetProjection() *Projection
- func (x *PlanNodeSpec) GetSchemaScan() *SchemaScan
- func (m *PlanNodeSpec) GetSpec() isPlanNodeSpec_Spec
- func (x *PlanNodeSpec) GetTableScan() *TableScan
- func (m *PlanNodeSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PlanNodeSpec) MarshalToVT(dAtA []byte) (int, error)
- func (m *PlanNodeSpec) MarshalVT() (dAtA []byte, err error)
- func (*PlanNodeSpec) ProtoMessage()
- func (x *PlanNodeSpec) ProtoReflect() protoreflect.Message
- func (x *PlanNodeSpec) Reset()
- func (m *PlanNodeSpec) SizeVT() (n int)
- func (x *PlanNodeSpec) String() string
- func (m *PlanNodeSpec) UnmarshalVT(dAtA []byte) error
- type PlanNodeSpec_Aggregation
- type PlanNodeSpec_Distinct
- type PlanNodeSpec_Filter
- type PlanNodeSpec_Limit
- type PlanNodeSpec_Projection
- type PlanNodeSpec_SchemaScan
- type PlanNodeSpec_TableScan
- type Projection
- func (*Projection) Descriptor() ([]byte, []int)deprecated
- func (x *Projection) GetExprs() []*Expr
- func (m *Projection) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Projection) MarshalToVT(dAtA []byte) (int, error)
- func (m *Projection) MarshalVT() (dAtA []byte, err error)
- func (*Projection) ProtoMessage()
- func (x *Projection) ProtoReflect() protoreflect.Message
- func (x *Projection) Reset()
- func (m *Projection) SizeVT() (n int)
- func (x *Projection) String() string
- func (m *Projection) UnmarshalVT(dAtA []byte) error
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetDescription() string
- func (x *QueryRequest) GetPlanRoot() *PlanNode
- func (m *QueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryRequest) MarshalVT() (dAtA []byte, err error)
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (m *QueryRequest) SizeVT() (n int)
- func (x *QueryRequest) String() string
- func (m *QueryRequest) UnmarshalVT(dAtA []byte) error
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetRecord() []byte
- func (m *QueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryResponse) MarshalVT() (dAtA []byte, err error)
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (m *QueryResponse) SizeVT() (n int)
- func (x *QueryResponse) String() string
- func (m *QueryResponse) UnmarshalVT(dAtA []byte) error
- type ScanBase
- func (*ScanBase) Descriptor() ([]byte, []int)deprecated
- func (x *ScanBase) GetDatabase() string
- func (x *ScanBase) GetTable() string
- func (m *ScanBase) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScanBase) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScanBase) MarshalVT() (dAtA []byte, err error)
- func (*ScanBase) ProtoMessage()
- func (x *ScanBase) ProtoReflect() protoreflect.Message
- func (x *ScanBase) Reset()
- func (m *ScanBase) SizeVT() (n int)
- func (x *ScanBase) String() string
- func (m *ScanBase) UnmarshalVT(dAtA []byte) error
- type SchemaScan
- func (*SchemaScan) Descriptor() ([]byte, []int)deprecated
- func (x *SchemaScan) GetBase() *ScanBase
- func (m *SchemaScan) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchemaScan) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchemaScan) MarshalVT() (dAtA []byte, err error)
- func (*SchemaScan) ProtoMessage()
- func (x *SchemaScan) ProtoReflect() protoreflect.Message
- func (x *SchemaScan) Reset()
- func (m *SchemaScan) SizeVT() (n int)
- func (x *SchemaScan) String() string
- func (m *SchemaScan) UnmarshalVT(dAtA []byte) error
- type TableScan
- func (*TableScan) Descriptor() ([]byte, []int)deprecated
- func (x *TableScan) GetBase() *ScanBase
- func (m *TableScan) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TableScan) MarshalToVT(dAtA []byte) (int, error)
- func (m *TableScan) MarshalVT() (dAtA []byte, err error)
- func (*TableScan) ProtoMessage()
- func (x *TableScan) ProtoReflect() protoreflect.Message
- func (x *TableScan) Reset()
- func (m *TableScan) SizeVT() (n int)
- func (x *TableScan) String() string
- func (m *TableScan) UnmarshalVT(dAtA []byte) error
- type Type
- type UnimplementedFrostDBServiceServer
- type UnsafeFrostDBServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( Op_name = map[int32]string{ 0: "OP_UNKNOWN_UNSPECIFIED", 1: "OP_EQ", 2: "OP_NOT_EQ", 3: "OP_LT", 4: "OP_LT_EQ", 5: "OP_GT", 6: "OP_GT_EQ", 7: "OP_REGEX_MATCH", 8: "OP_REGEX_NOT_MATCH", 9: "OP_AND", 10: "OP_OR", 11: "OP_ADD", 12: "OP_SUB", 13: "OP_MUL", 14: "OP_DIV", 15: "OP_CONTAINS", 16: "OP_NOT_CONTAINS", } Op_value = map[string]int32{ "OP_UNKNOWN_UNSPECIFIED": 0, "OP_EQ": 1, "OP_NOT_EQ": 2, "OP_LT": 3, "OP_LT_EQ": 4, "OP_GT": 5, "OP_GT_EQ": 6, "OP_REGEX_MATCH": 7, "OP_REGEX_NOT_MATCH": 8, "OP_AND": 9, "OP_OR": 10, "OP_ADD": 11, "OP_SUB": 12, "OP_MUL": 13, "OP_DIV": 14, "OP_CONTAINS": 15, "OP_NOT_CONTAINS": 16, } )
Enum value maps for Op.
var ( Type_name = map[int32]string{ 0: "TYPE_UNKNOWN_UNSPECIFIED", 1: "TYPE_FLOAT64", } Type_value = map[string]int32{ "TYPE_UNKNOWN_UNSPECIFIED": 0, "TYPE_FLOAT64": 1, } )
Enum value maps for Type.
var ( AggregationFunction_Type_name = map[int32]string{ 0: "TYPE_UNKNOWN_UNSPECIFIED", 1: "TYPE_SUM", 2: "TYPE_MIN", 3: "TYPE_MAX", 4: "TYPE_COUNT", 5: "TYPE_AVG", 6: "TYPE_UNIQUE", 7: "TYPE_AND", } AggregationFunction_Type_value = map[string]int32{ "TYPE_UNKNOWN_UNSPECIFIED": 0, "TYPE_SUM": 1, "TYPE_MIN": 2, "TYPE_MAX": 3, "TYPE_COUNT": 4, "TYPE_AVG": 5, "TYPE_UNIQUE": 6, "TYPE_AND": 7, } )
Enum value maps for AggregationFunction_Type.
var File_frostdb_storage_v1alpha1_storage_proto protoreflect.FileDescriptor
var FrostDBService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "frostdb.storage.v1alpha1.FrostDBService", HandlerType: (*FrostDBServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Query", Handler: _FrostDBService_Query_Handler, ServerStreams: true, }, }, Metadata: "frostdb/storage/v1alpha1/storage.proto", }
FrostDBService_ServiceDesc is the grpc.ServiceDesc for FrostDBService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFrostDBServiceServer ¶
func RegisterFrostDBServiceServer(s grpc.ServiceRegistrar, srv FrostDBServiceServer)
Types ¶
type Aggregation ¶
type Aggregation struct { // GroupExprs are the expressions to group by. GroupExprs []*Expr `protobuf:"bytes,1,rep,name=group_exprs,json=groupExprs,proto3" json:"group_exprs,omitempty"` // AggExprs are the aggregation functions applied to values of each group. AggExprs []*Expr `protobuf:"bytes,2,rep,name=agg_exprs,json=aggExprs,proto3" json:"agg_exprs,omitempty"` // contains filtered or unexported fields }
Aggregation describes an aggregation node.
func (*Aggregation) Descriptor
deprecated
func (*Aggregation) Descriptor() ([]byte, []int)
Deprecated: Use Aggregation.ProtoReflect.Descriptor instead.
func (*Aggregation) GetAggExprs ¶
func (x *Aggregation) GetAggExprs() []*Expr
func (*Aggregation) GetGroupExprs ¶
func (x *Aggregation) GetGroupExprs() []*Expr
func (*Aggregation) MarshalToSizedBufferVT ¶
func (m *Aggregation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Aggregation) MarshalToVT ¶
func (m *Aggregation) MarshalToVT(dAtA []byte) (int, error)
func (*Aggregation) MarshalVT ¶
func (m *Aggregation) MarshalVT() (dAtA []byte, err error)
func (*Aggregation) ProtoMessage ¶
func (*Aggregation) ProtoMessage()
func (*Aggregation) ProtoReflect ¶
func (x *Aggregation) ProtoReflect() protoreflect.Message
func (*Aggregation) Reset ¶
func (x *Aggregation) Reset()
func (*Aggregation) SizeVT ¶
func (m *Aggregation) SizeVT() (n int)
func (*Aggregation) String ¶
func (x *Aggregation) String() string
func (*Aggregation) UnmarshalVT ¶
func (m *Aggregation) UnmarshalVT(dAtA []byte) error
type AggregationFunction ¶
type AggregationFunction struct { // type is the type of aggregation function. Type AggregationFunction_Type `protobuf:"varint,1,opt,name=type,proto3,enum=frostdb.storage.v1alpha1.AggregationFunction_Type" json:"type,omitempty"` // expr is the expression to aggregate. Expr *Expr `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"` // contains filtered or unexported fields }
AggregationFunction is an aggregation function.
func (*AggregationFunction) Descriptor
deprecated
func (*AggregationFunction) Descriptor() ([]byte, []int)
Deprecated: Use AggregationFunction.ProtoReflect.Descriptor instead.
func (*AggregationFunction) GetExpr ¶
func (x *AggregationFunction) GetExpr() *Expr
func (*AggregationFunction) GetType ¶
func (x *AggregationFunction) GetType() AggregationFunction_Type
func (*AggregationFunction) MarshalToSizedBufferVT ¶
func (m *AggregationFunction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AggregationFunction) MarshalToVT ¶
func (m *AggregationFunction) MarshalToVT(dAtA []byte) (int, error)
func (*AggregationFunction) MarshalVT ¶
func (m *AggregationFunction) MarshalVT() (dAtA []byte, err error)
func (*AggregationFunction) ProtoMessage ¶
func (*AggregationFunction) ProtoMessage()
func (*AggregationFunction) ProtoReflect ¶
func (x *AggregationFunction) ProtoReflect() protoreflect.Message
func (*AggregationFunction) Reset ¶
func (x *AggregationFunction) Reset()
func (*AggregationFunction) SizeVT ¶
func (m *AggregationFunction) SizeVT() (n int)
func (*AggregationFunction) String ¶
func (x *AggregationFunction) String() string
func (*AggregationFunction) UnmarshalVT ¶
func (m *AggregationFunction) UnmarshalVT(dAtA []byte) error
type AggregationFunction_Type ¶
type AggregationFunction_Type int32
Type is the type of aggregation function.
const ( // UNKNOWN_UNSPECIFIED is the default value. It should not be used. AggregationFunction_TYPE_UNKNOWN_UNSPECIFIED AggregationFunction_Type = 0 // SUM is the sum aggregation function. AggregationFunction_TYPE_SUM AggregationFunction_Type = 1 // MIN is the min aggregation function. AggregationFunction_TYPE_MIN AggregationFunction_Type = 2 // MAX is the max aggregation function. AggregationFunction_TYPE_MAX AggregationFunction_Type = 3 // COUNT is the count aggregation function. AggregationFunction_TYPE_COUNT AggregationFunction_Type = 4 // AVG is the avg aggregation function. AggregationFunction_TYPE_AVG AggregationFunction_Type = 5 // UNIQUE is the unique aggregation function. AggregationFunction_TYPE_UNIQUE AggregationFunction_Type = 6 // AND is the and aggregation function. AggregationFunction_TYPE_AND AggregationFunction_Type = 7 )
func (AggregationFunction_Type) Descriptor ¶
func (AggregationFunction_Type) Descriptor() protoreflect.EnumDescriptor
func (AggregationFunction_Type) Enum ¶
func (x AggregationFunction_Type) Enum() *AggregationFunction_Type
func (AggregationFunction_Type) EnumDescriptor
deprecated
func (AggregationFunction_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use AggregationFunction_Type.Descriptor instead.
func (AggregationFunction_Type) Number ¶
func (x AggregationFunction_Type) Number() protoreflect.EnumNumber
func (AggregationFunction_Type) String ¶
func (x AggregationFunction_Type) String() string
func (AggregationFunction_Type) Type ¶
func (AggregationFunction_Type) Type() protoreflect.EnumType
type Alias ¶
type Alias struct { // name is the name of the alias. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // expr is the expression to alias. Expr *Expr `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"` // contains filtered or unexported fields }
Alias is an alias for an expression.
func (*Alias) Descriptor
deprecated
func (*Alias) MarshalToSizedBufferVT ¶
func (*Alias) ProtoMessage ¶
func (*Alias) ProtoMessage()
func (*Alias) ProtoReflect ¶
func (x *Alias) ProtoReflect() protoreflect.Message
func (*Alias) UnmarshalVT ¶
type BinaryExpr ¶
type BinaryExpr struct { // left is the left operand. Left *Expr `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` // right is the right operand. Right *Expr `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` // op is the operator. Op Op `protobuf:"varint,3,opt,name=op,proto3,enum=frostdb.storage.v1alpha1.Op" json:"op,omitempty"` // contains filtered or unexported fields }
BinaryExpression is a binary expression.
func (*BinaryExpr) Descriptor
deprecated
func (*BinaryExpr) Descriptor() ([]byte, []int)
Deprecated: Use BinaryExpr.ProtoReflect.Descriptor instead.
func (*BinaryExpr) GetLeft ¶
func (x *BinaryExpr) GetLeft() *Expr
func (*BinaryExpr) GetOp ¶
func (x *BinaryExpr) GetOp() Op
func (*BinaryExpr) GetRight ¶
func (x *BinaryExpr) GetRight() *Expr
func (*BinaryExpr) MarshalToSizedBufferVT ¶
func (m *BinaryExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BinaryExpr) MarshalToVT ¶
func (m *BinaryExpr) MarshalToVT(dAtA []byte) (int, error)
func (*BinaryExpr) MarshalVT ¶
func (m *BinaryExpr) MarshalVT() (dAtA []byte, err error)
func (*BinaryExpr) ProtoMessage ¶
func (*BinaryExpr) ProtoMessage()
func (*BinaryExpr) ProtoReflect ¶
func (x *BinaryExpr) ProtoReflect() protoreflect.Message
func (*BinaryExpr) Reset ¶
func (x *BinaryExpr) Reset()
func (*BinaryExpr) SizeVT ¶
func (m *BinaryExpr) SizeVT() (n int)
func (*BinaryExpr) String ¶
func (x *BinaryExpr) String() string
func (*BinaryExpr) UnmarshalVT ¶
func (m *BinaryExpr) UnmarshalVT(dAtA []byte) error
type Column ¶
type Column struct { // name is the name of the column. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Column is an explicit column in a table.
func (*Column) Descriptor
deprecated
func (*Column) MarshalToSizedBufferVT ¶
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
func (*Column) ProtoReflect ¶
func (x *Column) ProtoReflect() protoreflect.Message
func (*Column) UnmarshalVT ¶
type ConvertExpr ¶
type ConvertExpr struct { // the expression to convert Expr *Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` // the type to convert to Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=frostdb.storage.v1alpha1.Type" json:"type,omitempty"` // contains filtered or unexported fields }
ConvertExpr is an expression to convert an expression to another type.
func (*ConvertExpr) Descriptor
deprecated
func (*ConvertExpr) Descriptor() ([]byte, []int)
Deprecated: Use ConvertExpr.ProtoReflect.Descriptor instead.
func (*ConvertExpr) GetExpr ¶
func (x *ConvertExpr) GetExpr() *Expr
func (*ConvertExpr) GetType ¶
func (x *ConvertExpr) GetType() Type
func (*ConvertExpr) MarshalToSizedBufferVT ¶
func (m *ConvertExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConvertExpr) MarshalToVT ¶
func (m *ConvertExpr) MarshalToVT(dAtA []byte) (int, error)
func (*ConvertExpr) MarshalVT ¶
func (m *ConvertExpr) MarshalVT() (dAtA []byte, err error)
func (*ConvertExpr) ProtoMessage ¶
func (*ConvertExpr) ProtoMessage()
func (*ConvertExpr) ProtoReflect ¶
func (x *ConvertExpr) ProtoReflect() protoreflect.Message
func (*ConvertExpr) Reset ¶
func (x *ConvertExpr) Reset()
func (*ConvertExpr) SizeVT ¶
func (m *ConvertExpr) SizeVT() (n int)
func (*ConvertExpr) String ¶
func (x *ConvertExpr) String() string
func (*ConvertExpr) UnmarshalVT ¶
func (m *ConvertExpr) UnmarshalVT(dAtA []byte) error
type Distinct ¶
type Distinct struct { // Exprs are the expressions to distinct by. Exprs []*Expr `protobuf:"bytes,1,rep,name=exprs,proto3" json:"exprs,omitempty"` // contains filtered or unexported fields }
Distinct describes a distinct node.
func (*Distinct) Descriptor
deprecated
func (*Distinct) MarshalToSizedBufferVT ¶
func (*Distinct) ProtoMessage ¶
func (*Distinct) ProtoMessage()
func (*Distinct) ProtoReflect ¶
func (x *Distinct) ProtoReflect() protoreflect.Message
func (*Distinct) UnmarshalVT ¶
type DurationExpr ¶
type DurationExpr struct { // milliseconds is the duration in milliseconds. Milliseconds int64 `protobuf:"varint,1,opt,name=milliseconds,proto3" json:"milliseconds,omitempty"` // contains filtered or unexported fields }
DurationExpr is a duration expressed in milliseconds.
func (*DurationExpr) Descriptor
deprecated
func (*DurationExpr) Descriptor() ([]byte, []int)
Deprecated: Use DurationExpr.ProtoReflect.Descriptor instead.
func (*DurationExpr) GetMilliseconds ¶
func (x *DurationExpr) GetMilliseconds() int64
func (*DurationExpr) MarshalToSizedBufferVT ¶
func (m *DurationExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DurationExpr) MarshalToVT ¶
func (m *DurationExpr) MarshalToVT(dAtA []byte) (int, error)
func (*DurationExpr) MarshalVT ¶
func (m *DurationExpr) MarshalVT() (dAtA []byte, err error)
func (*DurationExpr) ProtoMessage ¶
func (*DurationExpr) ProtoMessage()
func (*DurationExpr) ProtoReflect ¶
func (x *DurationExpr) ProtoReflect() protoreflect.Message
func (*DurationExpr) Reset ¶
func (x *DurationExpr) Reset()
func (*DurationExpr) SizeVT ¶
func (m *DurationExpr) SizeVT() (n int)
func (*DurationExpr) String ¶
func (x *DurationExpr) String() string
func (*DurationExpr) UnmarshalVT ¶
func (m *DurationExpr) UnmarshalVT(dAtA []byte) error
type DynamicColumn ¶
type DynamicColumn struct { // name is the name of the dynamic column. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DynamicColumn is a dynamic column.
func (*DynamicColumn) Descriptor
deprecated
func (*DynamicColumn) Descriptor() ([]byte, []int)
Deprecated: Use DynamicColumn.ProtoReflect.Descriptor instead.
func (*DynamicColumn) GetName ¶
func (x *DynamicColumn) GetName() string
func (*DynamicColumn) MarshalToSizedBufferVT ¶
func (m *DynamicColumn) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DynamicColumn) MarshalToVT ¶
func (m *DynamicColumn) MarshalToVT(dAtA []byte) (int, error)
func (*DynamicColumn) MarshalVT ¶
func (m *DynamicColumn) MarshalVT() (dAtA []byte, err error)
func (*DynamicColumn) ProtoMessage ¶
func (*DynamicColumn) ProtoMessage()
func (*DynamicColumn) ProtoReflect ¶
func (x *DynamicColumn) ProtoReflect() protoreflect.Message
func (*DynamicColumn) Reset ¶
func (x *DynamicColumn) Reset()
func (*DynamicColumn) SizeVT ¶
func (m *DynamicColumn) SizeVT() (n int)
func (*DynamicColumn) String ¶
func (x *DynamicColumn) String() string
func (*DynamicColumn) UnmarshalVT ¶
func (m *DynamicColumn) UnmarshalVT(dAtA []byte) error
type Expr ¶
type Expr struct { // def is the definition of the expression. Def *ExprDef `protobuf:"bytes,1,opt,name=def,proto3" json:"def,omitempty"` // contains filtered or unexported fields }
Expr is the base type for all expressions.
func (*Expr) Descriptor
deprecated
func (*Expr) MarshalToSizedBufferVT ¶
func (*Expr) ProtoMessage ¶
func (*Expr) ProtoMessage()
func (*Expr) ProtoReflect ¶
func (x *Expr) ProtoReflect() protoreflect.Message
func (*Expr) UnmarshalVT ¶
type ExprDef ¶
type ExprDef struct { // content is the content of the expression definition. // // Types that are assignable to Content: // // *ExprDef_BinaryExpr // *ExprDef_Column // *ExprDef_Literal // *ExprDef_DynamicColumn // *ExprDef_AggregationFunction // *ExprDef_Alias // *ExprDef_Duration // *ExprDef_Convert // *ExprDef_If Content isExprDef_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
ExprDefinition is a definition of an expression. It is intentionally only a single field that is a oneof to maintain forward compatibility when changing fields in each of the oneofs. This message should never have any other fields for forward compatibility.
func (*ExprDef) Descriptor
deprecated
func (*ExprDef) GetAggregationFunction ¶
func (x *ExprDef) GetAggregationFunction() *AggregationFunction
func (*ExprDef) GetBinaryExpr ¶
func (x *ExprDef) GetBinaryExpr() *BinaryExpr
func (*ExprDef) GetContent ¶
func (m *ExprDef) GetContent() isExprDef_Content
func (*ExprDef) GetConvert ¶
func (x *ExprDef) GetConvert() *ConvertExpr
func (*ExprDef) GetDuration ¶
func (x *ExprDef) GetDuration() *DurationExpr
func (*ExprDef) GetDynamicColumn ¶
func (x *ExprDef) GetDynamicColumn() *DynamicColumn
func (*ExprDef) GetLiteral ¶
func (*ExprDef) MarshalToSizedBufferVT ¶
func (*ExprDef) ProtoMessage ¶
func (*ExprDef) ProtoMessage()
func (*ExprDef) ProtoReflect ¶
func (x *ExprDef) ProtoReflect() protoreflect.Message
func (*ExprDef) UnmarshalVT ¶
type ExprDef_AggregationFunction ¶
type ExprDef_AggregationFunction struct { // AggregationFunction is an aggregation function expression. AggregationFunction *AggregationFunction `protobuf:"bytes,5,opt,name=aggregation_function,json=aggregationFunction,proto3,oneof"` }
func (*ExprDef_AggregationFunction) MarshalToSizedBufferVT ¶
func (m *ExprDef_AggregationFunction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_AggregationFunction) MarshalToVT ¶
func (m *ExprDef_AggregationFunction) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_AggregationFunction) SizeVT ¶
func (m *ExprDef_AggregationFunction) SizeVT() (n int)
type ExprDef_Alias ¶
type ExprDef_Alias struct { // Alias is an alias expression. Alias *Alias `protobuf:"bytes,6,opt,name=alias,proto3,oneof"` }
func (*ExprDef_Alias) MarshalToSizedBufferVT ¶
func (m *ExprDef_Alias) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_Alias) MarshalToVT ¶
func (m *ExprDef_Alias) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_Alias) SizeVT ¶
func (m *ExprDef_Alias) SizeVT() (n int)
type ExprDef_BinaryExpr ¶
type ExprDef_BinaryExpr struct { // BinaryExpr is a binary expression. BinaryExpr *BinaryExpr `protobuf:"bytes,1,opt,name=binary_expr,json=binaryExpr,proto3,oneof"` }
func (*ExprDef_BinaryExpr) MarshalToSizedBufferVT ¶
func (m *ExprDef_BinaryExpr) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_BinaryExpr) MarshalToVT ¶
func (m *ExprDef_BinaryExpr) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_BinaryExpr) SizeVT ¶
func (m *ExprDef_BinaryExpr) SizeVT() (n int)
type ExprDef_Column ¶
type ExprDef_Column struct { // Column is a column expression. Column *Column `protobuf:"bytes,2,opt,name=column,proto3,oneof"` }
func (*ExprDef_Column) MarshalToSizedBufferVT ¶
func (m *ExprDef_Column) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_Column) MarshalToVT ¶
func (m *ExprDef_Column) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_Column) SizeVT ¶
func (m *ExprDef_Column) SizeVT() (n int)
type ExprDef_Convert ¶
type ExprDef_Convert struct { // ConvertExpr is an expression to convert a column from one type to another. Convert *ConvertExpr `protobuf:"bytes,8,opt,name=convert,proto3,oneof"` }
func (*ExprDef_Convert) MarshalToSizedBufferVT ¶
func (m *ExprDef_Convert) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_Convert) MarshalToVT ¶
func (m *ExprDef_Convert) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_Convert) SizeVT ¶
func (m *ExprDef_Convert) SizeVT() (n int)
type ExprDef_Duration ¶
type ExprDef_Duration struct { // DurationExpr is a duration expression to group by. Duration *DurationExpr `protobuf:"bytes,7,opt,name=duration,proto3,oneof"` }
func (*ExprDef_Duration) MarshalToSizedBufferVT ¶
func (m *ExprDef_Duration) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_Duration) MarshalToVT ¶
func (m *ExprDef_Duration) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_Duration) SizeVT ¶
func (m *ExprDef_Duration) SizeVT() (n int)
type ExprDef_DynamicColumn ¶
type ExprDef_DynamicColumn struct { // DynamicColumn is a dynamic column expression. DynamicColumn *DynamicColumn `protobuf:"bytes,4,opt,name=dynamic_column,json=dynamicColumn,proto3,oneof"` }
func (*ExprDef_DynamicColumn) MarshalToSizedBufferVT ¶
func (m *ExprDef_DynamicColumn) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_DynamicColumn) MarshalToVT ¶
func (m *ExprDef_DynamicColumn) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_DynamicColumn) SizeVT ¶
func (m *ExprDef_DynamicColumn) SizeVT() (n int)
type ExprDef_If ¶
type ExprDef_If struct { // IfExpr is an if expression. If *IfExpr `protobuf:"bytes,9,opt,name=if,proto3,oneof"` }
func (*ExprDef_If) MarshalToSizedBufferVT ¶
func (m *ExprDef_If) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_If) MarshalToVT ¶
func (m *ExprDef_If) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_If) SizeVT ¶
func (m *ExprDef_If) SizeVT() (n int)
type ExprDef_Literal ¶
type ExprDef_Literal struct { // Literal is a literal expression. Literal *Literal `protobuf:"bytes,3,opt,name=literal,proto3,oneof"` }
func (*ExprDef_Literal) MarshalToSizedBufferVT ¶
func (m *ExprDef_Literal) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExprDef_Literal) MarshalToVT ¶
func (m *ExprDef_Literal) MarshalToVT(dAtA []byte) (int, error)
func (*ExprDef_Literal) SizeVT ¶
func (m *ExprDef_Literal) SizeVT() (n int)
type Filter ¶
type Filter struct { // Expr is the filter expression. Expr *Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` // contains filtered or unexported fields }
Filter describes a filter.
func (*Filter) Descriptor
deprecated
func (*Filter) MarshalToSizedBufferVT ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) UnmarshalVT ¶
type FrostDBServiceClient ¶
type FrostDBServiceClient interface { // Query executes the query plan contained in the request and returns back // the results as arrow records in IPC format. Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (FrostDBService_QueryClient, error) }
FrostDBServiceClient is the client API for FrostDBService 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.
func NewFrostDBServiceClient ¶
func NewFrostDBServiceClient(cc grpc.ClientConnInterface) FrostDBServiceClient
type FrostDBServiceServer ¶
type FrostDBServiceServer interface { // Query executes the query plan contained in the request and returns back // the results as arrow records in IPC format. Query(*QueryRequest, FrostDBService_QueryServer) error // contains filtered or unexported methods }
FrostDBServiceServer is the server API for FrostDBService service. All implementations must embed UnimplementedFrostDBServiceServer for forward compatibility
type FrostDBService_QueryClient ¶
type FrostDBService_QueryClient interface { Recv() (*QueryResponse, error) grpc.ClientStream }
type FrostDBService_QueryServer ¶
type FrostDBService_QueryServer interface { Send(*QueryResponse) error grpc.ServerStream }
type IfExpr ¶
type IfExpr struct { // the condition Condition *Expr `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` // the true branch Then *Expr `protobuf:"bytes,2,opt,name=then,proto3" json:"then,omitempty"` // the false branch Else *Expr `protobuf:"bytes,3,opt,name=else,proto3" json:"else,omitempty"` // contains filtered or unexported fields }
IfExpr represents an if expression.
func (*IfExpr) Descriptor
deprecated
func (*IfExpr) GetCondition ¶
func (*IfExpr) MarshalToSizedBufferVT ¶
func (*IfExpr) ProtoMessage ¶
func (*IfExpr) ProtoMessage()
func (*IfExpr) ProtoReflect ¶
func (x *IfExpr) ProtoReflect() protoreflect.Message
func (*IfExpr) UnmarshalVT ¶
type Limit ¶
type Limit struct { // Expr is the expression to limit by. Expr *Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` // contains filtered or unexported fields }
Limit describes a limit node.
func (*Limit) Descriptor
deprecated
func (*Limit) MarshalToSizedBufferVT ¶
func (*Limit) ProtoMessage ¶
func (*Limit) ProtoMessage()
func (*Limit) ProtoReflect ¶
func (x *Limit) ProtoReflect() protoreflect.Message
func (*Limit) UnmarshalVT ¶
type Literal ¶
type Literal struct { // content is the content of the literal. Content *LiteralContent `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
Literal is a literal value.
func (*Literal) Descriptor
deprecated
func (*Literal) GetContent ¶
func (x *Literal) GetContent() *LiteralContent
func (*Literal) MarshalToSizedBufferVT ¶
func (*Literal) ProtoMessage ¶
func (*Literal) ProtoMessage()
func (*Literal) ProtoReflect ¶
func (x *Literal) ProtoReflect() protoreflect.Message
func (*Literal) UnmarshalVT ¶
type LiteralContent ¶
type LiteralContent struct { // value is the value of the literal. // // Types that are assignable to Value: // // *LiteralContent_NullValue // *LiteralContent_BoolValue // *LiteralContent_Int32Value // *LiteralContent_Uint32Value // *LiteralContent_Int64Value // *LiteralContent_Uint64Value // *LiteralContent_FloatValue // *LiteralContent_DoubleValue // *LiteralContent_BinaryValue // *LiteralContent_StringValue Value isLiteralContent_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
LiteralContent is the content of a literal.
func (*LiteralContent) Descriptor
deprecated
func (*LiteralContent) Descriptor() ([]byte, []int)
Deprecated: Use LiteralContent.ProtoReflect.Descriptor instead.
func (*LiteralContent) GetBinaryValue ¶
func (x *LiteralContent) GetBinaryValue() []byte
func (*LiteralContent) GetBoolValue ¶
func (x *LiteralContent) GetBoolValue() bool
func (*LiteralContent) GetDoubleValue ¶
func (x *LiteralContent) GetDoubleValue() float64
func (*LiteralContent) GetFloatValue ¶
func (x *LiteralContent) GetFloatValue() float32
func (*LiteralContent) GetInt32Value ¶
func (x *LiteralContent) GetInt32Value() int32
func (*LiteralContent) GetInt64Value ¶
func (x *LiteralContent) GetInt64Value() int64
func (*LiteralContent) GetNullValue ¶
func (x *LiteralContent) GetNullValue() *Null
func (*LiteralContent) GetStringValue ¶
func (x *LiteralContent) GetStringValue() string
func (*LiteralContent) GetUint32Value ¶
func (x *LiteralContent) GetUint32Value() uint32
func (*LiteralContent) GetUint64Value ¶
func (x *LiteralContent) GetUint64Value() uint64
func (*LiteralContent) GetValue ¶
func (m *LiteralContent) GetValue() isLiteralContent_Value
func (*LiteralContent) MarshalToSizedBufferVT ¶
func (m *LiteralContent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent) MarshalToVT ¶
func (m *LiteralContent) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent) MarshalVT ¶
func (m *LiteralContent) MarshalVT() (dAtA []byte, err error)
func (*LiteralContent) ProtoMessage ¶
func (*LiteralContent) ProtoMessage()
func (*LiteralContent) ProtoReflect ¶
func (x *LiteralContent) ProtoReflect() protoreflect.Message
func (*LiteralContent) Reset ¶
func (x *LiteralContent) Reset()
func (*LiteralContent) SizeVT ¶
func (m *LiteralContent) SizeVT() (n int)
func (*LiteralContent) String ¶
func (x *LiteralContent) String() string
func (*LiteralContent) UnmarshalVT ¶
func (m *LiteralContent) UnmarshalVT(dAtA []byte) error
type LiteralContent_BinaryValue ¶
type LiteralContent_BinaryValue struct { // binary_value is the binary value. BinaryValue []byte `protobuf:"bytes,9,opt,name=binary_value,json=binaryValue,proto3,oneof"` }
func (*LiteralContent_BinaryValue) MarshalToSizedBufferVT ¶
func (m *LiteralContent_BinaryValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_BinaryValue) MarshalToVT ¶
func (m *LiteralContent_BinaryValue) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_BinaryValue) SizeVT ¶
func (m *LiteralContent_BinaryValue) SizeVT() (n int)
type LiteralContent_BoolValue ¶
type LiteralContent_BoolValue struct { // bool_value is the bool value. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` }
func (*LiteralContent_BoolValue) MarshalToSizedBufferVT ¶
func (m *LiteralContent_BoolValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_BoolValue) MarshalToVT ¶
func (m *LiteralContent_BoolValue) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_BoolValue) SizeVT ¶
func (m *LiteralContent_BoolValue) SizeVT() (n int)
type LiteralContent_DoubleValue ¶
type LiteralContent_DoubleValue struct { // double_value is the double value. DoubleValue float64 `protobuf:"fixed64,8,opt,name=double_value,json=doubleValue,proto3,oneof"` }
func (*LiteralContent_DoubleValue) MarshalToSizedBufferVT ¶
func (m *LiteralContent_DoubleValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_DoubleValue) MarshalToVT ¶
func (m *LiteralContent_DoubleValue) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_DoubleValue) SizeVT ¶
func (m *LiteralContent_DoubleValue) SizeVT() (n int)
type LiteralContent_FloatValue ¶
type LiteralContent_FloatValue struct { // float_value is the float value. FloatValue float32 `protobuf:"fixed32,7,opt,name=float_value,json=floatValue,proto3,oneof"` }
func (*LiteralContent_FloatValue) MarshalToSizedBufferVT ¶
func (m *LiteralContent_FloatValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_FloatValue) MarshalToVT ¶
func (m *LiteralContent_FloatValue) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_FloatValue) SizeVT ¶
func (m *LiteralContent_FloatValue) SizeVT() (n int)
type LiteralContent_Int32Value ¶
type LiteralContent_Int32Value struct { // int32_value is the int32 value. Int32Value int32 `protobuf:"varint,3,opt,name=int32_value,json=int32Value,proto3,oneof"` }
func (*LiteralContent_Int32Value) MarshalToSizedBufferVT ¶
func (m *LiteralContent_Int32Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_Int32Value) MarshalToVT ¶
func (m *LiteralContent_Int32Value) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_Int32Value) SizeVT ¶
func (m *LiteralContent_Int32Value) SizeVT() (n int)
type LiteralContent_Int64Value ¶
type LiteralContent_Int64Value struct { // int64_value is the int64 value. Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3,oneof"` }
func (*LiteralContent_Int64Value) MarshalToSizedBufferVT ¶
func (m *LiteralContent_Int64Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_Int64Value) MarshalToVT ¶
func (m *LiteralContent_Int64Value) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_Int64Value) SizeVT ¶
func (m *LiteralContent_Int64Value) SizeVT() (n int)
type LiteralContent_NullValue ¶
type LiteralContent_NullValue struct { // null whether the value is the null value. NullValue *Null `protobuf:"bytes,1,opt,name=null_value,json=nullValue,proto3,oneof"` }
func (*LiteralContent_NullValue) MarshalToSizedBufferVT ¶
func (m *LiteralContent_NullValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_NullValue) MarshalToVT ¶
func (m *LiteralContent_NullValue) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_NullValue) SizeVT ¶
func (m *LiteralContent_NullValue) SizeVT() (n int)
type LiteralContent_StringValue ¶
type LiteralContent_StringValue struct { // string_value is the string value. StringValue string `protobuf:"bytes,10,opt,name=string_value,json=stringValue,proto3,oneof"` }
func (*LiteralContent_StringValue) MarshalToSizedBufferVT ¶
func (m *LiteralContent_StringValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_StringValue) MarshalToVT ¶
func (m *LiteralContent_StringValue) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_StringValue) SizeVT ¶
func (m *LiteralContent_StringValue) SizeVT() (n int)
type LiteralContent_Uint32Value ¶
type LiteralContent_Uint32Value struct { // uint32_value is the uint32 value. Uint32Value uint32 `protobuf:"varint,4,opt,name=uint32_value,json=uint32Value,proto3,oneof"` }
func (*LiteralContent_Uint32Value) MarshalToSizedBufferVT ¶
func (m *LiteralContent_Uint32Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_Uint32Value) MarshalToVT ¶
func (m *LiteralContent_Uint32Value) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_Uint32Value) SizeVT ¶
func (m *LiteralContent_Uint32Value) SizeVT() (n int)
type LiteralContent_Uint64Value ¶
type LiteralContent_Uint64Value struct { // uint64_value is the uint64 value. Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3,oneof"` }
func (*LiteralContent_Uint64Value) MarshalToSizedBufferVT ¶
func (m *LiteralContent_Uint64Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LiteralContent_Uint64Value) MarshalToVT ¶
func (m *LiteralContent_Uint64Value) MarshalToVT(dAtA []byte) (int, error)
func (*LiteralContent_Uint64Value) SizeVT ¶
func (m *LiteralContent_Uint64Value) SizeVT() (n int)
type Null ¶
type Null struct {
// contains filtered or unexported fields
}
Null is the null value.
func (*Null) Descriptor
deprecated
func (*Null) MarshalToSizedBufferVT ¶
func (*Null) ProtoMessage ¶
func (*Null) ProtoMessage()
func (*Null) ProtoReflect ¶
func (x *Null) ProtoReflect() protoreflect.Message
func (*Null) UnmarshalVT ¶
type Op ¶
type Op int32
Op describes a binary operator.
const ( // OP_UNKNOWN_UNSPECIFIED is the default value. It should not be used. Op_OP_UNKNOWN_UNSPECIFIED Op = 0 // OP_EQ is the equality operator (`==`). Op_OP_EQ Op = 1 // OP_NOT_EQ is the not-equality operator (`!=`). Op_OP_NOT_EQ Op = 2 // OP_LT is the less-than operator (`<`). Op_OP_LT Op = 3 // OP_LT_EQ is the less-than-or-equal operator (`<=`). Op_OP_LT_EQ Op = 4 // OP_GT is the greater-than operator (`>`). Op_OP_GT Op = 5 // OP_GT_EQ is the greater-than-or-equal operator (`>=`). Op_OP_GT_EQ Op = 6 // OP_REGEX_MATCH is the regular expression match operator (`=~`). Op_OP_REGEX_MATCH Op = 7 // OP_REGEX_NOT_MATCH is the regular expression not-match operator (`!~`). Op_OP_REGEX_NOT_MATCH Op = 8 // OP_AND is the logical and operator (`&&`). Op_OP_AND Op = 9 // OP_OR is the logical or operator (`||`). Op_OP_OR Op = 10 // OP_ADD is the arithmetric addition (`+`). Op_OP_ADD Op = 11 // OP_SUB is the arithmetric subtraction (`-`). Op_OP_SUB Op = 12 // OP_MUL is the arithmetric multiplication (`*`). Op_OP_MUL Op = 13 // OP_DIV is the arithmetric division (`/`). Op_OP_DIV Op = 14 // OP_CONTAINS performs substring matches. Op_OP_CONTAINS Op = 15 // OP_NOT_CONTAINS performs substring matches. Op_OP_NOT_CONTAINS Op = 16 )
func (Op) Descriptor ¶
func (Op) Descriptor() protoreflect.EnumDescriptor
func (Op) EnumDescriptor
deprecated
func (Op) Number ¶
func (x Op) Number() protoreflect.EnumNumber
func (Op) Type ¶
func (Op) Type() protoreflect.EnumType
type PlanNode ¶
type PlanNode struct { // Next is the next PlanNode in the plan, i.e. the node that this node should // push data to. Next *PlanNode `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"` // Spec is this PlanNode's spec. Spec *PlanNodeSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
PlanNode describes a query plan.
func (*PlanNode) Descriptor
deprecated
func (*PlanNode) GetSpec ¶
func (x *PlanNode) GetSpec() *PlanNodeSpec
func (*PlanNode) MarshalToSizedBufferVT ¶
func (*PlanNode) ProtoMessage ¶
func (*PlanNode) ProtoMessage()
func (*PlanNode) ProtoReflect ¶
func (x *PlanNode) ProtoReflect() protoreflect.Message
func (*PlanNode) UnmarshalVT ¶
type PlanNodeSpec ¶
type PlanNodeSpec struct { // Spec is this PlanNode's information. // // Types that are assignable to Spec: // // *PlanNodeSpec_TableScan // *PlanNodeSpec_SchemaScan // *PlanNodeSpec_Filter // *PlanNodeSpec_Projection // *PlanNodeSpec_Distinct // *PlanNodeSpec_Aggregation // *PlanNodeSpec_Limit Spec isPlanNodeSpec_Spec `protobuf_oneof:"spec"` // contains filtered or unexported fields }
PlanNodeSpec is a PlanNode's information. This is a message that wraps oneof to ensure forward compatibility: https://developers.google.com/protocol-buffers/docs/proto3#backwards-compatibility_issues
func (*PlanNodeSpec) Descriptor
deprecated
func (*PlanNodeSpec) Descriptor() ([]byte, []int)
Deprecated: Use PlanNodeSpec.ProtoReflect.Descriptor instead.
func (*PlanNodeSpec) GetAggregation ¶
func (x *PlanNodeSpec) GetAggregation() *Aggregation
func (*PlanNodeSpec) GetDistinct ¶
func (x *PlanNodeSpec) GetDistinct() *Distinct
func (*PlanNodeSpec) GetFilter ¶
func (x *PlanNodeSpec) GetFilter() *Filter
func (*PlanNodeSpec) GetLimit ¶
func (x *PlanNodeSpec) GetLimit() *Limit
func (*PlanNodeSpec) GetProjection ¶
func (x *PlanNodeSpec) GetProjection() *Projection
func (*PlanNodeSpec) GetSchemaScan ¶
func (x *PlanNodeSpec) GetSchemaScan() *SchemaScan
func (*PlanNodeSpec) GetSpec ¶
func (m *PlanNodeSpec) GetSpec() isPlanNodeSpec_Spec
func (*PlanNodeSpec) GetTableScan ¶
func (x *PlanNodeSpec) GetTableScan() *TableScan
func (*PlanNodeSpec) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec) MarshalToVT ¶
func (m *PlanNodeSpec) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec) MarshalVT ¶
func (m *PlanNodeSpec) MarshalVT() (dAtA []byte, err error)
func (*PlanNodeSpec) ProtoMessage ¶
func (*PlanNodeSpec) ProtoMessage()
func (*PlanNodeSpec) ProtoReflect ¶
func (x *PlanNodeSpec) ProtoReflect() protoreflect.Message
func (*PlanNodeSpec) Reset ¶
func (x *PlanNodeSpec) Reset()
func (*PlanNodeSpec) SizeVT ¶
func (m *PlanNodeSpec) SizeVT() (n int)
func (*PlanNodeSpec) String ¶
func (x *PlanNodeSpec) String() string
func (*PlanNodeSpec) UnmarshalVT ¶
func (m *PlanNodeSpec) UnmarshalVT(dAtA []byte) error
type PlanNodeSpec_Aggregation ¶
type PlanNodeSpec_Aggregation struct { // Aggregation is specified if this PlanNode represents an aggregation. Aggregation *Aggregation `protobuf:"bytes,6,opt,name=aggregation,proto3,oneof"` }
func (*PlanNodeSpec_Aggregation) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec_Aggregation) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Aggregation) MarshalToVT ¶
func (m *PlanNodeSpec_Aggregation) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Aggregation) SizeVT ¶
func (m *PlanNodeSpec_Aggregation) SizeVT() (n int)
type PlanNodeSpec_Distinct ¶
type PlanNodeSpec_Distinct struct { // Distinct is specified if this PlanNode represents a distinct. Distinct *Distinct `protobuf:"bytes,5,opt,name=distinct,proto3,oneof"` }
func (*PlanNodeSpec_Distinct) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec_Distinct) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Distinct) MarshalToVT ¶
func (m *PlanNodeSpec_Distinct) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Distinct) SizeVT ¶
func (m *PlanNodeSpec_Distinct) SizeVT() (n int)
type PlanNodeSpec_Filter ¶
type PlanNodeSpec_Filter struct { // Filter is specified if this PlanNode represents a filter. Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3,oneof"` }
func (*PlanNodeSpec_Filter) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec_Filter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Filter) MarshalToVT ¶
func (m *PlanNodeSpec_Filter) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Filter) SizeVT ¶
func (m *PlanNodeSpec_Filter) SizeVT() (n int)
type PlanNodeSpec_Limit ¶
type PlanNodeSpec_Limit struct { // Limit is specified if this PlanNode represents a limit. Limit *Limit `protobuf:"bytes,7,opt,name=limit,proto3,oneof"` }
func (*PlanNodeSpec_Limit) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec_Limit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Limit) MarshalToVT ¶
func (m *PlanNodeSpec_Limit) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Limit) SizeVT ¶
func (m *PlanNodeSpec_Limit) SizeVT() (n int)
type PlanNodeSpec_Projection ¶
type PlanNodeSpec_Projection struct { // Projections is specified if this PlanNode represents a projection. Projection *Projection `protobuf:"bytes,4,opt,name=projection,proto3,oneof"` }
func (*PlanNodeSpec_Projection) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec_Projection) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Projection) MarshalToVT ¶
func (m *PlanNodeSpec_Projection) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_Projection) SizeVT ¶
func (m *PlanNodeSpec_Projection) SizeVT() (n int)
type PlanNodeSpec_SchemaScan ¶
type PlanNodeSpec_SchemaScan struct { // SchemaScan is specified if this PlanNode represents a table scan. SchemaScan *SchemaScan `protobuf:"bytes,2,opt,name=schema_scan,json=schemaScan,proto3,oneof"` }
func (*PlanNodeSpec_SchemaScan) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec_SchemaScan) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_SchemaScan) MarshalToVT ¶
func (m *PlanNodeSpec_SchemaScan) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_SchemaScan) SizeVT ¶
func (m *PlanNodeSpec_SchemaScan) SizeVT() (n int)
type PlanNodeSpec_TableScan ¶
type PlanNodeSpec_TableScan struct { // TableScan is specified if this PlanNode represents a table scan. TableScan *TableScan `protobuf:"bytes,1,opt,name=table_scan,json=tableScan,proto3,oneof"` }
func (*PlanNodeSpec_TableScan) MarshalToSizedBufferVT ¶
func (m *PlanNodeSpec_TableScan) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_TableScan) MarshalToVT ¶
func (m *PlanNodeSpec_TableScan) MarshalToVT(dAtA []byte) (int, error)
func (*PlanNodeSpec_TableScan) SizeVT ¶
func (m *PlanNodeSpec_TableScan) SizeVT() (n int)
type Projection ¶
type Projection struct { // Exprs are the expressions to project. Exprs []*Expr `protobuf:"bytes,1,rep,name=exprs,proto3" json:"exprs,omitempty"` // contains filtered or unexported fields }
Projection describes a projection node.
func (*Projection) Descriptor
deprecated
func (*Projection) Descriptor() ([]byte, []int)
Deprecated: Use Projection.ProtoReflect.Descriptor instead.
func (*Projection) GetExprs ¶
func (x *Projection) GetExprs() []*Expr
func (*Projection) MarshalToSizedBufferVT ¶
func (m *Projection) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Projection) MarshalToVT ¶
func (m *Projection) MarshalToVT(dAtA []byte) (int, error)
func (*Projection) MarshalVT ¶
func (m *Projection) MarshalVT() (dAtA []byte, err error)
func (*Projection) ProtoMessage ¶
func (*Projection) ProtoMessage()
func (*Projection) ProtoReflect ¶
func (x *Projection) ProtoReflect() protoreflect.Message
func (*Projection) Reset ¶
func (x *Projection) Reset()
func (*Projection) SizeVT ¶
func (m *Projection) SizeVT() (n int)
func (*Projection) String ¶
func (x *Projection) String() string
func (*Projection) UnmarshalVT ¶
func (m *Projection) UnmarshalVT(dAtA []byte) error
type QueryRequest ¶
type QueryRequest struct { // PlanRoot is the root of the query plan (i.e. a scan node). PlanRoot *PlanNode `protobuf:"bytes,1,opt,name=plan_root,json=planRoot,proto3" json:"plan_root,omitempty"` // description describes the query. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
QueryRequest is the message sent to the Query gRPC endpoint.
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetDescription ¶
func (x *QueryRequest) GetDescription() string
func (*QueryRequest) GetPlanRoot ¶
func (x *QueryRequest) GetPlanRoot() *PlanNode
func (*QueryRequest) MarshalToSizedBufferVT ¶
func (m *QueryRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryRequest) MarshalToVT ¶
func (m *QueryRequest) MarshalToVT(dAtA []byte) (int, error)
func (*QueryRequest) MarshalVT ¶
func (m *QueryRequest) MarshalVT() (dAtA []byte, err error)
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) SizeVT ¶
func (m *QueryRequest) SizeVT() (n int)
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
func (*QueryRequest) UnmarshalVT ¶
func (m *QueryRequest) UnmarshalVT(dAtA []byte) error
type QueryResponse ¶
type QueryResponse struct { // The resulting arrow record as bytes. Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
QueryResponse is the message received from the Query gRPC endpoint.
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetRecord ¶
func (x *QueryResponse) GetRecord() []byte
func (*QueryResponse) MarshalToSizedBufferVT ¶
func (m *QueryResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResponse) MarshalToVT ¶
func (m *QueryResponse) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResponse) MarshalVT ¶
func (m *QueryResponse) MarshalVT() (dAtA []byte, err error)
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) SizeVT ¶
func (m *QueryResponse) SizeVT() (n int)
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
func (*QueryResponse) UnmarshalVT ¶
func (m *QueryResponse) UnmarshalVT(dAtA []byte) error
type ScanBase ¶
type ScanBase struct { // Database is the name of the database to scan. Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // Table is the name of the table to scan. Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` // contains filtered or unexported fields }
ScanBase is a collection of fields shared by scans.
func (*ScanBase) Descriptor
deprecated
func (*ScanBase) GetDatabase ¶
func (*ScanBase) MarshalToSizedBufferVT ¶
func (*ScanBase) ProtoMessage ¶
func (*ScanBase) ProtoMessage()
func (*ScanBase) ProtoReflect ¶
func (x *ScanBase) ProtoReflect() protoreflect.Message
func (*ScanBase) UnmarshalVT ¶
type SchemaScan ¶
type SchemaScan struct { // Base specifies the fields shared with TableScan. Base *ScanBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
SchemaScan describes scanning a table to obtain the schema.
func (*SchemaScan) Descriptor
deprecated
func (*SchemaScan) Descriptor() ([]byte, []int)
Deprecated: Use SchemaScan.ProtoReflect.Descriptor instead.
func (*SchemaScan) GetBase ¶
func (x *SchemaScan) GetBase() *ScanBase
func (*SchemaScan) MarshalToSizedBufferVT ¶
func (m *SchemaScan) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchemaScan) MarshalToVT ¶
func (m *SchemaScan) MarshalToVT(dAtA []byte) (int, error)
func (*SchemaScan) MarshalVT ¶
func (m *SchemaScan) MarshalVT() (dAtA []byte, err error)
func (*SchemaScan) ProtoMessage ¶
func (*SchemaScan) ProtoMessage()
func (*SchemaScan) ProtoReflect ¶
func (x *SchemaScan) ProtoReflect() protoreflect.Message
func (*SchemaScan) Reset ¶
func (x *SchemaScan) Reset()
func (*SchemaScan) SizeVT ¶
func (m *SchemaScan) SizeVT() (n int)
func (*SchemaScan) String ¶
func (x *SchemaScan) String() string
func (*SchemaScan) UnmarshalVT ¶
func (m *SchemaScan) UnmarshalVT(dAtA []byte) error
type TableScan ¶
type TableScan struct { // Base specifies the fields shared with SchemaScan. Base *ScanBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
TableScan describes scanning a table to obtain rows.
func (*TableScan) Descriptor
deprecated
func (*TableScan) MarshalToSizedBufferVT ¶
func (*TableScan) ProtoMessage ¶
func (*TableScan) ProtoMessage()
func (*TableScan) ProtoReflect ¶
func (x *TableScan) ProtoReflect() protoreflect.Message
func (*TableScan) UnmarshalVT ¶
type Type ¶
type Type int32
Apache Arrow type.
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UnimplementedFrostDBServiceServer ¶
type UnimplementedFrostDBServiceServer struct { }
UnimplementedFrostDBServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFrostDBServiceServer) Query ¶
func (UnimplementedFrostDBServiceServer) Query(*QueryRequest, FrostDBService_QueryServer) error
type UnsafeFrostDBServiceServer ¶
type UnsafeFrostDBServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFrostDBServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FrostDBServiceServer will result in compilation errors.