expressionpb

package
v3.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthExpressionpb = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExpressionpb   = fmt.Errorf("proto: integer overflow")
)
View Source
var BinaryOp_name = map[int32]string{
	0:  "BINARY_OP_INVALID",
	1:  "BINARY_OP_EQ",
	2:  "BINARY_OP_NEQ",
	3:  "BINARY_OP_GT",
	4:  "BINARY_OP_GTE",
	5:  "BINARY_OP_LT",
	6:  "BINARY_OP_LTE",
	7:  "BINARY_OP_AND",
	8:  "BINARY_OP_OR",
	9:  "BINARY_OP_XOR",
	10: "BINARY_OP_ADD",
	11: "BINARY_OP_SUB",
	12: "BINARY_OP_MUL",
	13: "BINARY_OP_DIV",
	14: "BINARY_OP_MOD",
	15: "BINARY_OP_POW",
	16: "BINARY_OP_MATCH_SUBSTR",
	17: "BINARY_OP_NOT_MATCH_SUBSTR",
	18: "BINARY_OP_MATCH_RE",
	19: "BINARY_OP_NOT_MATCH_RE",
	20: "BINARY_OP_MATCH_PATTERN",
	21: "BINARY_OP_NOT_MATCH_PATTERN",
	22: "BINARY_OP_EQ_CASE_INSENSITIVE",
	23: "BINARY_OP_NEQ_CASE_INSENSITIVE",
	24: "BINARY_OP_MATCH_SUBSTR_CASE_INSENSITIVE",
	25: "BINARY_OP_NOT_MATCH_SUBSTR_CASE_INSENSITIVE",
}
View Source
var BinaryOp_value = map[string]int32{
	"BINARY_OP_INVALID":                           0,
	"BINARY_OP_EQ":                                1,
	"BINARY_OP_NEQ":                               2,
	"BINARY_OP_GT":                                3,
	"BINARY_OP_GTE":                               4,
	"BINARY_OP_LT":                                5,
	"BINARY_OP_LTE":                               6,
	"BINARY_OP_AND":                               7,
	"BINARY_OP_OR":                                8,
	"BINARY_OP_XOR":                               9,
	"BINARY_OP_ADD":                               10,
	"BINARY_OP_SUB":                               11,
	"BINARY_OP_MUL":                               12,
	"BINARY_OP_DIV":                               13,
	"BINARY_OP_MOD":                               14,
	"BINARY_OP_POW":                               15,
	"BINARY_OP_MATCH_SUBSTR":                      16,
	"BINARY_OP_NOT_MATCH_SUBSTR":                  17,
	"BINARY_OP_MATCH_RE":                          18,
	"BINARY_OP_NOT_MATCH_RE":                      19,
	"BINARY_OP_MATCH_PATTERN":                     20,
	"BINARY_OP_NOT_MATCH_PATTERN":                 21,
	"BINARY_OP_EQ_CASE_INSENSITIVE":               22,
	"BINARY_OP_NEQ_CASE_INSENSITIVE":              23,
	"BINARY_OP_MATCH_SUBSTR_CASE_INSENSITIVE":     24,
	"BINARY_OP_NOT_MATCH_SUBSTR_CASE_INSENSITIVE": 25,
}
View Source
var ColumnType_name = map[int32]string{
	0: "COLUMN_TYPE_INVALID",
	1: "COLUMN_TYPE_BUILTIN",
	2: "COLUMN_TYPE_LABEL",
	3: "COLUMN_TYPE_METADATA",
	4: "COLUMN_TYPE_PARSED",
	5: "COLUMN_TYPE_AMBIGUOUS",
	6: "COLUMN_TYPE_GENERATED",
}
View Source
var ColumnType_value = map[string]int32{
	"COLUMN_TYPE_INVALID":   0,
	"COLUMN_TYPE_BUILTIN":   1,
	"COLUMN_TYPE_LABEL":     2,
	"COLUMN_TYPE_METADATA":  3,
	"COLUMN_TYPE_PARSED":    4,
	"COLUMN_TYPE_AMBIGUOUS": 5,
	"COLUMN_TYPE_GENERATED": 6,
}
View Source
var UnaryOp_name = map[int32]string{
	0: "UNARY_OP_INVALID",
	1: "UNARY_OP_NOT",
	2: "UNARY_OP_ABS",
	3: "UNARY_OP_CAST_FLOAT",
	4: "UNARY_OP_CAST_BYTES",
	5: "UNARY_OP_CAST_DURATION",
}
View Source
var UnaryOp_value = map[string]int32{
	"UNARY_OP_INVALID":       0,
	"UNARY_OP_NOT":           1,
	"UNARY_OP_ABS":           2,
	"UNARY_OP_CAST_FLOAT":    3,
	"UNARY_OP_CAST_BYTES":    4,
	"UNARY_OP_CAST_DURATION": 5,
}
View Source
var VariadicOp_name = map[int32]string{
	0: "VARIADIC_OP_INVALID",
	1: "VARIADIC_OP_PARSE_LOGFMT",
	2: "VARIADIC_OP_PARSE_JSON",
	3: "VARIADIC_OP_PARSE_REGEXP",
}
View Source
var VariadicOp_value = map[string]int32{
	"VARIADIC_OP_INVALID":      0,
	"VARIADIC_OP_PARSE_LOGFMT": 1,
	"VARIADIC_OP_PARSE_JSON":   2,
	"VARIADIC_OP_PARSE_REGEXP": 3,
}

Functions

This section is empty.

Types

type BinaryExpression

type BinaryExpression struct {
	Op    BinaryOp    `protobuf:"varint,1,opt,name=op,proto3,enum=loki.expression.BinaryOp" json:"op,omitempty"`
	Left  *Expression `protobuf:"bytes,2,opt,name=left,proto3" json:"left,omitempty"`
	Right *Expression `protobuf:"bytes,3,opt,name=right,proto3" json:"right,omitempty"`
}

BinaryExpression represents a binary operation applied to two expressions.

func (*BinaryExpression) Descriptor

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

func (*BinaryExpression) Equal

func (this *BinaryExpression) Equal(that interface{}) bool

func (*BinaryExpression) GetLeft

func (m *BinaryExpression) GetLeft() *Expression

func (*BinaryExpression) GetOp

func (m *BinaryExpression) GetOp() BinaryOp

func (*BinaryExpression) GetRight

func (m *BinaryExpression) GetRight() *Expression

func (*BinaryExpression) GoString

func (this *BinaryExpression) GoString() string

func (*BinaryExpression) Marshal

func (m *BinaryExpression) Marshal() (dAtA []byte, err error)

func (*BinaryExpression) MarshalPhysical

func (e *BinaryExpression) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*BinaryExpression) MarshalTo

func (m *BinaryExpression) MarshalTo(dAtA []byte) (int, error)

func (*BinaryExpression) MarshalToSizedBuffer

func (m *BinaryExpression) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BinaryExpression) ProtoMessage

func (*BinaryExpression) ProtoMessage()

func (*BinaryExpression) Reset

func (m *BinaryExpression) Reset()

func (*BinaryExpression) Size

func (m *BinaryExpression) Size() (n int)

func (*BinaryExpression) String

