Versions in this module Expand all Collapse all v0 v0.0.3 Jan 26, 2026 v0.0.2 Jan 25, 2026 Changes in this version + const FuncStrToTime v0.0.1 Jan 24, 2026 Changes in this version + const FuncAbs + const FuncAbsPath + const FuncAcos + const FuncArgMaxLen + const FuncAsin + const FuncAtan + const FuncAtan2 + const FuncBasename + const FuncCeil + const FuncCoalesce + const FuncConcatWs + const FuncCos + const FuncCot + const FuncDay + const FuncDayOfWeek + const FuncDayOfYear + const FuncDegrees + const FuncDir + const FuncE + const FuncEnv + const FuncEnvOr + const FuncExp + const FuncExpr + const FuncExtension + const FuncFloor + const FuncFormat + const FuncGreatest + const FuncGrep + const FuncHour + const FuncIf + const FuncIfNull + const FuncInstr + const FuncInverse + const FuncLeast + const FuncLen + const FuncLn + const FuncLog10 + const FuncLog2 + const FuncLower + const FuncLua + const FuncMinute + const FuncMonth + const FuncNewTime + const FuncNow + const FuncNullIf + const FuncPi + const FuncPow + const FuncRadians + const FuncRand + const FuncRegexpInstr + const FuncRegexpLike + const FuncRegexpReplace + const FuncRegexpSubstr + const FuncRelPath + const FuncReplace + const FuncRound + const FuncSecond + const FuncSh + const FuncSha2 + const FuncSin + const FuncSize + const FuncSleep + const FuncSqrt + const FuncSubstr + const FuncSubstrIndex + const FuncTan + const FuncTimeFormat + const FuncTmpl + const FuncToBool + const FuncToDuration + const FuncToFloat + const FuncToInt + const FuncToString + const FuncToTime + const FuncTrim + const FuncUpper + const FuncYear + const InputTableName + const NodeValueKey + const TableKeySeparator + var ErrGenTemplate = errors.New("GenTemplate") + var ErrIgnore = errors.New("Ignore") + var ErrInvalidArgument = errors.New("InvalidArgument") + var ErrInvalidFunctionArity = errors.New("InvalidFunctionArity") + var ErrInvalidKey = errors.New("InvalidKey") + var ErrInvalidTree = errors.New("InvalidTree") + var ErrInvalidValue = errors.New("InvalidValue") + var ErrNotImplmented = errors.New("NotImplemented") + var ErrParseGenResult = errors.New("ParseGenResult") + func AsUnaryArgUnaryRetNodeDataFunction(f func(*OP) (*OP, error)) func(ND) (ND, error) + func AsVariadicArgUnaryRetNodeDataFunction(f func(...*OP) (*OP, error)) func(...ND) (ND, error) + func MapNodeDataFunction(name string, f NodeDataMapper) func(*N) (*N, error) + func NodeAsEnviron(n *N) []string + func NodeAsStructuredMap(n *N) map[string]any + func ValidateOnlyVariadicOrAllUnaryRet(fs ...NFunction) error + type ExprGenTemplate struct + func NewExprGenTemplate(expr string) *ExprGenTemplate + func (g ExprGenTemplate) Generate(_ context.Context, n *N) ([]byte, error) + type GenTemplate interface + Generate func(ctx context.Context, n *N) ([]byte, error) + type Key struct + Column string + Table string + func KeyFromName(s string) *Key + func KeyFromString(s string) *Key + func NewKey(table, column string) *Key + func (k Key) Get(n *N) (*N, bool) + func (k Key) NFunction() NFunction + func (k Key) Name() string + func (k Key) String() string + type LuaGenTemplate struct + func NewLuaGenTemplate(script, entrypoint string) *LuaGenTemplate + func (g LuaGenTemplate) Generate(ctx context.Context, n *N) ([]byte, error) + type N = node.Node + func GenerateAndParse(ctx context.Context, n *N, g GenTemplate) ([]*N, error) + func ParseGenResult(b []byte) ([]*N, error) + type ND = node.Data + type NDFanoutFunction = iterx.FanoutFunction[ND] + type NDFunction = iterx.Function[ND] + type NDIter = iter.Seq[ND] + type NDMapFunction = iterx.MapFunction[ND] + type NDMultiMapFunction = iterx.MultiMapFunction[ND] + type NDReduceFunction = iterx.ReduceFunction[ND] + type NFanoutFunction = iterx.FanoutFunction[*N] + type NFunction = iterx.Function[*N] + func ReturnContainerValue(name string, f func(ND) (ND, error)) NFunction + type NIter = iter.Seq[*N] + func AsIter(ctx context.Context, it NIter, n Node) (NIter, error) + type NMapFunction = iterx.MapFunction[*N] + type NMultiMapFunction = iterx.MultiMapFunction[*N] + type NReduceFunction = iterx.ReduceFunction[*N] + type NodeDataMapper = func(string, ND) (string, ND, error) + func NodeOpMapperAsData(f NodeOpMapper) NodeDataMapper + type NodeOpMapper = func(string, *OP) (string, *OP, error) + func NodeDataMapperAsOP(f NodeDataMapper) NodeOpMapper + type OP = node.Op + type RegexpGenTemplate struct + func NewRegexpGenTemplate(expr, tmpl string) *RegexpGenTemplate + func (g RegexpGenTemplate) Generate(_ context.Context, n *N) ([]byte, error) + type ShellGenTemplate struct + func NewShellGenTemplate(text string) *ShellGenTemplate + func (g ShellGenTemplate) Generate(ctx context.Context, n *N) ([]byte, error) + type StringGenTemplate struct + func NewStringGenTemplate(text string) *StringGenTemplate + func (g StringGenTemplate) Generate(_ context.Context, n *N) ([]byte, error) + type TreeVisitor struct + func NewTreeVisitor(ctx context.Context) *TreeVisitor + func (TreeVisitor) VisitColumnName(n *ColumnName) *Key + func (v TreeVisitor) Visit(n Node) (NFunction, error) + func (v TreeVisitor) VisitBetweenExpr(n *BetweenExpr) (NFunction, error) + func (v TreeVisitor) VisitBinaryOperationExpr(n *BinaryOperationExpr) (NFunction, error) + func (v TreeVisitor) VisitCaseExpr(n *CaseExpr) (NFunction, error) + func (v TreeVisitor) VisitColumnNameExpr(n *ColumnNameExpr) (NFunction, error) + func (v TreeVisitor) VisitExpr(n ExprNode) (NFunction, error) + func (v TreeVisitor) VisitFieldList(n *FieldList) (NFunction, error) + func (v TreeVisitor) VisitFuncCallExpr(n *FuncCallExpr) (NFunction, error) + func (v TreeVisitor) VisitIsNullExpr(n *IsNullExpr) (NFunction, error) + func (v TreeVisitor) VisitIsTruthExpr(n *IsTruthExpr) (NFunction, error) + func (v TreeVisitor) VisitJoin(n *Join) (NFunction, error) + func (v TreeVisitor) VisitParenthesesExpr(n *ParenthesesExpr) (NFunction, error) + func (v TreeVisitor) VisitParrernLikeExpr(n *PatternLikeOrIlikeExpr) (NFunction, error) + func (v TreeVisitor) VisitPatternInExpr(n *PatternInExpr) (NFunction, error) + func (v TreeVisitor) VisitPatternRegexpExpr(n *PatternRegexpExpr) (NFunction, error) + func (v TreeVisitor) VisitSelectField(n *SelectField) (NFunction, error) + func (v TreeVisitor) VisitSelectStmt(n *SelectStmt) (NFunction, error) + func (v TreeVisitor) VisitTableRefsClause(n *TableRefsClause) (NFunction, error) + func (v TreeVisitor) VisitTableSource(n *TableSource) (NFunction, error) + func (v TreeVisitor) VisitUnaryOperationExpr(n *UnaryOperationExpr) (NFunction, error) + func (v TreeVisitor) VisitValueExpr(n ValueExpr) (NFunction, error) + func (v TreeVisitor) VisitValueExprDriver(n *driver.ValueExpr) (ND, error) + func (v TreeVisitor) VisitWhere(n ExprNode) (NFunction, error) + type ValueContainer struct + func AsValueContainer(n *N) *ValueContainer + func (c *ValueContainer) GetContainerValue() (ND, bool) + func (c *ValueContainer) GetFirstValue() (string, ND, bool) + func (c *ValueContainer) SetContainerValue(v ND)