{"modulePath":"github.com/cockroachdb/cockroachdb-parser","version":"v0.25.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package execgen\n\n## Variables\n\n```go\nvar BinaryOpName = map[treebin.BinaryOperatorSymbol]string{\n\ttreebin.Bitand:            \"Bitand\",\n\ttreebin.Bitor:             \"Bitor\",\n\ttreebin.Bitxor:            \"Bitxor\",\n\ttreebin.Plus:              \"Plus\",\n\ttreebin.Minus:             \"Minus\",\n\ttreebin.Mult:              \"Mult\",\n\ttreebin.Div:               \"Div\",\n\ttreebin.FloorDiv:          \"FloorDiv\",\n\ttreebin.Mod:               \"Mod\",\n\ttreebin.Pow:               \"Pow\",\n\ttreebin.Concat:            \"Concat\",\n\ttreebin.LShift:            \"LShift\",\n\ttreebin.RShift:            \"RShift\",\n\ttreebin.JSONFetchVal:      \"JSONFetchVal\",\n\ttreebin.JSONFetchText:     \"JSONFetchText\",\n\ttreebin.JSONFetchValPath:  \"JSONFetchValPath\",\n\ttreebin.JSONFetchTextPath: \"JSONFetchTextPath\",\n}\n```\nBinaryOpName is a mapping from all binary operators that are supported by the vectorized engine to their names.\n\n```go\nvar ComparisonOpName = map[treecmp.ComparisonOperatorSymbol]string{\n\ttreecmp.EQ: \"EQ\",\n\ttreecmp.NE: \"NE\",\n\ttreecmp.LT: \"LT\",\n\ttreecmp.LE: \"LE\",\n\ttreecmp.GT: \"GT\",\n\ttreecmp.GE: \"GE\",\n}\n```\nComparisonOpName is a mapping from all comparison operators that are supported by the vectorized engine to their names.\n\n## Functions\n\n```go\nfunc APPENDSLICE(target, src, destIdx, srcStartIdx, srcEndIdx interface{})\n```\nAPPENDSLICE is a template function.\n\n```go\nfunc APPENDVAL(target, v interface{})\n```\nAPPENDVAL is a template function.\n\n```go\nfunc COPYVAL(dest, src interface{})\n```\nCOPYVAL is a template function that can be used to set a scalar to the value of another scalar in such a way that the destination won't be modified if the source is.\n\n```go\nfunc Generate(inputFileContents string) (string, error)\n```\nGenerate transforms the string contents of an input execgen template by processing all supported // execgen annotations.\n\n```go\nfunc SETVARIABLESIZE(target, value interface{}) interface{}\n```\nSETVARIABLESIZE is a template function.\n\n","path":"github.com/cockroachdb/cockroachdb-parser/pkg/sql/colexec/execgen","name":"execgen","synopsis":"","isRedistributable":true}