func (this *BinaryExpression) String() string

func (*BinaryExpression) Unmarshal

func (m *BinaryExpression) Unmarshal(dAtA []byte) error

func (*BinaryExpression) UnmarshalPhysical

func (e *BinaryExpression) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

func (*BinaryExpression) XXX_DiscardUnknown

func (m *BinaryExpression) XXX_DiscardUnknown()

func (*BinaryExpression) XXX_Marshal

func (m *BinaryExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinaryExpression) XXX_Merge

func (m *BinaryExpression) XXX_Merge(src proto.Message)

func (*BinaryExpression) XXX_Size

func (m *BinaryExpression) XXX_Size() int

func (*BinaryExpression) XXX_Unmarshal

func (m *BinaryExpression) XXX_Unmarshal(b []byte) error

type BinaryOp

type BinaryOp int32

BinaryOp denotes the kind of binary operation to perform.

const (
	BINARY_OP_INVALID                           BinaryOp = 0
	BINARY_OP_EQ                                BinaryOp = 1
	BINARY_OP_NEQ                               BinaryOp = 2
	BINARY_OP_GT                                BinaryOp = 3
	BINARY_OP_GTE                               BinaryOp = 4
	BINARY_OP_LT                                BinaryOp = 5
	BINARY_OP_LTE                               BinaryOp = 6
	BINARY_OP_AND                               BinaryOp = 7
	BINARY_OP_OR                                BinaryOp = 8
	BINARY_OP_XOR                               BinaryOp = 9
	BINARY_OP_ADD                               BinaryOp = 10
	BINARY_OP_SUB                               BinaryOp = 11
	BINARY_OP_MUL                               BinaryOp = 12
	BINARY_OP_DIV                               BinaryOp = 13
	BINARY_OP_MOD                               BinaryOp = 14
	BINARY_OP_POW                               BinaryOp = 15
	BINARY_OP_MATCH_SUBSTR                      BinaryOp = 16
	BINARY_OP_NOT_MATCH_SUBSTR                  BinaryOp = 17
	BINARY_OP_MATCH_RE                          BinaryOp = 18
	BINARY_OP_NOT_MATCH_RE                      BinaryOp = 19
	BINARY_OP_MATCH_PATTERN                     BinaryOp = 20
	BINARY_OP_NOT_MATCH_PATTERN                 BinaryOp = 21
	BINARY_OP_EQ_CASE_INSENSITIVE               BinaryOp = 22
	BINARY_OP_NEQ_CASE_INSENSITIVE              BinaryOp = 23
	BINARY_OP_MATCH_SUBSTR_CASE_INSENSITIVE     BinaryOp = 24
	BINARY_OP_NOT_MATCH_SUBSTR_CASE_INSENSITIVE BinaryOp = 25
)

func (BinaryOp) EnumDescriptor

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

func (BinaryOp) MarshalType

func (o BinaryOp) MarshalType() (types.BinaryOp, error)

MarshalType converts a protobuf BinaryOp to its internal types.BinaryOp representation. Returns an error if the conversion fails or the operator is unsupported.

func (BinaryOp) String

func (x BinaryOp) String() string

func (*BinaryOp) UnmarshalType

func (o *BinaryOp) UnmarshalType(from types.BinaryOp) error

UnmarshalType converts an internal types.BinaryOp to its protobuf BinaryOp representation. Returns an error if the conversion fails or the operator is unsupported.

type BoolLiteral

type BoolLiteral struct {
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

BoolLiteral represents a boolean literal value.

func (*BoolLiteral) Descriptor

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

func (*BoolLiteral) Equal

func (this *BoolLiteral) Equal(that interface{}) bool

func (*BoolLiteral) GetValue

func (m *BoolLiteral) GetValue() bool

func (*BoolLiteral) GoString

func (this *BoolLiteral) GoString() string

func (*BoolLiteral) Marshal

func (m *BoolLiteral) Marshal() (dAtA []byte, err error)

func (*BoolLiteral) MarshalLiteral

func (l *BoolLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*BoolLiteral) MarshalTo

func (m *BoolLiteral) MarshalTo(dAtA []byte) (int, error)

func (*BoolLiteral) MarshalToSizedBuffer

func (m *BoolLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BoolLiteral) ProtoMessage

func (*BoolLiteral) ProtoMessage()

func (*BoolLiteral) Reset

func (m *BoolLiteral) Reset()

func (*BoolLiteral) Size

func (m *BoolLiteral) Size() (n int)

func (*BoolLiteral) String

func (this *BoolLiteral) String() string

func (*BoolLiteral) Unmarshal

func (m *BoolLiteral) Unmarshal(dAtA []byte) error

func (*BoolLiteral) UnmarshalLiteral

func (l *BoolLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*BoolLiteral) XXX_DiscardUnknown

func (m *BoolLiteral) XXX_DiscardUnknown()

func (*BoolLiteral) XXX_Marshal

func (m *BoolLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoolLiteral) XXX_Merge

func (m *BoolLiteral) XXX_Merge(src proto.Message)

func (*BoolLiteral) XXX_Size

func (m *BoolLiteral) XXX_Size() int

func (*BoolLiteral) XXX_Unmarshal

func (m *BoolLiteral) XXX_Unmarshal(b []byte) error

type BytesLiteral

type BytesLiteral struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

BytesLiteral represents a bytes count literal value.

func (*BytesLiteral) Descriptor

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

func (*BytesLiteral) Equal

func (this *BytesLiteral) Equal(that interface{}) bool

func (*BytesLiteral) GetValue

func (m *BytesLiteral) GetValue() int64

func (*BytesLiteral) GoString

func (this *BytesLiteral) GoString() string

func (*BytesLiteral) Marshal

func (m *BytesLiteral) Marshal() (dAtA []byte, err error)

func (*BytesLiteral) MarshalLiteral

func (l *BytesLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*BytesLiteral) MarshalTo

func (m *BytesLiteral) MarshalTo(dAtA []byte) (int, error)

func (*BytesLiteral) MarshalToSizedBuffer

func (m *BytesLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BytesLiteral) ProtoMessage

func (*BytesLiteral) ProtoMessage()

func (*BytesLiteral) Reset

func (m *BytesLiteral) Reset()

func (*BytesLiteral) Size

func (m *BytesLiteral) Size() (n int)

func (*BytesLiteral) String

func (this *BytesLiteral) String() string

func (*BytesLiteral) Unmarshal

func (m *BytesLiteral) Unmarshal(dAtA []byte) error

func (*BytesLiteral) UnmarshalLiteral

func (l *BytesLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*BytesLiteral) XXX_DiscardUnknown

func (m *BytesLiteral) XXX_DiscardUnknown()

func (*BytesLiteral) XXX_Marshal

func (m *BytesLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BytesLiteral) XXX_Merge

func (m *BytesLiteral) XXX_Merge(src proto.Message)

func (*BytesLiteral) XXX_Size

func (m *BytesLiteral) XXX_Size() int

func (*BytesLiteral) XXX_Unmarshal

func (m *BytesLiteral) XXX_Unmarshal(b []byte) error

type ColumnExpression

type ColumnExpression struct {
	Name string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type ColumnType `protobuf:"varint,2,opt,name=type,proto3,enum=loki.expression.ColumnType" json:"type,omitempty"`
}

ColumnExpression is an expression used to reference a column.

func (*ColumnExpression) Descriptor

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

func (*ColumnExpression) Equal

func (this *ColumnExpression) Equal(that interface{}) bool

func (*ColumnExpression) GetName

func (m *ColumnExpression) GetName() string

func (*ColumnExpression) GetType

func (m *ColumnExpression) GetType() ColumnType

func (*ColumnExpression) GoString

func (this *ColumnExpression) GoString() string

func (*ColumnExpression) Marshal

func (m *ColumnExpression) Marshal() (dAtA []byte, err error)

func (*ColumnExpression) MarshalPhysical

func (e *ColumnExpression) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*ColumnExpression) MarshalTo

