Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryOp ¶
type BinaryOp uint32
BinaryOp denotes the kind of BinaryOp operation to perform.
const ( // BinaryOpInvalid indicates an invalid binary operation. BinaryOpInvalid BinaryOp = iota BinaryOpEq // Equality comparison (==). BinaryOpNeq // Inequality comparison (!=). BinaryOpGt // Greater than comparison (>). BinaryOpGte // Greater than or equal comparison (>=). BinaryOpLt // Less than comparison (<). BinaryOpLte // Less than or equal comparison (<=). BinaryOpAnd // Logical AND operation (&&). BinaryOpOr // Logical OR operation (||). BinaryOpXor // Logical XOR operation (^). BinaryOpNot // Logical NOT operation (!). BinaryOpAdd // Addition operation (+). BinaryOpSub // Subtraction operation (-). BinaryOpMul // Multiplication operation (*). BinaryOpDiv // Division operation (/). BinaryOpMod // Modulo operation (%). BinaryOpMatchStr // String matching operation (|=). BinaryOpNotMatchStr // String non-matching operation (!=). BinaryOpMatchRe // Regular expression matching operation (|~). BinaryOpNotMatchRe // Regular expression non-matching operation (!~). )
Recognized values of BinaryOp.
type ColumnType ¶
type ColumnType int
ColumnType denotes the column type for a [ColumnRef].
const ( // ColumnTypeInvalid indicates an invalid column type. ColumnTypeInvalid ColumnType = iota ColumnTypeBuiltin // ColumnTypeBuiltin represents a builtin column (such as timestamp). ColumnTypeLabel // ColumnTypeLabel represents a column from a stream label. ColumnTypeMetadata // ColumnTypeMetadata represents a column from a log metadata. )
Recognized values of ColumnType.
func (ColumnType) String ¶
func (ct ColumnType) String() string
String returns a human-readable representation of the column type.
type LiteralKind ¶
type LiteralKind int
LiteralKind denotes the kind of [Literal] value.
const ( // LiteralKindInvalid indicates an invalid literal value. LiteralKindInvalid LiteralKind = iota LiteralKindNull // NULL literal value. LiteralKindString // String literal value. LiteralKindInt64 // 64-bit integer literal value. LiteralKindUint64 // 64-bit unsigned integer literal value. LiteralKindByteArray // Byte array literal value. )
Recognized values of LiteralKind.
func (LiteralKind) String ¶
func (k LiteralKind) String() string
String returns the string representation of the LiteralKind.
type UnaryOp ¶
type UnaryOp uint32
UnaryOp denotes the kind of UnaryOp operation to perform.
type ValueType ¶
type ValueType uint32
ValueType represents the type of a value, which can either be a literal value, or a column value.
const ( ValueTypeInvalid ValueType = iota // zero-value is an invalid type ValueTypeNull // NULL value. ValueTypeBool // Boolean value ValueTypeInt // Signed 64bit integer value ValueTypeTimestamp // Unsigned 64bit integer value (nanosecond timestamp) ValueTypeStr // String value ValueTypeBytes // Byte-slice value )
Click to show internal directories.
Click to hide internal directories.