Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2026 Changes in this version + func Compare(a, b Value) int + func HashRow(row []Value) uint64 + func IsNull(v Value) bool + func IsTruthy(v Value) bool + type BoolValue bool + func (v BoolValue) Equal(other Value) Value + func (v BoolValue) Hash() uint64 + func (v BoolValue) Kind() Kind + func (v BoolValue) String() string + type BuiltinFn func(args []Value) (Value, error) + type DateTimeValue struct + T time.Time + func AddDurationToDateTime(v DateTimeValue, d DurationValue) DateTimeValue + func NewDateTime(y, mo, d, h, mi, s, ns int, loc *time.Location) DateTimeValue + func ParseDateTime(s string) (DateTimeValue, error) + func SubDurationFromDateTime(v DateTimeValue, d DurationValue) DateTimeValue + func (v DateTimeValue) Equal(other Value) Value + func (v DateTimeValue) Hash() uint64 + func (v DateTimeValue) Kind() Kind + func (v DateTimeValue) String() string + type DateValue struct + Day int + Month int + Year int + func AddDurationToDate(dv DateValue, d DurationValue) DateValue + func DateFromTime(t time.Time) DateValue + func NewDate(y, m, d int) DateValue + func ParseDate(s string) (DateValue, error) + func SubDurationFromDate(dv DateValue, d DurationValue) DateValue + func (v DateValue) Equal(other Value) Value + func (v DateValue) Hash() uint64 + func (v DateValue) Kind() Kind + func (v DateValue) String() string + func (v DateValue) ToTime() time.Time + type DurationValue struct + Days int64 + Months int64 + Nanos int32 + Seconds int64 + func AddDurations(a, b DurationValue) DurationValue + func DivDurationFloat(d DurationValue, k float64) DurationValue + func MulDuration(d DurationValue, k int64) DurationValue + func MulDurationFloat(d DurationValue, k float64) DurationValue + func NegateDuration(d DurationValue) DurationValue + func NewDuration(months, days, seconds int64, nanos int32) DurationValue + func ParseDuration(s string) (DurationValue, error) + func SubDateTimes(a, b DateTimeValue) DurationValue + func SubDates(a, b DateValue) DurationValue + func SubDurations(a, b DurationValue) DurationValue + func SubLocalDateTimes(a, b LocalDateTimeValue) DurationValue + func SubLocalTimes(a, b LocalTimeValue) DurationValue + func SubTimes(a, b TimeValue) DurationValue + func (v DurationValue) Equal(other Value) Value + func (v DurationValue) Hash() uint64 + func (v DurationValue) Kind() Kind + func (v DurationValue) String() string + type EvalError struct + Msg string + func (e *EvalError) Error() string + type FloatValue float64 + func (v FloatValue) Equal(other Value) Value + func (v FloatValue) Hash() uint64 + func (v FloatValue) Kind() Kind + func (v FloatValue) String() string + type FunctionRegistry interface + Resolve func(name string) (BuiltinFn, bool) + type IntegerValue int64 + func (v IntegerValue) Equal(other Value) Value + func (v IntegerValue) Hash() uint64 + func (v IntegerValue) Kind() Kind + func (v IntegerValue) String() string + type Kind uint8 + const KindBool + const KindDate + const KindDateTime + const KindDuration + const KindFloat + const KindInteger + const KindList + const KindLocalDateTime + const KindLocalTime + const KindMap + const KindNode + const KindNull + const KindPath + const KindRelationship + const KindString + const KindTime + func (k Kind) String() string + type ListValue []Value + func (v ListValue) Equal(other Value) Value + func (v ListValue) Hash() uint64 + func (v ListValue) Kind() Kind + func (v ListValue) String() string + type LocalDateTimeValue struct + T time.Time + func AddDurationToLocalDateTime(v LocalDateTimeValue, d DurationValue) LocalDateTimeValue + func NewLocalDateTime(y, mo, d, h, mi, s, ns int) LocalDateTimeValue + func ParseLocalDateTime(s string) (LocalDateTimeValue, error) + func SubDurationFromLocalDateTime(v LocalDateTimeValue, d DurationValue) LocalDateTimeValue + func (v LocalDateTimeValue) Equal(other Value) Value + func (v LocalDateTimeValue) Hash() uint64 + func (v LocalDateTimeValue) Kind() Kind + func (v LocalDateTimeValue) String() string + type LocalTimeValue struct + Nanos int64 + func AddDurationToLocalTime(v LocalTimeValue, d DurationValue) LocalTimeValue + func NewLocalTime(h, m, s, ns int) LocalTimeValue + func ParseLocalTime(s string) (LocalTimeValue, error) + func SubDurationFromLocalTime(v LocalTimeValue, d DurationValue) LocalTimeValue + func (v LocalTimeValue) Equal(other Value) Value + func (v LocalTimeValue) Hash() uint64 + func (v LocalTimeValue) Kind() Kind + func (v LocalTimeValue) String() string + type MapValue map[string]Value + func (v MapValue) Equal(other Value) Value + func (v MapValue) Hash() uint64 + func (v MapValue) Kind() Kind + func (v MapValue) String() string + type NodeValue struct + Deleted bool + ID uint64 + Labels []string + Properties MapValue + func (v NodeValue) Equal(other Value) Value + func (v NodeValue) Hash() uint64 + func (v NodeValue) Kind() Kind + func (v NodeValue) String() string + type PathValue struct + Nodes []NodeValue + Relationships []RelationshipValue + func (v PathValue) Equal(other Value) Value + func (v PathValue) Hash() uint64 + func (v PathValue) Kind() Kind + func (v PathValue) String() string + type PatternEvaluator interface + EvalPattern func(ctx context.Context, pp *ast.PathPattern, row RowContext, ...) (Value, error) + EvalPatternComp func(ctx context.Context, pc *ast.PatternComprehension, row RowContext, ...) (Value, error) + type RelationshipValue struct + Deleted bool + EndID uint64 + ID uint64 + Properties MapValue + StartID uint64 + Type string + func (v RelationshipValue) Equal(other Value) Value + func (v RelationshipValue) Hash() uint64 + func (v RelationshipValue) Kind() Kind + func (v RelationshipValue) String() string + type RowContext map[string]Value + type StringValue string + func (v StringValue) Equal(other Value) Value + func (v StringValue) Hash() uint64 + func (v StringValue) Kind() Kind + func (v StringValue) String() string + type SubqueryEvaluator interface + EvalCount func(ctx context.Context, sub *ast.CountSubquery, row RowContext, ...) (Value, error) + EvalExists func(ctx context.Context, sub *ast.ExistsSubquery, row RowContext, ...) (Value, error) + type TimeValue struct + Nanos int64 + OffsetSec int32 + func AddDurationToTime(v TimeValue, d DurationValue) TimeValue + func NewTime(h, m, s, ns, offsetSec int) TimeValue + func ParseTime(s string) (TimeValue, error) + func SubDurationFromTime(v TimeValue, d DurationValue) TimeValue + func (v TimeValue) Equal(other Value) Value + func (v TimeValue) Hash() uint64 + func (v TimeValue) Kind() Kind + func (v TimeValue) String() string + type Value interface + Equal func(other Value) Value + Hash func() uint64 + Kind func() Kind + String func() string + var Null Value = nullValue{} + func Eval(expr ast.Expression, row RowContext, params map[string]Value, ...) (Value, error) + func EvalWith(ctx context.Context, expr ast.Expression, row RowContext, ...) (Value, error)