func (m *ColumnExpression) MarshalTo(dAtA []byte) (int, error)

func (*ColumnExpression) MarshalToSizedBuffer

func (m *ColumnExpression) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ColumnExpression) ProtoMessage

func (*ColumnExpression) ProtoMessage()

func (*ColumnExpression) Reset

func (m *ColumnExpression) Reset()

func (*ColumnExpression) Size

func (m *ColumnExpression) Size() (n int)

func (*ColumnExpression) String

func (this *ColumnExpression) String() string

func (*ColumnExpression) Unmarshal

func (m *ColumnExpression) Unmarshal(dAtA []byte) error

func (*ColumnExpression) UnmarshalPhysical

func (e *ColumnExpression) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

func (*ColumnExpression) XXX_DiscardUnknown

func (m *ColumnExpression) XXX_DiscardUnknown()

func (*ColumnExpression) XXX_Marshal

func (m *ColumnExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ColumnExpression) XXX_Merge

func (m *ColumnExpression) XXX_Merge(src proto.Message)

func (*ColumnExpression) XXX_Size

func (m *ColumnExpression) XXX_Size() int

func (*ColumnExpression) XXX_Unmarshal

func (m *ColumnExpression) XXX_Unmarshal(b []byte) error

type ColumnType

type ColumnType int32

ColumnType holds valid types of columns that can be referenced.

const (
	COLUMN_TYPE_INVALID   ColumnType = 0
	COLUMN_TYPE_BUILTIN   ColumnType = 1
	COLUMN_TYPE_LABEL     ColumnType = 2
	COLUMN_TYPE_METADATA  ColumnType = 3
	COLUMN_TYPE_PARSED    ColumnType = 4
	COLUMN_TYPE_AMBIGUOUS ColumnType = 5
	COLUMN_TYPE_GENERATED ColumnType = 6
)

func (ColumnType) EnumDescriptor

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

func (ColumnType) MarshalType

func (t ColumnType) MarshalType() (types.ColumnType, error)

MarshalType converts a protobuf ColumnType to its internal types.ColumnType representation. Returns an error if the conversion fails or the column type is unsupported.

func (ColumnType) String

func (x ColumnType) String() string

func (*ColumnType) UnmarshalType

func (t *ColumnType) UnmarshalType(from types.ColumnType) error

UnmarshalType converts an internal types.ColumnType to its protobuf ColumnType representation. Returns an error if the conversion fails or the column type is unsupported.

type DurationLiteral

type DurationLiteral struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

DurationLiteral represents a duration literal value in nanoseconds.

func (*DurationLiteral) Descriptor

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

func (*DurationLiteral) Equal

func (this *DurationLiteral) Equal(that interface{}) bool

func (*DurationLiteral) GetValue

func (m *DurationLiteral) GetValue() int64

func (*DurationLiteral) GoString

func (this *DurationLiteral) GoString() string

func (*DurationLiteral) Marshal

func (m *DurationLiteral) Marshal() (dAtA []byte, err error)

func (*DurationLiteral) MarshalLiteral

func (l *DurationLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*DurationLiteral) MarshalTo

func (m *DurationLiteral) MarshalTo(dAtA []byte) (int, error)

func (*DurationLiteral) MarshalToSizedBuffer

func (m *DurationLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DurationLiteral) ProtoMessage

func (*DurationLiteral) ProtoMessage()

func (*DurationLiteral) Reset

func (m *DurationLiteral) Reset()

func (*DurationLiteral) Size

func (m *DurationLiteral) Size() (n int)

func (*DurationLiteral) String

func (this *DurationLiteral) String() string

func (*DurationLiteral) Unmarshal

func (m *DurationLiteral) Unmarshal(dAtA []byte) error

func (*DurationLiteral) UnmarshalLiteral

func (l *DurationLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*DurationLiteral) XXX_DiscardUnknown

func (m *DurationLiteral) XXX_DiscardUnknown()

func (*DurationLiteral) XXX_Marshal

func (m *DurationLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DurationLiteral) XXX_Merge

func (m *DurationLiteral) XXX_Merge(src proto.Message)

func (*DurationLiteral) XXX_Size

func (m *DurationLiteral) XXX_Size() int

func (*DurationLiteral) XXX_Unmarshal

func (m *DurationLiteral) XXX_Unmarshal(b []byte) error

type Expression

type Expression struct {
	// Types that are valid to be assigned to Kind:
	//
	//	*Expression_Unary
	//	*Expression_Binary
	//	*Expression_Variadic
	//	*Expression_Literal
	//	*Expression_Column
	Kind isExpression_Kind `protobuf_oneof:"kind"`
}

Expression represents an expression used to compute values in output arrays.

func (*Expression) Descriptor

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

func (*Expression) Equal

func (this *Expression) Equal(that interface{}) bool

func (*Expression) GetBinary

func (m *Expression) GetBinary() *BinaryExpression

func (*Expression) GetColumn

func (m *Expression) GetColumn() *ColumnExpression

func (*Expression) GetKind

func (m *Expression) GetKind() isExpression_Kind

func (*Expression) GetLiteral

func (m *Expression) GetLiteral() *LiteralExpression

func (*Expression) GetUnary

func (m *Expression) GetUnary() *UnaryExpression

func (*Expression) GetVariadic

func (m *Expression) GetVariadic() *VariadicExpression

func (*Expression) GoString

func (this *Expression) GoString() string

func (*Expression) Marshal

func (m *Expression) Marshal() (dAtA []byte, err error)

func (*Expression) MarshalPhysical

func (e *Expression) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*Expression) MarshalTo

func (m *Expression) MarshalTo(dAtA []byte) (int, error)

func (*Expression) MarshalToSizedBuffer

func (m *Expression) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Expression) ProtoMessage

func (*Expression) ProtoMessage()

func (*Expression) Reset

func (m *Expression) Reset()

func (*Expression) Size

func (m *Expression) Size() (n int)

func (*Expression) String

func (this *Expression) String() string

func (*Expression) Unmarshal

func (m *Expression) Unmarshal(dAtA []byte) error

func (*Expression) UnmarshalPhysical

func (e *Expression) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

func (*Expression) XXX_DiscardUnknown

func (m *Expression) XXX_DiscardUnknown()

func (*Expression) XXX_Marshal

func (m *Expression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Expression) XXX_Merge

func (m *Expression) XXX_Merge(src proto.Message)

