Versions in this module Expand all Collapse all v0 v0.40.4 May 19, 2022 Changes in this version + func LiteralToNomsValue(kind types.NomsKind, literal *expression.Literal) (types.Value, error) + type CompareOp interface + CompareLiterals func(l1, l2 *expression.Literal) (bool, error) + CompareNomsValues func(v1, v2 types.Value) (bool, error) + CompareToNil func(v2 types.Value) (bool, error) + type ComparisonType int + const ConstConstCompare + const InvalidCompare + const VariableConstCompare + const VariableInLiteralList + const VariableVariableCompare + func GetComparisonType(be expression.BinaryExpression) ([]*expression.GetField, []*expression.Literal, ComparisonType, error) + type EqualsOp struct + func (op EqualsOp) CompareLiterals(l1, l2 *expression.Literal) (bool, error) + func (op EqualsOp) CompareNomsValues(v1, v2 types.Value) (bool, error) + func (op EqualsOp) CompareToNil(types.Value) (bool, error) + type ExpressionFunc func(ctx context.Context, vals map[uint64]types.Value) (bool, error) + func ExpressionFuncFromSQLExpressions(nbf *types.NomsBinFormat, sch schema.Schema, expressions []sql.Expression) (ExpressionFunc, error) + type GreaterEqualOp struct + NBF *types.NomsBinFormat + func (op GreaterEqualOp) CompareLiterals(l1, l2 *expression.Literal) (bool, error) + func (op GreaterEqualOp) CompareNomsValues(v1, v2 types.Value) (bool, error) + func (op GreaterEqualOp) CompareToNil(types.Value) (bool, error) + type GreaterOp struct + NBF *types.NomsBinFormat + func (op GreaterOp) CompareLiterals(l1, l2 *expression.Literal) (bool, error) + func (op GreaterOp) CompareNomsValues(v1, v2 types.Value) (bool, error) + func (op GreaterOp) CompareToNil(types.Value) (bool, error) + type LessEqualOp struct + NBF *types.NomsBinFormat + func (op LessEqualOp) CompareLiterals(l1, l2 *expression.Literal) (bool, error) + func (op LessEqualOp) CompareNomsValues(v1, v2 types.Value) (bool, error) + func (op LessEqualOp) CompareToNil(types.Value) (bool, error) + type LessOp struct + NBF *types.NomsBinFormat + func (op LessOp) CompareLiterals(l1, l2 *expression.Literal) (bool, error) + func (op LessOp) CompareNomsValues(v1, v2 types.Value) (bool, error) + func (op LessOp) CompareToNil(types.Value) (bool, error)