func (*Expression) XXX_OneofWrappers

func (*Expression) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Expression) XXX_Size

func (m *Expression) XXX_Size() int

func (*Expression) XXX_Unmarshal

func (m *Expression) XXX_Unmarshal(b []byte) error

type Expression_Binary

type Expression_Binary struct {
	Binary *BinaryExpression `protobuf:"bytes,2,opt,name=binary,proto3,oneof"`
}

func (*Expression_Binary) Equal

func (this *Expression_Binary) Equal(that interface{}) bool

func (*Expression_Binary) GoString

func (this *Expression_Binary) GoString() string

func (*Expression_Binary) MarshalPhysical

func (e *Expression_Binary) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*Expression_Binary) MarshalTo

func (m *Expression_Binary) MarshalTo(dAtA []byte) (int, error)

func (*Expression_Binary) MarshalToSizedBuffer

func (m *Expression_Binary) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Expression_Binary) Size

func (m *Expression_Binary) Size() (n int)

func (*Expression_Binary) String

func (this *Expression_Binary) String() string

func (*Expression_Binary) UnmarshalPhysical

func (e *Expression_Binary) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

type Expression_Column

type Expression_Column struct {
	Column *ColumnExpression `protobuf:"bytes,5,opt,name=column,proto3,oneof"`
}

func (*Expression_Column) Equal

func (this *Expression_Column) Equal(that interface{}) bool

func (*Expression_Column) GoString

func (this *Expression_Column) GoString() string

func (*Expression_Column) MarshalPhysical

func (e *Expression_Column) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*Expression_Column) MarshalTo

func (m *Expression_Column) MarshalTo(dAtA []byte) (int, error)

func (*Expression_Column) MarshalToSizedBuffer

func (m *Expression_Column) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Expression_Column) Size

func (m *Expression_Column) Size() (n int)

func (*Expression_Column) String

func (this *Expression_Column) String() string

func (*Expression_Column) UnmarshalPhysical

func (e *Expression_Column) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

type Expression_Literal

type Expression_Literal struct {
	Literal *LiteralExpression `protobuf:"bytes,4,opt,name=literal,proto3,oneof"`
}

func (*Expression_Literal) Equal

func (this *Expression_Literal) Equal(that interface{}) bool

func (*Expression_Literal) GoString

func (this *Expression_Literal) GoString() string

func (*Expression_Literal) MarshalPhysical

func (e *Expression_Literal) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*Expression_Literal) MarshalTo

func (m *Expression_Literal) MarshalTo(dAtA []byte) (int, error)

func (*Expression_Literal) MarshalToSizedBuffer

func (m *Expression_Literal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Expression_Literal) Size

func (m *Expression_Literal) Size() (n int)

func (*Expression_Literal) String

func (this *Expression_Literal) String() string

func (*Expression_Literal) UnmarshalPhysical

func (e *Expression_Literal) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

type Expression_Unary

type Expression_Unary struct {
	Unary *UnaryExpression `protobuf:"bytes,1,opt,name=unary,proto3,oneof"`
}

func (*Expression_Unary) Equal

func (this *Expression_Unary) Equal(that interface{}) bool

func (*Expression_Unary) GoString

func (this *Expression_Unary) GoString() string

func (*Expression_Unary) MarshalPhysical

func (e *Expression_Unary) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*Expression_Unary) MarshalTo

func (m *Expression_Unary) MarshalTo(dAtA []byte) (int, error)

func (*Expression_Unary) MarshalToSizedBuffer

func (m *Expression_Unary) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Expression_Unary) Size

func (m *Expression_Unary) Size() (n int)

func (*Expression_Unary) String

func (this *Expression_Unary) String() string

func (*Expression_Unary) UnmarshalPhysical

func (e *Expression_Unary) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

type Expression_Variadic

type Expression_Variadic struct {
	Variadic *VariadicExpression `protobuf:"bytes,3,opt,name=variadic,proto3,oneof"`
}

func (*Expression_Variadic) Equal

func (this *Expression_Variadic) Equal(that interface{}) bool

func (*Expression_Variadic) GoString

func (this *Expression_Variadic) GoString() string

func (*Expression_Variadic) MarshalPhysical

func (e *Expression_Variadic) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*Expression_Variadic) MarshalTo

func (m *Expression_Variadic) MarshalTo(dAtA []byte) (int, error)

func (*Expression_Variadic) MarshalToSizedBuffer

func (m *Expression_Variadic) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Expression_Variadic) Size

func (m *Expression_Variadic) Size() (n int)

func (*Expression_Variadic) String

func (this *Expression_Variadic) String() string

func (*Expression_Variadic) UnmarshalPhysical

func (e *Expression_Variadic) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

type FloatLiteral

type FloatLiteral struct {
	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
}

FloatLiteral represents a floating point literal value.

func (*FloatLiteral) Descriptor

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

func (*FloatLiteral) Equal

func (this *FloatLiteral) Equal(that interface{}) bool

func (*FloatLiteral) GetValue

func (m *FloatLiteral) GetValue() float64

func (*FloatLiteral) GoString

func (this *FloatLiteral) GoString() string

func (*FloatLiteral) Marshal

func (m *FloatLiteral) Marshal() (dAtA []byte, err error)

func (*FloatLiteral) MarshalLiteral

func (l *FloatLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*FloatLiteral) MarshalTo

func (m *FloatLiteral) MarshalTo(dAtA []byte) (int, error)

func (*FloatLiteral) MarshalToSizedBuffer

func (m *FloatLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FloatLiteral) ProtoMessage

func (*FloatLiteral) ProtoMessage()

func (*FloatLiteral) Reset

func (m *FloatLiteral) Reset()

func (*FloatLiteral) Size

func (m *FloatLiteral) Size() (n int)

func (*FloatLiteral) String

func (this *FloatLiteral) String() string

func (*FloatLiteral) Unmarshal

func (m *FloatLiteral) Unmarshal(dAtA []byte) error

func (*FloatLiteral) UnmarshalLiteral

func (l *FloatLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*FloatLiteral) XXX_DiscardUnknown

func (m *FloatLiteral) XXX_DiscardUnknown()

func (*FloatLiteral) XXX_Marshal

func (m *FloatLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FloatLiteral) XXX_Merge

func (m *FloatLiteral) XXX_Merge(src proto.Message)

func (*FloatLiteral) XXX_Size

func (m *FloatLiteral) XXX_Size() int

func (*FloatLiteral) XXX_Unmarshal

func (m *FloatLiteral) XXX_Unmarshal(b []byte) error

type IntegerLiteral

type IntegerLiteral struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

IntegerLiteral represents a signed integer literal value.

func (*IntegerLiteral) Descriptor

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

func (*IntegerLiteral) Equal

func (this *IntegerLiteral) Equal(that interface{}) bool

func (*IntegerLiteral) GetValue

func (m *IntegerLiteral) GetValue() int64

func (*IntegerLiteral) GoString

func (this *IntegerLiteral) GoString() string

func (*IntegerLiteral) Marshal

func (m *IntegerLiteral) Marshal() (dAtA []byte, err error)

func (*IntegerLiteral) MarshalLiteral

func (l *IntegerLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*IntegerLiteral) MarshalTo

func (m *IntegerLiteral) MarshalTo(dAtA []byte) (int, error)

func (*IntegerLiteral) MarshalToSizedBuffer

func (m *IntegerLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IntegerLiteral) ProtoMessage

func (*IntegerLiteral) ProtoMessage()

func (*IntegerLiteral) Reset

func (m *IntegerLiteral) Reset()

func (*IntegerLiteral) Size

func (m *IntegerLiteral) Size() (n int)

func (*IntegerLiteral) String

func (this *IntegerLiteral) String() string

func (*IntegerLiteral) Unmarshal

func (m *IntegerLiteral) Unmarshal(dAtA []byte) error

func (*IntegerLiteral) UnmarshalLiteral

func (l *IntegerLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*IntegerLiteral) XXX_DiscardUnknown

func (m *IntegerLiteral) XXX_DiscardUnknown()

func (*IntegerLiteral) XXX_Marshal

func (m *IntegerLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntegerLiteral) XXX_Merge

func (m *IntegerLiteral) XXX_Merge(src proto.Message)

func (*IntegerLiteral) XXX_Size

func (m *IntegerLiteral) XXX_Size() int

func (*IntegerLiteral) XXX_Unmarshal

func (m *IntegerLiteral) XXX_Unmarshal(b []byte) error

type LiteralExpression

type LiteralExpression struct {
	// Types that are valid to be assigned to Kind:
	//
	//	*LiteralExpression_NullLiteral
	//	*LiteralExpression_BoolLiteral
	//	*LiteralExpression_StringLiteral
	//	*LiteralExpression_IntegerLiteral
	//	*LiteralExpression_FloatLiteral
	//	*LiteralExpression_TimestampLiteral
	//	*LiteralExpression_DurationLiteral
	//	*LiteralExpression_BytesLiteral
	//	*LiteralExpression_StringListLiteral
	Kind isLiteralExpression_Kind `protobuf_oneof:"kind"`
}

LiteralExpression represents a constant literal value in an expression tree.

func (*LiteralExpression) Descriptor

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

func (*LiteralExpression) Equal

func (this *LiteralExpression) Equal(that interface{}) bool

func (*LiteralExpression) GetBoolLiteral

func (m *LiteralExpression) GetBoolLiteral() *BoolLiteral

func (*LiteralExpression) GetBytesLiteral

func (m *LiteralExpression) GetBytesLiteral() *BytesLiteral

func (*LiteralExpression) GetDurationLiteral

func (m *LiteralExpression) GetDurationLiteral() *DurationLiteral

func (*LiteralExpression) GetFloatLiteral

func (m *LiteralExpression) GetFloatLiteral() *FloatLiteral

func (*LiteralExpression) GetIntegerLiteral

func (m *LiteralExpression) GetIntegerLiteral() *IntegerLiteral

func (*LiteralExpression) GetKind

func (m *LiteralExpression) GetKind() isLiteralExpression_Kind

func (*LiteralExpression) GetNullLiteral

func (m *LiteralExpression) GetNullLiteral() *NullLiteral

func (*LiteralExpression) GetStringListLiteral

func (m *LiteralExpression) GetStringListLiteral() *StringListLiteral

func (*LiteralExpression) GetStringLiteral

func (m *LiteralExpression) GetStringLiteral() *StringLiteral

func (*LiteralExpression) GetTimestampLiteral

func (m *LiteralExpression) GetTimestampLiteral() *TimestampLiteral

func (*LiteralExpression) GoString

func (this *LiteralExpression) GoString() string

func (*LiteralExpression) Marshal

func (m *LiteralExpression) Marshal() (dAtA []byte, err error)

func (*LiteralExpression) MarshalPhysical

func (e *LiteralExpression) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression) MarshalTo

func (m *LiteralExpression) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression) MarshalToSizedBuffer

func (m *LiteralExpression) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression) ProtoMessage

func (*LiteralExpression) ProtoMessage()

func (*LiteralExpression) Reset

func (m *LiteralExpression) Reset()

func (*LiteralExpression) Size

func (m *LiteralExpression) Size() (n int)

func (*LiteralExpression) String

func (this *LiteralExpression) String() string

func (*LiteralExpression) Unmarshal

func (m *LiteralExpression) Unmarshal(dAtA []byte) error

func (*LiteralExpression) UnmarshalPhysical

func (e *LiteralExpression) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression) XXX_DiscardUnknown

func (m *LiteralExpression) XXX_DiscardUnknown()

func (*LiteralExpression) XXX_Marshal

func (m *LiteralExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LiteralExpression) XXX_Merge

func (m *LiteralExpression) XXX_Merge(src proto.Message)

func (*LiteralExpression) XXX_OneofWrappers

func (*LiteralExpression) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LiteralExpression) XXX_Size

func (m *LiteralExpression) XXX_Size() int

func (*LiteralExpression) XXX_Unmarshal

func (m *LiteralExpression) XXX_Unmarshal(b []byte) error

type LiteralExpression_BoolLiteral

type LiteralExpression_BoolLiteral struct {
	BoolLiteral *BoolLiteral `protobuf:"bytes,2,opt,name=bool_literal,json=boolLiteral,proto3,oneof"`
}

func (*LiteralExpression_BoolLiteral) Equal

func (this *LiteralExpression_BoolLiteral) Equal(that interface{}) bool

func (*LiteralExpression_BoolLiteral) GoString

func (this *LiteralExpression_BoolLiteral) GoString() string

func (*LiteralExpression_BoolLiteral) MarshalLiteral

func (e *LiteralExpression_BoolLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_BoolLiteral) MarshalTo

func (m *LiteralExpression_BoolLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_BoolLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_BoolLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_BoolLiteral) Size

func (m *LiteralExpression_BoolLiteral) Size() (n int)

func (*LiteralExpression_BoolLiteral) String

func (this *LiteralExpression_BoolLiteral) String() string

func (*LiteralExpression_BoolLiteral) UnmarshalLiteral

func (e *LiteralExpression_BoolLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_BytesLiteral

type LiteralExpression_BytesLiteral struct {
	BytesLiteral *BytesLiteral `protobuf:"bytes,8,opt,name=bytes_literal,json=bytesLiteral,proto3,oneof"`
}

func (*LiteralExpression_BytesLiteral) Equal

func (this *LiteralExpression_BytesLiteral) Equal(that interface{}) bool

func (*LiteralExpression_BytesLiteral) GoString

func (this *LiteralExpression_BytesLiteral) GoString() string

func (*LiteralExpression_BytesLiteral) MarshalLiteral

func (e *LiteralExpression_BytesLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_BytesLiteral) MarshalTo

func (m *LiteralExpression_BytesLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_BytesLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_BytesLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_BytesLiteral) Size

func (m *LiteralExpression_BytesLiteral) Size() (n int)

func (*LiteralExpression_BytesLiteral) String

func (this *LiteralExpression_BytesLiteral) String() string

func (*LiteralExpression_BytesLiteral) UnmarshalLiteral

func (e *LiteralExpression_BytesLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_DurationLiteral

type LiteralExpression_DurationLiteral struct {
	DurationLiteral *DurationLiteral `protobuf:"bytes,7,opt,name=duration_literal,json=durationLiteral,proto3,oneof"`
}

func (*LiteralExpression_DurationLiteral) Equal

func (this *LiteralExpression_DurationLiteral) Equal(that interface{}) bool

func (*LiteralExpression_DurationLiteral) GoString

func (this *LiteralExpression_DurationLiteral) GoString() string

func (*LiteralExpression_DurationLiteral) MarshalLiteral

func (e *LiteralExpression_DurationLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_DurationLiteral) MarshalTo

func (m *LiteralExpression_DurationLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_DurationLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_DurationLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_DurationLiteral) Size

func (m *LiteralExpression_DurationLiteral) Size() (n int)

func (*LiteralExpression_DurationLiteral) String

func (*LiteralExpression_DurationLiteral) UnmarshalLiteral

func (e *LiteralExpression_DurationLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_FloatLiteral

type LiteralExpression_FloatLiteral struct {
	FloatLiteral *FloatLiteral `protobuf:"bytes,5,opt,name=float_literal,json=floatLiteral,proto3,oneof"`
}

func (*LiteralExpression_FloatLiteral) Equal

func (this *LiteralExpression_FloatLiteral) Equal(that interface{}) bool

func (*LiteralExpression_FloatLiteral) GoString

func (this *LiteralExpression_FloatLiteral) GoString() string

func (*LiteralExpression_FloatLiteral) MarshalLiteral

func (e *LiteralExpression_FloatLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_FloatLiteral) MarshalTo

func (m *LiteralExpression_FloatLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_FloatLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_FloatLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_FloatLiteral) Size

func (m *LiteralExpression_FloatLiteral) Size() (n int)

func (*LiteralExpression_FloatLiteral) String

func (this *LiteralExpression_FloatLiteral) String() string

func (*LiteralExpression_FloatLiteral) UnmarshalLiteral

func (e *LiteralExpression_FloatLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_IntegerLiteral

type LiteralExpression_IntegerLiteral struct {
	IntegerLiteral *IntegerLiteral `protobuf:"bytes,4,opt,name=integer_literal,json=integerLiteral,proto3,oneof"`
}

func (*LiteralExpression_IntegerLiteral) Equal

func (this *LiteralExpression_IntegerLiteral) Equal(that interface{}) bool

func (*LiteralExpression_IntegerLiteral) GoString

func (this *LiteralExpression_IntegerLiteral) GoString() string

func (*LiteralExpression_IntegerLiteral) MarshalLiteral

func (e *LiteralExpression_IntegerLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_IntegerLiteral) MarshalTo

func (m *LiteralExpression_IntegerLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_IntegerLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_IntegerLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_IntegerLiteral) Size

func (m *LiteralExpression_IntegerLiteral) Size() (n int)

func (*LiteralExpression_IntegerLiteral) String

func (*LiteralExpression_IntegerLiteral) UnmarshalLiteral

func (e *LiteralExpression_IntegerLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_NullLiteral

type LiteralExpression_NullLiteral struct {
	NullLiteral *NullLiteral `protobuf:"bytes,1,opt,name=null_literal,json=nullLiteral,proto3,oneof"`
}

func (*LiteralExpression_NullLiteral) Equal

func (this *LiteralExpression_NullLiteral) Equal(that interface{}) bool

func (*LiteralExpression_NullLiteral) GoString

func (this *LiteralExpression_NullLiteral) GoString() string

func (*LiteralExpression_NullLiteral) MarshalLiteral

func (e *LiteralExpression_NullLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_NullLiteral) MarshalTo

func (m *LiteralExpression_NullLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_NullLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_NullLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_NullLiteral) Size

func (m *LiteralExpression_NullLiteral) Size() (n int)

func (*LiteralExpression_NullLiteral) String

func (this *LiteralExpression_NullLiteral) String() string

func (*LiteralExpression_NullLiteral) UnmarshalLiteral

func (e *LiteralExpression_NullLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_StringListLiteral

type LiteralExpression_StringListLiteral struct {
	StringListLiteral *StringListLiteral `protobuf:"bytes,9,opt,name=string_list_literal,json=stringListLiteral,proto3,oneof"`
}

func (*LiteralExpression_StringListLiteral) Equal

func (this *LiteralExpression_StringListLiteral) Equal(that interface{}) bool

func (*LiteralExpression_StringListLiteral) GoString

func (*LiteralExpression_StringListLiteral) MarshalLiteral

func (e *LiteralExpression_StringListLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_StringListLiteral) MarshalTo

func (m *LiteralExpression_StringListLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_StringListLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_StringListLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_StringListLiteral) Size

func (*LiteralExpression_StringListLiteral) String

func (*LiteralExpression_StringListLiteral) UnmarshalLiteral

func (e *LiteralExpression_StringListLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_StringLiteral

type LiteralExpression_StringLiteral struct {
	StringLiteral *StringLiteral `protobuf:"bytes,3,opt,name=string_literal,json=stringLiteral,proto3,oneof"`
}

func (*LiteralExpression_StringLiteral) Equal

func (this *LiteralExpression_StringLiteral) Equal(that interface{}) bool

func (*LiteralExpression_StringLiteral) GoString

func (this *LiteralExpression_StringLiteral) GoString() string

func (*LiteralExpression_StringLiteral) MarshalLiteral

func (e *LiteralExpression_StringLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_StringLiteral) MarshalTo

func (m *LiteralExpression_StringLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_StringLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_StringLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_StringLiteral) Size

func (m *LiteralExpression_StringLiteral) Size() (n int)

func (*LiteralExpression_StringLiteral) String

func (this *LiteralExpression_StringLiteral) String() string

func (*LiteralExpression_StringLiteral) UnmarshalLiteral

func (e *LiteralExpression_StringLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type LiteralExpression_TimestampLiteral

type LiteralExpression_TimestampLiteral struct {
	TimestampLiteral *TimestampLiteral `protobuf:"bytes,6,opt,name=timestamp_literal,json=timestampLiteral,proto3,oneof"`
}

func (*LiteralExpression_TimestampLiteral) Equal

func (this *LiteralExpression_TimestampLiteral) Equal(that interface{}) bool

func (*LiteralExpression_TimestampLiteral) GoString

func (this *LiteralExpression_TimestampLiteral) GoString() string

func (*LiteralExpression_TimestampLiteral) MarshalLiteral

func (e *LiteralExpression_TimestampLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*LiteralExpression_TimestampLiteral) MarshalTo

func (m *LiteralExpression_TimestampLiteral) MarshalTo(dAtA []byte) (int, error)

func (*LiteralExpression_TimestampLiteral) MarshalToSizedBuffer

func (m *LiteralExpression_TimestampLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LiteralExpression_TimestampLiteral) Size

func (*LiteralExpression_TimestampLiteral) String

func (*LiteralExpression_TimestampLiteral) UnmarshalLiteral

func (e *LiteralExpression_TimestampLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into e. Returns an error if the conversion fails or is unsupported.

type NullLiteral

type NullLiteral struct {
}

NullLiteral represents a null literal value.

func (*NullLiteral) Descriptor

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

func (*NullLiteral) Equal

func (this *NullLiteral) Equal(that interface{}) bool

func (*NullLiteral) GoString

func (this *NullLiteral) GoString() string

func (*NullLiteral) Marshal

func (m *NullLiteral) Marshal() (dAtA []byte, err error)

func (*NullLiteral) MarshalLiteral

func (l *NullLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*NullLiteral) MarshalTo

func (m *NullLiteral) MarshalTo(dAtA []byte) (int, error)

func (*NullLiteral) MarshalToSizedBuffer

func (m *NullLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NullLiteral) ProtoMessage

func (*NullLiteral) ProtoMessage()

func (*NullLiteral) Reset

func (m *NullLiteral) Reset()

func (*NullLiteral) Size

func (m *NullLiteral) Size() (n int)

func (*NullLiteral) String

func (this *NullLiteral) String() string

func (*NullLiteral) Unmarshal

func (m *NullLiteral) Unmarshal(dAtA []byte) error

func (*NullLiteral) UnmarshalLiteral

func (l *NullLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*NullLiteral) XXX_DiscardUnknown

func (m *NullLiteral) XXX_DiscardUnknown()

func (*NullLiteral) XXX_Marshal

func (m *NullLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NullLiteral) XXX_Merge

func (m *NullLiteral) XXX_Merge(src proto.Message)

func (*NullLiteral) XXX_Size

func (m *NullLiteral) XXX_Size() int

func (*NullLiteral) XXX_Unmarshal

func (m *NullLiteral) XXX_Unmarshal(b []byte) error

type StringListLiteral

type StringListLiteral struct {
	Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

StringListLiteral represents a list of string literal values.

func (*StringListLiteral) Descriptor

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

func (*StringListLiteral) Equal

func (this *StringListLiteral) Equal(that interface{}) bool

func (*StringListLiteral) GetValue

func (m *StringListLiteral) GetValue() []string

func (*StringListLiteral) GoString

func (this *StringListLiteral) GoString() string

func (*StringListLiteral) Marshal

func (m *StringListLiteral) Marshal() (dAtA []byte, err error)

func (*StringListLiteral) MarshalLiteral

func (l *StringListLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*StringListLiteral) MarshalTo

func (m *StringListLiteral) MarshalTo(dAtA []byte) (int, error)

func (*StringListLiteral) MarshalToSizedBuffer

func (m *StringListLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringListLiteral) ProtoMessage

func (*StringListLiteral) ProtoMessage()

func (*StringListLiteral) Reset

func (m *StringListLiteral) Reset()

func (*StringListLiteral) Size

func (m *StringListLiteral) Size() (n int)

func (*StringListLiteral) String

func (this *StringListLiteral) String() string

func (*StringListLiteral) Unmarshal

func (m *StringListLiteral) Unmarshal(dAtA []byte) error

func (*StringListLiteral) UnmarshalLiteral

func (l *StringListLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*StringListLiteral) XXX_DiscardUnknown

func (m *StringListLiteral) XXX_DiscardUnknown()

func (*StringListLiteral) XXX_Marshal

func (m *StringListLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringListLiteral) XXX_Merge

func (m *StringListLiteral) XXX_Merge(src proto.Message)

func (*StringListLiteral) XXX_Size

func (m *StringListLiteral) XXX_Size() int

func (*StringListLiteral) XXX_Unmarshal

func (m *StringListLiteral) XXX_Unmarshal(b []byte) error

type StringLiteral

type StringLiteral struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

StringLiteral represents a string literal value.

func (*StringLiteral) Descriptor

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

func (*StringLiteral) Equal

func (this *StringLiteral) Equal(that interface{}) bool

func (*StringLiteral) GetValue

func (m *StringLiteral) GetValue() string

func (*StringLiteral) GoString

func (this *StringLiteral) GoString() string

func (*StringLiteral) Marshal

func (m *StringLiteral) Marshal() (dAtA []byte, err error)

func (*StringLiteral) MarshalLiteral

func (l *StringLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*StringLiteral) MarshalTo

func (m *StringLiteral) MarshalTo(dAtA []byte) (int, error)

func (*StringLiteral) MarshalToSizedBuffer

func (m *StringLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringLiteral) ProtoMessage

func (*StringLiteral) ProtoMessage()

func (*StringLiteral) Reset

func (m *StringLiteral) Reset()

func (*StringLiteral) Size

func (m *StringLiteral) Size() (n int)

func (*StringLiteral) String

func (this *StringLiteral) String() string

func (*StringLiteral) Unmarshal

func (m *StringLiteral) Unmarshal(dAtA []byte) error

func (*StringLiteral) UnmarshalLiteral

func (l *StringLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*StringLiteral) XXX_DiscardUnknown

func (m *StringLiteral) XXX_DiscardUnknown()

func (*StringLiteral) XXX_Marshal

func (m *StringLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringLiteral) XXX_Merge

func (m *StringLiteral) XXX_Merge(src proto.Message)

func (*StringLiteral) XXX_Size

func (m *StringLiteral) XXX_Size() int

func (*StringLiteral) XXX_Unmarshal

func (m *StringLiteral) XXX_Unmarshal(b []byte) error

type TimestampLiteral

type TimestampLiteral struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

TimestampLiteral represents a timestamp literal value in nanoseconds since the Unix epoch.

func (*TimestampLiteral) Descriptor

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

func (*TimestampLiteral) Equal

func (this *TimestampLiteral) Equal(that interface{}) bool

func (*TimestampLiteral) GetValue

func (m *TimestampLiteral) GetValue() int64

func (*TimestampLiteral) GoString

func (this *TimestampLiteral) GoString() string

func (*TimestampLiteral) Marshal

func (m *TimestampLiteral) Marshal() (dAtA []byte, err error)

func (*TimestampLiteral) MarshalLiteral

func (l *TimestampLiteral) MarshalLiteral() (types.Literal, error)

MarshalLiteral converts a protobuf literal into a types literal. Returns an error if the conversion fails or is unsupported.

func (*TimestampLiteral) MarshalTo

func (m *TimestampLiteral) MarshalTo(dAtA []byte) (int, error)

func (*TimestampLiteral) MarshalToSizedBuffer

func (m *TimestampLiteral) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimestampLiteral) ProtoMessage

func (*TimestampLiteral) ProtoMessage()

func (*TimestampLiteral) Reset

func (m *TimestampLiteral) Reset()

func (*TimestampLiteral) Size

func (m *TimestampLiteral) Size() (n int)

func (*TimestampLiteral) String

func (this *TimestampLiteral) String() string

func (*TimestampLiteral) Unmarshal

func (m *TimestampLiteral) Unmarshal(dAtA []byte) error

func (*TimestampLiteral) UnmarshalLiteral

func (l *TimestampLiteral) UnmarshalLiteral(literal types.Literal) error

UnmarshalLiteral reads from literal into l. Returns an error if the conversion fails or is unsupported.

func (*TimestampLiteral) XXX_DiscardUnknown

func (m *TimestampLiteral) XXX_DiscardUnknown()

func (*TimestampLiteral) XXX_Marshal

func (m *TimestampLiteral) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimestampLiteral) XXX_Merge

func (m *TimestampLiteral) XXX_Merge(src proto.Message)

func (*TimestampLiteral) XXX_Size

func (m *TimestampLiteral) XXX_Size() int

func (*TimestampLiteral) XXX_Unmarshal

func (m *TimestampLiteral) XXX_Unmarshal(b []byte) error

type UnaryExpression

type UnaryExpression struct {
	Op    UnaryOp     `protobuf:"varint,1,opt,name=op,proto3,enum=loki.expression.UnaryOp" json:"op,omitempty"`
	Value *Expression `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

UnaryExpression represents a unary operation applied to an expression.

func (*UnaryExpression) Descriptor

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

func (*UnaryExpression) Equal

func (this *UnaryExpression) Equal(that interface{}) bool

func (*UnaryExpression) GetOp

func (m *UnaryExpression) GetOp() UnaryOp

func (*UnaryExpression) GetValue

func (m *UnaryExpression) GetValue() *Expression

func (*UnaryExpression) GoString

func (this *UnaryExpression) GoString() string

func (*UnaryExpression) Marshal

func (m *UnaryExpression) Marshal() (dAtA []byte, err error)

func (*UnaryExpression) MarshalPhysical

func (e *UnaryExpression) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*UnaryExpression) MarshalTo

func (m *UnaryExpression) MarshalTo(dAtA []byte) (int, error)

func (*UnaryExpression) MarshalToSizedBuffer

func (m *UnaryExpression) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnaryExpression) ProtoMessage

func (*UnaryExpression) ProtoMessage()

func (*UnaryExpression) Reset

func (m *UnaryExpression) Reset()

func (*UnaryExpression) Size

func (m *UnaryExpression) Size() (n int)

func (*UnaryExpression) String

func (this *UnaryExpression) String() string

func (*UnaryExpression) Unmarshal

func (m *UnaryExpression) Unmarshal(dAtA []byte) error

func (*UnaryExpression) UnmarshalPhysical

func (e *UnaryExpression) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

func (*UnaryExpression) XXX_DiscardUnknown

func (m *UnaryExpression) XXX_DiscardUnknown()

func (*UnaryExpression) XXX_Marshal

func (m *UnaryExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnaryExpression) XXX_Merge

func (m *UnaryExpression) XXX_Merge(src proto.Message)

func (*UnaryExpression) XXX_Size

func (m *UnaryExpression) XXX_Size() int

func (*UnaryExpression) XXX_Unmarshal

func (m *UnaryExpression) XXX_Unmarshal(b []byte) error

type UnaryOp

type UnaryOp int32

UnaryOp denotes the kind of unary operation to perform.

const (
	UNARY_OP_INVALID       UnaryOp = 0
	UNARY_OP_NOT           UnaryOp = 1
	UNARY_OP_ABS           UnaryOp = 2
	UNARY_OP_CAST_FLOAT    UnaryOp = 3
	UNARY_OP_CAST_BYTES    UnaryOp = 4
	UNARY_OP_CAST_DURATION UnaryOp = 5
)

func (UnaryOp) EnumDescriptor

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

func (UnaryOp) MarshalType

func (o UnaryOp) MarshalType() (types.UnaryOp, error)

MarshalType converts a protobuf UnaryOp to its internal types.UnaryOp representation. Returns an error if the conversion fails or the operator is unsupported.

func (UnaryOp) String

func (x UnaryOp) String() string

func (*UnaryOp) UnmarshalType

func (o *UnaryOp) UnmarshalType(from types.UnaryOp) error

UnmarshalType converts an internal types.UnaryOp to its protobuf UnaryOp representation. Returns an error if the conversion fails or the operator is unsupported.

type VariadicExpression

type VariadicExpression struct {
	Op   VariadicOp    `protobuf:"varint,1,opt,name=op,proto3,enum=loki.expression.VariadicOp" json:"op,omitempty"`
	Args []*Expression `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
}

VariadicExpression is an expression that executes a function with a variable number of arguments.

func (*VariadicExpression) Descriptor

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

func (*VariadicExpression) Equal

func (this *VariadicExpression) Equal(that interface{}) bool

func (*VariadicExpression) GetArgs

func (m *VariadicExpression) GetArgs() []*Expression

func (*VariadicExpression) GetOp

func (m *VariadicExpression) GetOp() VariadicOp

func (*VariadicExpression) GoString

func (this *VariadicExpression) GoString() string

func (*VariadicExpression) Marshal

func (m *VariadicExpression) Marshal() (dAtA []byte, err error)

func (*VariadicExpression) MarshalPhysical

func (e *VariadicExpression) MarshalPhysical() (physical.Expression, error)

MarshalPhysical converts a protobuf expression into a physical plan expression. Returns an error if the conversion fails or is unsupported.

func (*VariadicExpression) MarshalTo

func (m *VariadicExpression) MarshalTo(dAtA []byte) (int, error)

func (*VariadicExpression) MarshalToSizedBuffer

func (m *VariadicExpression) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VariadicExpression) ProtoMessage

func (*VariadicExpression) ProtoMessage()

func (*VariadicExpression) Reset

func (m *VariadicExpression) Reset()

func (*VariadicExpression) Size

func (m *VariadicExpression) Size() (n int)

func (*VariadicExpression) String

func (this *VariadicExpression) String() string

func (*VariadicExpression) Unmarshal

func (m *VariadicExpression) Unmarshal(dAtA []byte) error

func (*VariadicExpression) UnmarshalPhysical

func (e *VariadicExpression) UnmarshalPhysical(from physical.Expression) error

UnmarshalPhysical reads from into e. Returns an error if the conversion fails or is unsupported.

func (*VariadicExpression) XXX_DiscardUnknown

func (m *VariadicExpression) XXX_DiscardUnknown()

func (*VariadicExpression) XXX_Marshal

func (m *VariadicExpression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VariadicExpression) XXX_Merge

func (m *VariadicExpression) XXX_Merge(src proto.Message)

func (*VariadicExpression) XXX_Size

func (m *VariadicExpression) XXX_Size() int

func (*VariadicExpression) XXX_Unmarshal

func (m *VariadicExpression) XXX_Unmarshal(b []byte) error

type VariadicOp

type VariadicOp int32

VariadicOp denotes the kind of variadic operation to execute.

const (
	VARIADIC_OP_INVALID      VariadicOp = 0
	VARIADIC_OP_PARSE_LOGFMT VariadicOp = 1
	VARIADIC_OP_PARSE_JSON   VariadicOp = 2
	VARIADIC_OP_PARSE_REGEXP VariadicOp = 3
)

func (VariadicOp) EnumDescriptor

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

func (VariadicOp) MarshalType

func (o VariadicOp) MarshalType() (types.VariadicOp, error)

MarshalType converts a protobuf VariadicOp to its internal types.VariadicOp representation. Returns an error if the conversion fails or the operator is unsupported.

func (VariadicOp) String

func (x VariadicOp) String() string

func (*VariadicOp) UnmarshalType

func (o *VariadicOp) UnmarshalType(from types.VariadicOp) error

UnmarshalType converts an internal types.VariadicOp to its protobuf VariadicOp representation. Returns an error if the conversion fails or the operator is unsupported.

Jump to

Keyboard shortcuts

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