Documentation
¶
Overview ¶
Generated by chalk-private/engine/scripts/codegen_chalkgo_expr.py. DO NOT EDIT!
Index ¶
- func CreateEmptyList(dataType arrow.DataType, allocator memory.Allocator) (*arrowv1.ScalarListValue, error)
- func ProtoToArrowDataType(protoType *arrowv1.ArrowType) (arrow.DataType, error)
- func ToIdentifierLiteral(name string) *expressionv1.LogicalExprNode
- func ToProto(expr ExprI) (*expressionv1.LogicalExprNode, error)
- type AggregateExprImpl
- func (e *AggregateExprImpl) Add(other Expr) Expr
- func (e *AggregateExprImpl) And(other Expr) Expr
- func (e *AggregateExprImpl) Apply(args ...Expr) Expr
- func (e *AggregateExprImpl) As(alias string) Expr
- func (e *AggregateExprImpl) Attr(attribute string) Expr
- func (e *AggregateExprImpl) Div(other Expr) Expr
- func (e *AggregateExprImpl) Eq(other Expr) Expr
- func (e *AggregateExprImpl) Ge(other Expr) Expr
- func (e *AggregateExprImpl) Gt(other Expr) Expr
- func (e *AggregateExprImpl) IsNotNull() Expr
- func (e *AggregateExprImpl) IsNull() Expr
- func (e *AggregateExprImpl) Le(other Expr) Expr
- func (e *AggregateExprImpl) Lt(other Expr) Expr
- func (e *AggregateExprImpl) Mul(other Expr) Expr
- func (e *AggregateExprImpl) Ne(other Expr) Expr
- func (e *AggregateExprImpl) Not() Expr
- func (e *AggregateExprImpl) Or(other Expr) Expr
- func (e *AggregateExprImpl) String() string
- func (e *AggregateExprImpl) Sub(other Expr) Expr
- func (e *AggregateExprImpl) WithDistinct() *AggregateExprImpl
- type AliasExpr
- func (e *AliasExpr) Add(other Expr) Expr
- func (e *AliasExpr) And(other Expr) Expr
- func (e *AliasExpr) Apply(args ...Expr) Expr
- func (e *AliasExpr) As(alias string) Expr
- func (e *AliasExpr) Attr(attribute string) Expr
- func (e *AliasExpr) Div(other Expr) Expr
- func (e *AliasExpr) Eq(other Expr) Expr
- func (e *AliasExpr) Ge(other Expr) Expr
- func (e *AliasExpr) Gt(other Expr) Expr
- func (e *AliasExpr) IsNotNull() Expr
- func (e *AliasExpr) IsNull() Expr
- func (e *AliasExpr) Le(other Expr) Expr
- func (e *AliasExpr) Lt(other Expr) Expr
- func (e *AliasExpr) Mul(other Expr) Expr
- func (e *AliasExpr) Ne(other Expr) Expr
- func (e *AliasExpr) Not() Expr
- func (e *AliasExpr) Or(other Expr) Expr
- func (e *AliasExpr) String() string
- func (e *AliasExpr) Sub(other Expr) Expr
- type CallExpr
- func (e *CallExpr) Add(other Expr) Expr
- func (e *CallExpr) And(other Expr) Expr
- func (e *CallExpr) Apply(args ...Expr) Expr
- func (e *CallExpr) As(alias string) Expr
- func (e *CallExpr) Attr(attribute string) Expr
- func (e *CallExpr) Div(other Expr) Expr
- func (e *CallExpr) Eq(other Expr) Expr
- func (e *CallExpr) Ge(other Expr) Expr
- func (e *CallExpr) Gt(other Expr) Expr
- func (e *CallExpr) IsNotNull() Expr
- func (e *CallExpr) IsNull() Expr
- func (e *CallExpr) Le(other Expr) Expr
- func (e *CallExpr) Lt(other Expr) Expr
- func (e *CallExpr) Mul(other Expr) Expr
- func (e *CallExpr) Ne(other Expr) Expr
- func (e *CallExpr) Not() Expr
- func (e *CallExpr) Or(other Expr) Expr
- func (e *CallExpr) String() string
- func (e *CallExpr) Sub(other Expr) Expr
- type ColumnExpr
- func (e *ColumnExpr) Add(other Expr) Expr
- func (e *ColumnExpr) And(other Expr) Expr
- func (e *ColumnExpr) Apply(args ...Expr) Expr
- func (e *ColumnExpr) As(alias string) Expr
- func (e *ColumnExpr) Attr(attribute string) Expr
- func (e *ColumnExpr) Div(other Expr) Expr
- func (e *ColumnExpr) Eq(other Expr) Expr
- func (e *ColumnExpr) Ge(other Expr) Expr
- func (e *ColumnExpr) Gt(other Expr) Expr
- func (e *ColumnExpr) IsNotNull() Expr
- func (e *ColumnExpr) IsNull() Expr
- func (e *ColumnExpr) Le(other Expr) Expr
- func (e *ColumnExpr) Lt(other Expr) Expr
- func (e *ColumnExpr) Mul(other Expr) Expr
- func (e *ColumnExpr) Ne(other Expr) Expr
- func (e *ColumnExpr) Not() Expr
- func (e *ColumnExpr) Or(other Expr) Expr
- func (e *ColumnExpr) String() string
- func (e *ColumnExpr) Sub(other Expr) Expr
- func (e *ColumnExpr) WithRelation(relation string) *ColumnExpr
- type DataFrameExpr
- type DataFrameExprImpl
- func (e *DataFrameExprImpl) Add(other Expr) Expr
- func (e *DataFrameExprImpl) Agg(aggFunc string, args ...Expr) Expr
- func (e *DataFrameExprImpl) And(other Expr) Expr
- func (e *DataFrameExprImpl) Apply(args ...Expr) Expr
- func (e *DataFrameExprImpl) As(alias string) Expr
- func (e *DataFrameExprImpl) Attr(attribute string) Expr
- func (e *DataFrameExprImpl) Div(other Expr) Expr
- func (e *DataFrameExprImpl) Eq(other Expr) Expr
- func (e *DataFrameExprImpl) Filter(condition ExprI) DataFrameExpr
- func (e *DataFrameExprImpl) Ge(other Expr) Expr
- func (e *DataFrameExprImpl) Gt(other Expr) Expr
- func (e *DataFrameExprImpl) IsNotNull() Expr
- func (e *DataFrameExprImpl) IsNull() Expr
- func (e *DataFrameExprImpl) Le(other Expr) Expr
- func (e *DataFrameExprImpl) Lt(other Expr) Expr
- func (e *DataFrameExprImpl) Mul(other Expr) Expr
- func (e *DataFrameExprImpl) Ne(other Expr) Expr
- func (e *DataFrameExprImpl) Not() Expr
- func (e *DataFrameExprImpl) Or(other Expr) Expr
- func (e *DataFrameExprImpl) Select(selection Expr) DataFrameExpr
- func (e *DataFrameExprImpl) String() string
- func (e *DataFrameExprImpl) Sub(other Expr) Expr
- type Expr
- func Abs(expr Expr) Expr
- func Acos(expr Expr) Expr
- func And(arg0, arg1 Expr) Expr
- func ArrayAdd(array1, array2 Expr) Expr
- func ArrayAverage(expr Expr) Expr
- func ArrayConstructor(arg0 Expr, optional ...Expr) Expr
- func ArrayCumSum(array Expr) Expr
- func ArrayDistinct(arr Expr) Expr
- func ArrayDuplicates(array Expr) Expr
- func ArrayExcept(left_array, right_array Expr) Expr
- func ArrayFilter(arr, filter Expr) Expr
- func ArrayFrequency(arg0 Expr) Expr
- func ArrayHasDuplicates(array Expr) Expr
- func ArrayIntersect(left_array, right_array Expr) Expr
- func ArrayJoin(arr, delimiter Expr) Expr
- func ArrayMax(arr Expr) Expr
- func ArrayMedian(expr Expr) Expr
- func ArrayMin(arr Expr) Expr
- func ArrayMode(expr Expr, tiebreak ...Expr) Expr
- func ArrayMultimode(arg0 Expr) Expr
- func ArrayNormalize(array, p Expr) Expr
- func ArrayPosition(array, element Expr) Expr
- func ArrayReduce(arr, initial_value, arr_item_type, reduce Expr) Expr
- func ArrayRemove(array, element Expr) Expr
- func ArraySort(expr Expr) Expr
- func ArraySortDesc(arg0 Expr) Expr
- func ArrayStddev(arg0, arg1 Expr) Expr
- func ArraySum(expr Expr) Expr
- func ArrayTransform(arr, transform Expr) Expr
- func ArraysOverlap(left_array, right_array Expr) Expr
- func ArraysUnion(arg0, arg1 Expr) Expr
- func Asin(expr Expr) Expr
- func Atan(expr Expr) Expr
- func Atan2(y, x Expr) Expr
- func BankersRound(value Expr, digits ...Expr) Expr
- func BetaCdf(arg0, arg1, arg2 Expr) Expr
- func Between(value, low, high Expr) Expr
- func Binary(value []byte) Expr
- func BinaryToVector(arg0, arg1 Expr) Expr
- func BinomialCdf(arg0, arg1, arg2 Expr) Expr
- func BitwiseAnd(left, right Expr) Expr
- func BitwiseArithmeticShiftRight(value, shift Expr) Expr
- func BitwiseLeftShift(value, shift Expr) Expr
- func BitwiseLogicalShiftRight(arg0, arg1, arg2 Expr) Expr
- func BitwiseNot(value Expr) Expr
- func BitwiseOr(left, right Expr) Expr
- func BitwiseRightShift(value, shift Expr) Expr
- func BitwiseRightShiftArithmetic(arg0, arg1 Expr) Expr
- func BitwiseShiftLeft(arg0, arg1 Expr) Expr
- func BitwiseXor(left, right Expr) Expr
- func Bool(value bool) Expr
- func BoostRegexpFindall(arg0, arg1 Expr) Expr
- func BytesToStringBase64(arg0 Expr) Expr
- func BytesToStringHex(arg0 Expr) Expr
- func BytesToStringUtf8(arg0 Expr) Expr
- func Cardinality(arr Expr) Expr
- func Cast(expr Expr, to *arrowv1.ArrowType) Expr
- func CauchyCdf(arg0, arg1, arg2 Expr) Expr
- func Cbrt(expr Expr) Expr
- func Ceil(expr Expr) Expr
- func Ceiling(arg0 Expr) Expr
- func ChalkNow() Expr
- func ChalkWindow() Expr
- func ChiSquaredCdf(arg0, arg1 Expr) Expr
- func Chr(code Expr) Expr
- func Clamp(expr, min_val, max_val Expr) Expr
- func Coalesce(vals Expr, optional ...Expr) Expr
- func Codepoint(arg0 Expr) Expr
- func Col(name string) Expr
- func ColIn(relation string, name string) Expr
- func Concat(first, second Expr, optional ...Expr) Expr
- func Contains(arr, value Expr) Expr
- func Cos(expr Expr) Expr
- func Cosh(expr Expr) Expr
- func CosineSimilarityVector(arg0, arg1 Expr) Expr
- func Crc32(arg0 Expr) Expr
- func CurrentDate() Expr
- func Date(value time.Time) Expr
- func Date32(value int32) Expr
- func Date64(value int64) Expr
- func DateAdd(arg0, arg1 Expr) Expr
- func DateTrunc(expr, unit Expr) Expr
- func DayOfMonth(expr Expr) Expr
- func DayOfWeek(expr Expr) Expr
- func DayOfYear(expr Expr) Expr
- func Degrees(expr Expr) Expr
- func DistinctFrom(value1, value2 Expr) Expr
- func DotProductVector(arg0, arg1 Expr) Expr
- func DurationMicrosecond(value int64) Expr
- func DurationMillisecond(value int64) Expr
- func DurationNanosecond(value int64) Expr
- func DurationSecond(value int64) Expr
- func E() Expr
- func ElementAt(arr, index Expr) Expr
- func EndsWith(expr, suffix Expr) Expr
- func Eq(arg0, arg1 Expr) Expr
- func Exp(expr Expr) Expr
- func FCdf(arg0, arg1, arg2 Expr) Expr
- func Fail(arg0 Expr) Expr
- func FindFirst(arg0, arg1 Expr) Expr
- func FindFirstIndex(arg0, arg1 Expr) Expr
- func Flatten(array Expr) Expr
- func Float(value float64) Expr
- func Float16(value float32) Expr
- func Float32(value float32) Expr
- func Float64(value float64) Expr
- func Floor(expr Expr) Expr
- func FormatDatetime(input_dt, format Expr) Expr
- func FromBase(value, base Expr) Expr
- func FromBase64(arg0 Expr) Expr
- func FromBase64Url(arg0 Expr) Expr
- func FromBigEndian32(expr Expr) Expr
- func FromBigEndian64(expr Expr) Expr
- func FromHex(arg0 Expr) Expr
- func FromIso8601Timestamp(expr Expr) Expr
- func FromUnixSeconds(expr Expr) Expr
- func FromUnixtime(arg0 Expr, arg1 ...Expr) Expr
- func FromUtf8(arg0 Expr) Expr
- func FunctionCall(name string, args ...Expr) Expr
- func FunctionCallWithKwargs(name string, args []Expr, kwargs map[string]Expr) Expr
- func GammaCdf(arg0, arg1, arg2 Expr) Expr
- func GetJsonValue(json Expr, path string) Expr
- func Greatest(arg0 Expr, optional ...Expr) Expr
- func Gt(arg0, arg1 Expr) Expr
- func Gte(arg0, arg1 Expr) Expr
- func Gunzip(expr Expr) Expr
- func H3CellToLatLonDegrees(arg0 Expr) Expr
- func H3CellToLatLonRadians(arg0 Expr) Expr
- func H3LatLonToCell(lat, lon, resolution Expr) Expr
- func HammingDistance(arg0, arg1 Expr) Expr
- func HmacMd5(arg0, arg1 Expr) Expr
- func HmacSha1(arg0, arg1 Expr) Expr
- func HmacSha256(arg0, arg1 Expr) Expr
- func HmacSha512(arg0, arg1 Expr) Expr
- func Hour(arg0 Expr) Expr
- func HttpRequest(url, method, headers, body, allow_redirects, timeout Expr) Expr
- func Identifier(name string) Expr
- func IfElse(arg0, arg1, arg2 Expr) Expr
- func Int(value int64) Expr
- func Int8(value int8) Expr
- func Int16(value int16) Expr
- func Int32(value int32) Expr
- func Int64(value int64) Expr
- func InverseBetaCdf(arg0, arg1, arg2 Expr) Expr
- func InverseBinomialCdf(arg0, arg1, arg2 Expr) Expr
- func InverseCauchyCdf(arg0, arg1, arg2 Expr) Expr
- func InverseChiSquaredCdf(arg0, arg1 Expr) Expr
- func InverseFCdf(arg0, arg1, arg2 Expr) Expr
- func InverseGammaCdf(arg0, arg1, arg2 Expr) Expr
- func InverseLaplaceCdf(arg0, arg1, arg2 Expr) Expr
- func InverseNormalCdf(arg0, arg1, arg2 Expr) Expr
- func InversePoissonCdf(arg0, arg1 Expr) Expr
- func InverseWeibullCdf(arg0, arg1, arg2 Expr) Expr
- func IsFederalHoliday(arg0 Expr) Expr
- func IsFinite(arg0 Expr) Expr
- func IsInfinite(arg0 Expr) Expr
- func IsNan(arg0 Expr) Expr
- func IsNull(expr Expr) Expr
- func JaccardSimilarity(a, b Expr) Expr
- func JaroWinklerDistance(a, b, prefix_weight Expr) Expr
- func Jinja(arg0, arg1 Expr) Expr
- func JsonExtractArray(expr, path Expr) Expr
- func Jsonify(expr Expr) Expr
- func LaplaceCdf(arg0, arg1, arg2 Expr) Expr
- func LargeBinary(value []byte) Expr
- func LargeUtf8(value string) Expr
- func LastDayOfMonth(expr Expr) Expr
- func Least(arg0 Expr, optional ...Expr) Expr
- func Length(expr Expr) Expr
- func LevenshteinDistance(a, b Expr) Expr
- func Like(expr, pattern Expr) Expr
- func List(items ...Expr) Expr
- func Ln(expr Expr) Expr
- func Log(arg0 Expr) Expr
- func Log2(expr Expr) Expr
- func Log10(expr Expr) Expr
- func LongestCommonSubsequence(a, b Expr) Expr
- func Lower(expr Expr) Expr
- func Lpad(string, size, padstring Expr) Expr
- func Lt(arg0, arg1 Expr) Expr
- func Lte(arg0, arg1 Expr) Expr
- func Ltrim(expr Expr, optional ...Expr) Expr
- func MapContains(arg0, arg1 Expr) Expr
- func MapGet(mapping, key Expr) Expr
- func MapKeysByTopNValues(arg0, arg1 Expr) Expr
- func Md5(expr Expr) Expr
- func Millisecond(arg0 Expr) Expr
- func Minute(arg0 Expr) Expr
- func Mod(a, b Expr) Expr
- func Month(arg0 Expr) Expr
- func Nan() Expr
- func Negate(arg0 Expr) Expr
- func Neq(arg0, arg1 Expr) Expr
- func NormalCdf(x, mean, std_dev Expr) Expr
- func Null() Expr
- func OpenaiComplete(api_key, prompt, model, max_tokens, temperature Expr) Expr
- func ParseDatetime(expr, format Expr) Expr
- func PartialRatio(a, b Expr) Expr
- func Pi() Expr
- func PoissonCdf(arg0, arg1 Expr) Expr
- func Pow(base, exponent Expr) Expr
- func Power(a, b Expr) Expr
- func ProtoDeserialize(arg0, arg1, arg2, arg3 Expr) Expr
- func ProtoSerialize(arg0, arg1, arg2, arg3 Expr) Expr
- func ProtoToStruct(arg0, arg1, arg2, arg3 Expr) Expr
- func Quarter(expr Expr) Expr
- func Radians(expr Expr) Expr
- func Rand() Expr
- func Random(n ...Expr) Expr
- func Recover(vals Expr, optional ...Expr) Expr
- func RegexpExtract(expr, pattern Expr, group ...Expr) Expr
- func RegexpExtractAll(expr, pattern Expr, group ...Expr) Expr
- func RegexpLike(expr, pattern Expr) Expr
- func RegexpReplace(expr, pattern Expr, replacement ...Expr) Expr
- func RegexpSplit(expr, pattern Expr) Expr
- func RemoveNulls(array Expr) Expr
- func Replace(expr, old, new Expr) Expr
- func Reverse(expr Expr) Expr
- func Round(value Expr, digits ...Expr) Expr
- func Rpad(string, size, padstring Expr) Expr
- func Rtrim(expr Expr, optional ...Expr) Expr
- func ScalarMax(arg0, arg1 Expr) Expr
- func ScalarMin(arg0, arg1 Expr) Expr
- func ScaleVector(array, p Expr) Expr
- func Second(arg0 Expr) Expr
- func SecureRandom(min_val ...Expr) Expr
- func Sequence(start, stop Expr, step ...Expr) Expr
- func SequenceMatcherRatio(a, b Expr) Expr
- func Sha1(expr Expr) Expr
- func Sha256(expr Expr) Expr
- func Sha512(expr Expr) Expr
- func Shuffle(array Expr) Expr
- func Sign(expr Expr) Expr
- func Sin(expr Expr) Expr
- func Slice(arr, offset, length Expr) Expr
- func Split(expr, delimiter Expr, maxsplit ...Expr) Expr
- func SplitPart(expr, delimiter, index Expr) Expr
- func SpookyHashV232(expr Expr) Expr
- func SpookyHashV264(expr Expr) Expr
- func Sqrt(expr Expr) Expr
- func StartsWith(expr, prefix Expr) Expr
- func String(value string) Expr
- func StringToBytesBase64(arg0 Expr) Expr
- func StringToBytesHex(arg0 Expr) Expr
- func StringToBytesUtf8(arg0 Expr) Expr
- func Strpos(expr, substring Expr) Expr
- func Strrpos(expr, substring Expr) Expr
- func StructPack(fields []StructField) Expr
- func StructToProto(arg0, arg1, arg2 Expr) Expr
- func Substr(expr, start Expr, length ...Expr) Expr
- func Tan(arg0 Expr) Expr
- func Tanh(expr Expr) Expr
- func Timestamp(value time.Time) Expr
- func TimestampMicrosecond(value time.Time) Expr
- func TimestampMillisecond(value time.Time) Expr
- func TimestampNanosecond(value time.Time) Expr
- func TimestampSecond(value time.Time) Expr
- func ToBase(number, base Expr) Expr
- func ToBase64(arg0 Expr) Expr
- func ToBase64Url(arg0 Expr) Expr
- func ToHex(arg0 Expr) Expr
- func ToIso8601(expr Expr) Expr
- func ToMicroseconds(arg0 Expr) Expr
- func ToMilliseconds(arg0 Expr) Expr
- func ToUnixtime(arg0 Expr) Expr
- func ToUtf8(arg0 Expr) Expr
- func TokenSetRatio(a, b Expr) Expr
- func TokenSortRatio(a, b Expr) Expr
- func TotalSeconds(delta Expr) Expr
- func Trail(arg0, arg1 Expr) Expr
- func Transform(arg0, arg1 Expr) Expr
- func Trim(expr Expr, optional ...Expr) Expr
- func Truncate(arg0 Expr) Expr
- func Try(arg0 Expr) Expr
- func Uint8(value uint8) Expr
- func Uint16(value uint16) Expr
- func Uint32(value uint32) Expr
- func Uint64(value uint64) Expr
- func UnidecodeNormalize(a Expr) Expr
- func UnidecodeToAscii(a Expr) Expr
- func Upper(expr Expr) Expr
- func UrlDecode(arg0 Expr) Expr
- func UrlEncode(arg0 Expr) Expr
- func UrlExtractFragment(arg0 Expr) Expr
- func UrlExtractHost(expr Expr) Expr
- func UrlExtractParameter(arg0, arg1 Expr) Expr
- func UrlExtractPath(expr Expr) Expr
- func UrlExtractPort(arg0 Expr) Expr
- func UrlExtractProtocol(expr Expr) Expr
- func UrlExtractQuery(arg0 Expr) Expr
- func Utf8(value string) Expr
- func VectorToBinary(arg0, arg1 Expr) Expr
- func Week(arg0 Expr) Expr
- func WeekOfYear(expr Expr) Expr
- func WeibullCdf(arg0, arg1, arg2 Expr) Expr
- func WidthBucket(operand, bound1, bound2, bucket_count Expr) Expr
- func WilsonIntervalLower(arg0, arg1, arg2 Expr) Expr
- func WilsonIntervalUpper(arg0, arg1, arg2 Expr) Expr
- func WordStem(string Expr) Expr
- func Xxhash64(arg0 Expr) Expr
- func Year(expr Expr) Expr
- func YearOfWeek(arg0 Expr) Expr
- func Yow(arg0 Expr) Expr
- func ZiSplitPart(arg0, arg1, arg2 Expr) Expr
- func Zip(arg0, arg1 Expr) Expr
- func ZipWith(arg0, arg1, arg2 Expr) Expr
- type ExprI
- type GetAttributeExpr
- func (e *GetAttributeExpr) Add(other Expr) Expr
- func (e *GetAttributeExpr) And(other Expr) Expr
- func (e *GetAttributeExpr) Apply(args ...Expr) Expr
- func (e *GetAttributeExpr) As(alias string) Expr
- func (e *GetAttributeExpr) Attr(attribute string) Expr
- func (e *GetAttributeExpr) Div(other Expr) Expr
- func (e *GetAttributeExpr) Eq(other Expr) Expr
- func (e *GetAttributeExpr) Ge(other Expr) Expr
- func (e *GetAttributeExpr) Gt(other Expr) Expr
- func (e *GetAttributeExpr) IsNotNull() Expr
- func (e *GetAttributeExpr) IsNull() Expr
- func (e *GetAttributeExpr) Le(other Expr) Expr
- func (e *GetAttributeExpr) Lt(other Expr) Expr
- func (e *GetAttributeExpr) Mul(other Expr) Expr
- func (e *GetAttributeExpr) Ne(other Expr) Expr
- func (e *GetAttributeExpr) Not() Expr
- func (e *GetAttributeExpr) Or(other Expr) Expr
- func (e *GetAttributeExpr) String() string
- func (e *GetAttributeExpr) Sub(other Expr) Expr
- type IdentifierExpr
- func (e *IdentifierExpr) Add(other Expr) Expr
- func (e *IdentifierExpr) And(other Expr) Expr
- func (e *IdentifierExpr) Apply(args ...Expr) Expr
- func (e *IdentifierExpr) As(alias string) Expr
- func (e *IdentifierExpr) Attr(attribute string) Expr
- func (e *IdentifierExpr) Div(other Expr) Expr
- func (e *IdentifierExpr) Eq(other Expr) Expr
- func (e *IdentifierExpr) Ge(other Expr) Expr
- func (e *IdentifierExpr) Gt(other Expr) Expr
- func (e *IdentifierExpr) IsNotNull() Expr
- func (e *IdentifierExpr) IsNull() Expr
- func (e *IdentifierExpr) Le(other Expr) Expr
- func (e *IdentifierExpr) Lt(other Expr) Expr
- func (e *IdentifierExpr) Mul(other Expr) Expr
- func (e *IdentifierExpr) Ne(other Expr) Expr
- func (e *IdentifierExpr) Not() Expr
- func (e *IdentifierExpr) Or(other Expr) Expr
- func (e *IdentifierExpr) String() string
- func (e *IdentifierExpr) Sub(other Expr) Expr
- type LiteralExpr
- func (e *LiteralExpr) Add(other Expr) Expr
- func (e *LiteralExpr) And(other Expr) Expr
- func (e *LiteralExpr) Apply(args ...Expr) Expr
- func (e *LiteralExpr) As(alias string) Expr
- func (e *LiteralExpr) Attr(attribute string) Expr
- func (e *LiteralExpr) Div(other Expr) Expr
- func (e *LiteralExpr) Eq(other Expr) Expr
- func (e *LiteralExpr) Ge(other Expr) Expr
- func (e *LiteralExpr) Gt(other Expr) Expr
- func (e *LiteralExpr) IsNotNull() Expr
- func (e *LiteralExpr) IsNull() Expr
- func (e *LiteralExpr) Le(other Expr) Expr
- func (e *LiteralExpr) Lt(other Expr) Expr
- func (e *LiteralExpr) Mul(other Expr) Expr
- func (e *LiteralExpr) Ne(other Expr) Expr
- func (e *LiteralExpr) Not() Expr
- func (e *LiteralExpr) Or(other Expr) Expr
- func (e *LiteralExpr) String() string
- func (e *LiteralExpr) Sub(other Expr) Expr
- type StructField
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEmptyList ¶ added in v1.2.139
func CreateEmptyList(dataType arrow.DataType, allocator memory.Allocator) (*arrowv1.ScalarListValue, error)
CreateEmptyList creates an empty list with the specified arrow type
func ProtoToArrowDataType ¶ added in v1.2.139
ProtoToArrowDataType converts a protobuf ArrowType to an Arrow DataType
func ToIdentifierLiteral ¶ added in v1.2.95
func ToIdentifierLiteral(name string) *expressionv1.LogicalExprNode
func ToProto ¶
func ToProto(expr ExprI) (*expressionv1.LogicalExprNode, error)
ToProto converts an ExprI to a LogicalExprNode proto message
Types ¶
type AggregateExprImpl ¶ added in v1.2.106
type AggregateExprImpl struct {
Expr
Function string
Arguments []Expr
DataFrame DataFrameExpr
Conditions []Expr // Accumulated filter conditions
Distinct bool
Selection Expr
}
AggregateExprImpl represents an aggregation expression that returns a scalar
func (*AggregateExprImpl) Add ¶ added in v1.2.106
func (e *AggregateExprImpl) Add(other Expr) Expr
Implement Expr interface for AggregateExprImpl
func (*AggregateExprImpl) And ¶ added in v1.2.106
func (e *AggregateExprImpl) And(other Expr) Expr
func (*AggregateExprImpl) Apply ¶ added in v1.2.106
func (e *AggregateExprImpl) Apply(args ...Expr) Expr
func (*AggregateExprImpl) As ¶ added in v1.2.106
func (e *AggregateExprImpl) As(alias string) Expr
func (*AggregateExprImpl) Attr ¶ added in v1.2.106
func (e *AggregateExprImpl) Attr(attribute string) Expr
func (*AggregateExprImpl) Div ¶ added in v1.2.106
func (e *AggregateExprImpl) Div(other Expr) Expr
func (*AggregateExprImpl) Eq ¶ added in v1.2.106
func (e *AggregateExprImpl) Eq(other Expr) Expr
func (*AggregateExprImpl) Ge ¶ added in v1.2.106
func (e *AggregateExprImpl) Ge(other Expr) Expr
func (*AggregateExprImpl) Gt ¶ added in v1.2.106
func (e *AggregateExprImpl) Gt(other Expr) Expr
func (*AggregateExprImpl) IsNotNull ¶ added in v1.2.106
func (e *AggregateExprImpl) IsNotNull() Expr
func (*AggregateExprImpl) IsNull ¶ added in v1.2.106
func (e *AggregateExprImpl) IsNull() Expr
func (*AggregateExprImpl) Le ¶ added in v1.2.106
func (e *AggregateExprImpl) Le(other Expr) Expr
func (*AggregateExprImpl) Lt ¶ added in v1.2.106
func (e *AggregateExprImpl) Lt(other Expr) Expr
func (*AggregateExprImpl) Mul ¶ added in v1.2.106
func (e *AggregateExprImpl) Mul(other Expr) Expr
func (*AggregateExprImpl) Ne ¶ added in v1.2.106
func (e *AggregateExprImpl) Ne(other Expr) Expr
func (*AggregateExprImpl) Not ¶ added in v1.2.106
func (e *AggregateExprImpl) Not() Expr
func (*AggregateExprImpl) Or ¶ added in v1.2.106
func (e *AggregateExprImpl) Or(other Expr) Expr
func (*AggregateExprImpl) String ¶ added in v1.2.106
func (e *AggregateExprImpl) String() string
func (*AggregateExprImpl) Sub ¶ added in v1.2.106
func (e *AggregateExprImpl) Sub(other Expr) Expr
func (*AggregateExprImpl) WithDistinct ¶ added in v1.2.106
func (e *AggregateExprImpl) WithDistinct() *AggregateExprImpl
WithDistinct adds DISTINCT to the aggregation
type AliasExpr ¶
AliasExpr represents an aliased expression
type CallExpr ¶
CallExpr represents function calls and method calls
type ColumnExpr ¶
ColumnExpr represents a column reference
func (*ColumnExpr) Add ¶
func (e *ColumnExpr) Add(other Expr) Expr
Implement Expr interface for ColumnExpr
func (*ColumnExpr) And ¶
func (e *ColumnExpr) And(other Expr) Expr
func (*ColumnExpr) Apply ¶ added in v1.2.95
func (e *ColumnExpr) Apply(args ...Expr) Expr
func (*ColumnExpr) As ¶
func (e *ColumnExpr) As(alias string) Expr
func (*ColumnExpr) Attr ¶
func (e *ColumnExpr) Attr(attribute string) Expr
func (*ColumnExpr) Div ¶
func (e *ColumnExpr) Div(other Expr) Expr
func (*ColumnExpr) Eq ¶
func (e *ColumnExpr) Eq(other Expr) Expr
func (*ColumnExpr) Ge ¶
func (e *ColumnExpr) Ge(other Expr) Expr
func (*ColumnExpr) Gt ¶
func (e *ColumnExpr) Gt(other Expr) Expr
func (*ColumnExpr) IsNotNull ¶
func (e *ColumnExpr) IsNotNull() Expr
func (*ColumnExpr) IsNull ¶
func (e *ColumnExpr) IsNull() Expr
func (*ColumnExpr) Le ¶
func (e *ColumnExpr) Le(other Expr) Expr
func (*ColumnExpr) Lt ¶
func (e *ColumnExpr) Lt(other Expr) Expr
func (*ColumnExpr) Mul ¶
func (e *ColumnExpr) Mul(other Expr) Expr
func (*ColumnExpr) Ne ¶
func (e *ColumnExpr) Ne(other Expr) Expr
func (*ColumnExpr) Not ¶
func (e *ColumnExpr) Not() Expr
func (*ColumnExpr) Or ¶
func (e *ColumnExpr) Or(other Expr) Expr
func (*ColumnExpr) String ¶
func (e *ColumnExpr) String() string
func (*ColumnExpr) Sub ¶
func (e *ColumnExpr) Sub(other Expr) Expr
func (*ColumnExpr) WithRelation ¶
func (e *ColumnExpr) WithRelation(relation string) *ColumnExpr
WithRelation adds a relation qualifier to the column
type DataFrameExpr ¶
type DataFrameExpr interface {
ExprI
Filter(condition ExprI) DataFrameExpr
Select(selection Expr) DataFrameExpr
Agg(aggFunc string, args ...Expr) Expr
}
DataFrameExpr represents expressions that operate on DataFrames
func DataFrame ¶
func DataFrame(name string) DataFrameExpr
DataFrame creates a dataframe reference for aggregations
type DataFrameExprImpl ¶ added in v1.2.106
type DataFrameExprImpl struct {
Expr
Name string
Conditions []Expr // Store accumulated filter conditions
Selection Expr // Store expression to be aggregated
}
DataFrameExprImpl represents a dataframe for aggregation operations
func (*DataFrameExprImpl) Add ¶ added in v1.2.106
func (e *DataFrameExprImpl) Add(other Expr) Expr
Implement Expr interface for DataFrameExprImpl
func (*DataFrameExprImpl) Agg ¶ added in v1.2.106
func (e *DataFrameExprImpl) Agg(aggFunc string, args ...Expr) Expr
func (*DataFrameExprImpl) And ¶ added in v1.2.106
func (e *DataFrameExprImpl) And(other Expr) Expr
func (*DataFrameExprImpl) Apply ¶ added in v1.2.106
func (e *DataFrameExprImpl) Apply(args ...Expr) Expr
func (*DataFrameExprImpl) As ¶ added in v1.2.106
func (e *DataFrameExprImpl) As(alias string) Expr
func (*DataFrameExprImpl) Attr ¶ added in v1.2.106
func (e *DataFrameExprImpl) Attr(attribute string) Expr
func (*DataFrameExprImpl) Div ¶ added in v1.2.106
func (e *DataFrameExprImpl) Div(other Expr) Expr
func (*DataFrameExprImpl) Eq ¶ added in v1.2.106
func (e *DataFrameExprImpl) Eq(other Expr) Expr
func (*DataFrameExprImpl) Filter ¶ added in v1.2.106
func (e *DataFrameExprImpl) Filter(condition ExprI) DataFrameExpr
Implement DataFrameExpr interface
func (*DataFrameExprImpl) Ge ¶ added in v1.2.106
func (e *DataFrameExprImpl) Ge(other Expr) Expr
func (*DataFrameExprImpl) Gt ¶ added in v1.2.106
func (e *DataFrameExprImpl) Gt(other Expr) Expr
func (*DataFrameExprImpl) IsNotNull ¶ added in v1.2.106
func (e *DataFrameExprImpl) IsNotNull() Expr
func (*DataFrameExprImpl) IsNull ¶ added in v1.2.106
func (e *DataFrameExprImpl) IsNull() Expr
func (*DataFrameExprImpl) Le ¶ added in v1.2.106
func (e *DataFrameExprImpl) Le(other Expr) Expr
func (*DataFrameExprImpl) Lt ¶ added in v1.2.106
func (e *DataFrameExprImpl) Lt(other Expr) Expr
func (*DataFrameExprImpl) Mul ¶ added in v1.2.106
func (e *DataFrameExprImpl) Mul(other Expr) Expr
func (*DataFrameExprImpl) Ne ¶ added in v1.2.106
func (e *DataFrameExprImpl) Ne(other Expr) Expr
func (*DataFrameExprImpl) Not ¶ added in v1.2.106
func (e *DataFrameExprImpl) Not() Expr
func (*DataFrameExprImpl) Or ¶ added in v1.2.106
func (e *DataFrameExprImpl) Or(other Expr) Expr
func (*DataFrameExprImpl) Select ¶ added in v1.2.106
func (e *DataFrameExprImpl) Select(selection Expr) DataFrameExpr
func (*DataFrameExprImpl) String ¶ added in v1.2.106
func (e *DataFrameExprImpl) String() string
func (*DataFrameExprImpl) Sub ¶ added in v1.2.106
func (e *DataFrameExprImpl) Sub(other Expr) Expr
type Expr ¶
type Expr interface {
ExprI
// Arithmetic operations
Add(other Expr) Expr
Sub(other Expr) Expr
Mul(other Expr) Expr
Div(other Expr) Expr
// Comparison operations
Eq(other Expr) Expr
Ne(other Expr) Expr
Lt(other Expr) Expr
Le(other Expr) Expr
Gt(other Expr) Expr
Ge(other Expr) Expr
// Logical operations
And(other Expr) Expr
Or(other Expr) Expr
Not() Expr
// Null checking
IsNull() Expr
IsNotNull() Expr
// Attribute access
Attr(attribute string) Expr
// Alias
As(alias string) Expr
// Function application
Apply(args ...Expr) Expr
}
func ArrayAverage ¶
ArrayAverage Calculates the average of numeric values in an array.
func ArrayConstructor ¶
ArrayConstructor Creates an array from a variable number of arguments.
func ArrayCumSum ¶ added in v1.2.152
ArrayCumSum Calculates the cumulative sum of numeric values in an array.
func ArrayDistinct ¶
ArrayDistinct Returns an array with duplicate elements removed, preserving order.
func ArrayDuplicates ¶ added in v1.2.152
ArrayDuplicates Returns an array containing only the duplicate elements from the input array.
func ArrayExcept ¶ added in v1.2.152
ArrayExcept Returns elements from the first array that are not present in the second array.
func ArrayFilter ¶ added in v1.2.152
ArrayFilter Filters an array using a callback function predicate.
func ArrayFrequency ¶
ArrayFrequency Returns a map of elements to their frequency counts in an array.
func ArrayHasDuplicates ¶ added in v1.2.152
ArrayHasDuplicates Checks if an array contains duplicate elements.
func ArrayIntersect ¶ added in v1.2.152
ArrayIntersect Returns the intersection of two arrays (elements present in both arrays).
func ArrayMedian ¶
ArrayMedian Calculates the median value of numeric elements in an array.
func ArrayMultimode ¶ added in v1.2.152
ArrayMultimode Returns all most frequently occurring elements in an array.
func ArrayNormalize ¶ added in v1.2.152
ArrayNormalize Computes the L_p normalization of a Vector.
func ArrayPosition ¶ added in v1.2.152
ArrayPosition Returns the 1-based position of the first occurrence of an element in an array.
func ArrayReduce ¶ added in v1.2.152
ArrayReduce Applies a reduce function to each element in an array and returns the accumulated value.
func ArrayRemove ¶ added in v1.2.152
ArrayRemove Removes all occurrences of a specified element from an array.
func ArraySortDesc ¶
ArraySortDesc Sorts an array in descending order.
func ArrayStddev ¶
ArrayStddev Calculates the standard deviation of numeric values in an array.
func ArrayTransform ¶ added in v1.2.152
ArrayTransform Applies a transformation function to each element in an array and returns a new array.
func ArraysOverlap ¶ added in v1.2.152
ArraysOverlap Checks if two arrays have any elements in common.
func ArraysUnion ¶ added in v1.2.152
ArraysUnion Returns a list of the distinct elements of the common elements
func Atan2 ¶ added in v1.2.152
Atan2 Calculates the arctangent of y/x in radians, handling quadrant correctly.
func BankersRound ¶
BankersRound Rounds a number using banker's rounding (round half to even).
func BetaCdf ¶ added in v1.2.152
BetaCdf Compute the Beta cdf with given a, b parameters: P(N < value; a, b). The a, b parameters must be positive real numbers and value must be a real value (all of type DOUBLE). The value must lie on the interval [0, 1].
func BinaryToVector ¶ added in v1.2.152
BinaryToVector Returns vector from binary.
func BinomialCdf ¶ added in v1.2.152
BinomialCdf Compute the Binomial cdf with given numberOfTrials and successProbability (for a single trial): P(N < value). The successProbability must be real value in [0, 1], numberOfTrials and value must be positive integers with numberOfTrials greater or equal to value.
func BitwiseAnd ¶ added in v1.2.152
BitwiseAnd Performs bitwise AND operation on two integer values.
func BitwiseArithmeticShiftRight ¶ added in v1.2.152
BitwiseArithmeticShiftRight Returns the arithmetic right shift operation on x in 2’s complement representation. shift must not be negative.
func BitwiseLeftShift ¶ added in v1.2.152
BitwiseLeftShift Returns the left shifted value of x.
func BitwiseLogicalShiftRight ¶ added in v1.2.152
BitwiseLogicalShiftRight Returns the logical right shift operation on x (treated as bits-bit integer) shifted by shift. shift must not be negative.
func BitwiseNot ¶ added in v1.2.152
BitwiseNot Performs bitwise NOT operation (complement) on an integer value.
func BitwiseRightShift ¶ added in v1.2.152
BitwiseRightShift Returns the logical right shifted value of x.
func BitwiseRightShiftArithmetic ¶ added in v1.2.152
BitwiseRightShiftArithmetic Returns the arithmetic right shift value of x.
func BitwiseShiftLeft ¶ added in v1.2.152
BitwiseShiftLeft Returns the left shift operation on x (treated as bits-bit integer) shifted by shift. shift must not be negative.
func BitwiseXor ¶ added in v1.2.152
BitwiseXor Performs bitwise XOR operation on two integer values.
func BoostRegexpFindall ¶
BoostRegexpFindall Finds all matches of a regular expression pattern in a string and returns them as a list.
func BytesToStringBase64 ¶ added in v1.2.152
BytesToStringBase64 Encodes binary into a base64 string representation.
func BytesToStringHex ¶ added in v1.2.152
BytesToStringHex Encodes binary into a base64 string representation.
func BytesToStringUtf8 ¶ added in v1.2.152
BytesToStringUtf8 Encodes binary into a base64 string representation.
func Cardinality ¶
Cardinality Returns the number of elements in a list.
func CauchyCdf ¶ added in v1.2.152
CauchyCdf Compute the Cauchy cdf with given parameters median and scale (gamma): P(N; median, scale). The scale parameter must be a positive double. The value parameter must be a double on the interval [0, 1].
func Ceil ¶ added in v1.2.152
Ceil Returns the smallest integer greater than or equal to the given number.
func ChalkWindow ¶ added in v1.2.109
func ChalkWindow() Expr
func ChiSquaredCdf ¶ added in v1.2.152
ChiSquaredCdf Compute the Chi-square cdf with given df (degrees of freedom) parameter: P(N < value; df). The df parameter must be a positive real number, and value must be a non-negative real value (both of type DOUBLE).
func Codepoint ¶ added in v1.2.152
Codepoint Returns the Unicode code point of the only character of the string.
func CosineSimilarityVector ¶ added in v1.2.152
CosineSimilarityVector Returns the cosine similarity between the vectors.
func DateTrunc ¶
DateTrunc Truncates a timestamp to the specified time unit (e.g., day, month, year).
func DayOfMonth ¶
DayOfMonth Extracts the day of the month from a timestamp.
func DistinctFrom ¶ added in v1.2.152
DistinctFrom Checks if two values are distinct, treating NULL values as different from non-NULL values.
func DotProductVector ¶ added in v1.2.152
DotProductVector Returns the dot product between the vectors.
func DurationMicrosecond ¶
DurationMicrosecond creates a duration in microseconds
func DurationMillisecond ¶
DurationMillisecond creates a duration in milliseconds
func DurationNanosecond ¶
DurationNanosecond creates a duration in nanoseconds
func DurationSecond ¶
DurationSecond creates a duration in seconds
func FCdf ¶ added in v1.2.152
FCdf Compute the F cdf with given df1 (numerator degrees of freedom) and df2 (denominator degrees of freedom) parameters: P(N < value; df1, df2). The numerator and denominator df parameters must be positive real numbers. The value must be a non-negative real number.
func FindFirst ¶ added in v1.2.152
FindFirst Returns the first element in an array that matches the given predicate function.
func FindFirstIndex ¶ added in v1.2.152
FindFirstIndex Returns the 1-based index of the first element in an array that matches the given predicate function.
func Flatten ¶ added in v1.2.152
Flatten Flattens a nested array by one level, combining all sub-arrays into a single array.
func FormatDatetime ¶
FormatDatetime Formats a datetime using a specified format string.
func FromBase ¶
FromBase Converts a string representation of a number in a given base to an integer.
func FromBase64 ¶ added in v1.2.152
FromBase64 Decodes a Base64-encoded string to binary data.
func FromBase64Url ¶ added in v1.2.152
FromBase64Url Decodes a Base64url-encoded string to binary data.
func FromBigEndian32 ¶
FromBigEndian32 Convert a 32-bit big-endian bytes value to an integer.
func FromBigEndian64 ¶
FromBigEndian64 Convert a 64-bit big-endian bytes value to an integer.
func FromIso8601Timestamp ¶
FromIso8601Timestamp Parses an ISO 8601 timestamp string into a datetime object.
func FromUnixSeconds ¶
FromUnixSeconds Converts Unix timestamp (seconds since epoch) to a timestamp.
func FromUnixtime ¶ added in v1.2.152
FromUnixtime Returns the UNIX timestamp unixtime as a timestamp with time zone using hours and minutes for the time zone offset.
func FunctionCall ¶
FunctionCall creates a function call expression
func FunctionCallWithKwargs ¶
FunctionCallWithKwargs creates a function call expression with keyword arguments
func GammaCdf ¶ added in v1.2.152
GammaCdf Compute the Gamma cdf with given shape and scale parameters: P(N < value; shape, scale). The shape and scale parameters must be positive real numbers. The value must be a non-negative real number.
func GetJsonValue ¶
GetJsonValue extracts value from JSON
func H3CellToLatLonDegrees ¶ added in v1.2.152
H3CellToLatLonDegrees Calculates the lat-lon in degrees for a given h3 cell.
func H3CellToLatLonRadians ¶ added in v1.2.152
H3CellToLatLonRadians Calculates the lat-lon for a given h3 cell.
func H3LatLonToCell ¶ added in v1.2.152
H3LatLonToCell Calculates the h3 cell for a given lat-lon.
func HammingDistance ¶ added in v1.2.152
HammingDistance Returns the Hamming distance of string1 and string2, i.e. the number of positions at which the corresponding characters are different. Note that the two strings must have the same length.
func HmacMd5 ¶ added in v1.2.152
HmacMd5 Computes HMAC-MD5 authentication code for data using a secret key.
func HmacSha1 ¶ added in v1.2.152
HmacSha1 Computes HMAC-SHA1 authentication code for data using a secret key.
func HmacSha256 ¶ added in v1.2.152
HmacSha256 Computes HMAC-SHA256 authentication code for data using a secret key.
func HmacSha512 ¶ added in v1.2.152
HmacSha512 Computes HMAC-SHA512 authentication code for data using a secret key.
func HttpRequest ¶ added in v1.2.152
HttpRequest Makes an HTTP request with string body and returns the response as bytes.
func IfElse ¶
IfElse Returns the second argument if the condition is true, otherwise returns the third argument.
func InverseBetaCdf ¶ added in v1.2.152
InverseBetaCdf Compute the inverse of the Beta cdf with given a, b parameters for the cumulative probability (p): P(N < n). The a, b parameters must be positive double values. The probability p must lie on the interval [0, 1].
func InverseBinomialCdf ¶ added in v1.2.152
InverseBinomialCdf Compute the inverse of the Binomial cdf with given numberOfTrials and successProbability (of a single trial) the cumulative probability (p): P(N <= n). The successProbability and p must be real values in [0, 1] and the numberOfTrials must be a positive integer.
func InverseCauchyCdf ¶ added in v1.2.152
InverseCauchyCdf Compute the inverse of the Cauchy cdf with given parameters median and scale (gamma) for the probability p. The scale parameter must be a positive double. The probability p must be a double on the interval [0, 1].
func InverseChiSquaredCdf ¶ added in v1.2.152
InverseChiSquaredCdf Compute the inverse of the Chi-square cdf with given df (degrees of freedom) parameter for the cumulative probability (p): P(N < n). The df parameter must be positive real values. The probability p must lie on the interval [0, 1].
func InverseFCdf ¶ added in v1.2.152
InverseFCdf Compute the inverse of the Fisher F cdf with a given df1 (numerator degrees of freedom) and df2 (denominator degrees of freedom) parameters for the cumulative probability (p): P(N < n). The numerator and denominator df parameters must be positive real numbers. The probability p must lie on the interval [0, 1].
func InverseGammaCdf ¶ added in v1.2.152
InverseGammaCdf Compute the inverse of the Gamma cdf with given shape and scale parameters for the cumulative probability (p): P(N < n). The shape and scale parameters must be positive real values. The probability p must lie on the interval [0, 1].
func InverseLaplaceCdf ¶ added in v1.2.152
InverseLaplaceCdf Compute the inverse of the Laplace cdf with given mean and scale parameters for the cumulative probability (p): P(N < n). The mean must be a real value and the scale must be a positive real value (both of type DOUBLE). The probability p must lie on the interval [0, 1].
func InverseNormalCdf ¶ added in v1.2.152
InverseNormalCdf Compute the inverse of the Normal cdf with given mean and standard deviation (sd) for the cumulative probability (p): P(N < n). The mean must be a real value and the standard deviation must be a real and positive value (both of type DOUBLE). The probability p must lie on the interval (0, 1).
func InversePoissonCdf ¶ added in v1.2.152
InversePoissonCdf Compute the inverse of the Poisson cdf with given lambda (mean) parameter for the cumulative probability (p). It returns the value of n so that: P(N <= n; lambda) = p. The lambda parameter must be a positive real number (of type DOUBLE). The probability p must lie on the interval [0, 1).
func InverseWeibullCdf ¶ added in v1.2.152
InverseWeibullCdf Compute the inverse of the Weibull cdf with given parameters a, b for the probability p. The a, b parameters must be positive double values. The probability p must be a double on the interval [0, 1].
func IsFederalHoliday ¶ added in v1.2.152
IsFederalHoliday Returns True if the given timestamp is a federal holiday.
func IsFinite ¶ added in v1.2.152
IsFinite Checks if a floating-point number is finite (not NaN or infinite).
func IsInfinite ¶ added in v1.2.152
IsInfinite Checks if a floating-point number is infinite.
func JaccardSimilarity ¶
JaccardSimilarity Calculates the Jaccard similarity coefficient between two strings based on character sets.
func JaroWinklerDistance ¶
JaroWinklerDistance Calculates the Jaro-Winkler distance between two strings.
func Jinja ¶ added in v1.2.152
Jinja Renders a Jinja2 template string with provided context variables.
func JsonExtractArray ¶ added in v1.2.152
JsonExtractArray Extracts an array from JSON string using a path expression.
func LaplaceCdf ¶ added in v1.2.152
LaplaceCdf Compute the Laplace cdf with given mean and scale parameters: P(N < value; mean, scale). The mean and value must be real values and the scale parameter must be a positive value (all of type DOUBLE).
func LargeBinary ¶
LargeBinary creates a large binary literal expression
func LastDayOfMonth ¶
LastDayOfMonth Returns the last day of the month for a given date.
func LevenshteinDistance ¶ added in v1.2.152
LevenshteinDistance Calculates the Levenshtein distance between two strings.
func List ¶ added in v1.2.139
List creates a list literal expression Arguments must all be literals and of the same type
func LongestCommonSubsequence ¶ added in v1.2.152
LongestCommonSubsequence Calculates the longest common subsequence between two strings.
func Lpad ¶ added in v1.2.152
Lpad Pads a string with a specified padding string on the left to reach a target length.
func MapContains ¶
MapContains Checks if a map contains any keys that match a given condition.
func MapKeysByTopNValues ¶
MapKeysByTopNValues Returns the keys of a map ordered by their top N highest values.
func Millisecond ¶ added in v1.2.152
Millisecond Extracts the millisecond from a timestamp.
func NormalCdf ¶ added in v1.2.152
NormalCdf Compute the Normal cdf with given mean and standard deviation (sd): P(N < value; mean, sd). The mean and value must be real values and the standard deviation must be a real and positive value (all of type DOUBLE).
func OpenaiComplete ¶ added in v1.2.152
OpenaiComplete Makes a completion request to OpenAI's chat API and returns the response.
func ParseDatetime ¶
ParseDatetime Converts an ISO 8601 string into a datetime.
func PartialRatio ¶
PartialRatio Calculates the partial ratio similarity between two strings using fuzzy matching.
func PoissonCdf ¶ added in v1.2.152
PoissonCdf Compute the Poisson cdf with given lambda (mean) parameter: P(N <= value; lambda). The lambda parameter must be a positive real number (of type DOUBLE) and value must be a non-negative integer.
func ProtoDeserialize ¶ added in v1.2.152
ProtoDeserialize Converts protobuf binary data to a structured format.
func ProtoSerialize ¶ added in v1.2.152
ProtoSerialize Converts protobuf binary data to a structured format.
func ProtoToStruct ¶ added in v1.2.152
ProtoToStruct Converts protobuf binary data to a structured format.
func Recover ¶ added in v1.2.152
Recover Return the first valid entry. Functions like coalesce, but allows recovering from an upstream failure
func RegexpExtract ¶ added in v1.2.152
RegexpExtract Returns the first substring matched by the regular expression pattern in string.
func RegexpExtractAll ¶ added in v1.2.152
RegexpExtractAll Returns the substring(s) matched by the regular expression pattern in string.
func RegexpLike ¶
RegexpLike Checks if a string matches a regular expression pattern.
func RegexpReplace ¶
RegexpReplace Replaces all matches of a regular expression pattern with a replacement string.
func RegexpSplit ¶ added in v1.2.152
RegexpSplit Splits a string by a regex pattern into a list of strings.
func RemoveNulls ¶ added in v1.2.152
RemoveNulls Removes all null values from an array.
func Rpad ¶ added in v1.2.152
Rpad Pads a string with a specified padding string on the right to reach a target length.
func ScaleVector ¶ added in v1.2.152
ScaleVector Returns a scaled vector.
func SecureRandom ¶ added in v1.2.152
SecureRandom Generates a cryptographically secure random float between 0 and 1.
func Sequence ¶ added in v1.2.152
Sequence Generates a sequence of integers from start to stop (inclusive).
func SequenceMatcherRatio ¶
SequenceMatcherRatio Computes the similarity ratio between two strings using sequence matching.
func Slice ¶
Slice Returns a slice of a list starting at the given position for the specified length.
func SplitPart ¶ added in v1.2.152
SplitPart Splits a string by delimiter and returns the part at the specified index (1-based).
func SpookyHashV232 ¶
SpookyHashV232 Computes a 32-bit SpookyHash V2 hash of binary data.
func SpookyHashV264 ¶
SpookyHashV264 Computes a 64-bit SpookyHash V2 hash of binary data.
func StartsWith ¶
StartsWith Checks if a string starts with a specified prefix.
func StringToBytesBase64 ¶ added in v1.2.152
StringToBytesBase64 Decodes a Base64-encoded string back into its original binary form. This function is capable of handling both fully padded and non-padded Base64 encoded strings. Partially padded Base64 strings are not supported and will result in a “UserError” status being returned.
func StringToBytesHex ¶ added in v1.2.152
StringToBytesHex Decodes binary data from the hex encoded string.
func StringToBytesUtf8 ¶ added in v1.2.152
StringToBytesUtf8 Encodes string into a UTF-8 varbinary representation.
func StructPack ¶ added in v1.2.140
func StructPack(fields []StructField) Expr
StructPack Create a struct value with the given columns.
func StructToProto ¶ added in v1.2.152
StructToProto Converts structured data to protobuf binary format.
func Timestamp ¶
Timestamp creates a timestamp literal expression with nanosecond precision (alias for convenience)
func TimestampMicrosecond ¶
TimestampMicrosecond creates a timestamp literal expression with microsecond precision
func TimestampMillisecond ¶
TimestampMillisecond creates a timestamp literal expression with millisecond precision
func TimestampNanosecond ¶
TimestampNanosecond creates a timestamp literal expression with nanosecond precision
func TimestampSecond ¶
TimestampSecond creates a timestamp literal expression with second precision
func ToBase ¶ added in v1.2.152
ToBase Converts an integer to its string representation in the specified base.
func ToBase64Url ¶ added in v1.2.152
ToBase64Url Encodes binary data to a Base64url string.
func ToMicroseconds ¶ added in v1.2.152
ToMicroseconds Converts a duration to microseconds.
func ToMilliseconds ¶ added in v1.2.152
ToMilliseconds Converts a duration to milliseconds.
func ToUnixtime ¶
ToUnixtime Converts a timestamp to Unix timestamp (seconds since epoch).
func TokenSetRatio ¶
TokenSetRatio Calculates the token set ratio similarity between two strings using fuzzy matching.
func TokenSortRatio ¶
TokenSortRatio Calculates the token sort ratio similarity between two strings using fuzzy matching.
func TotalSeconds ¶ added in v1.2.152
TotalSeconds Returns the length of the input duration in seconds.
func Trail ¶ added in v1.2.152
Trail Returns the last N characters of the input string up to at most the length of string.
func Transform ¶ added in v1.2.152
Transform Applies a transformation function to each element in an array and returns a new array.
func Try ¶ added in v1.2.152
Try Attempts to execute an expression and handles any errors gracefully.
func UnidecodeNormalize ¶ added in v1.2.152
UnidecodeNormalize Normalizes Unicode characters to their closest ASCII equivalents with whitespace normalization.
func UnidecodeToAscii ¶ added in v1.2.152
UnidecodeToAscii Converts Unicode characters to their closest ASCII equivalents.
func UrlExtractFragment ¶ added in v1.2.152
UrlExtractFragment Extracts the fragment portion (after #) from a URL.
func UrlExtractHost ¶ added in v1.2.152
UrlExtractHost Returns the host from a URL.
func UrlExtractParameter ¶ added in v1.2.152
UrlExtractParameter Extracts the value of a specific query parameter from a URL.
func UrlExtractPath ¶ added in v1.2.152
UrlExtractPath Returns the path from a URL.
func UrlExtractPort ¶ added in v1.2.152
UrlExtractPort Extracts the port number from a URL.
func UrlExtractProtocol ¶ added in v1.2.152
UrlExtractProtocol Returns the protocol from a URL.
func UrlExtractQuery ¶ added in v1.2.152
UrlExtractQuery Extracts the query string portion (after ?) from a URL.
func VectorToBinary ¶ added in v1.2.152
VectorToBinary Returns binary of vector.
func WeekOfYear ¶ added in v1.2.152
WeekOfYear Extracts the week of the year from a timestamp.
func WeibullCdf ¶ added in v1.2.152
WeibullCdf Compute the Weibull cdf with given parameters a, b: P(N <= value). The a and b parameters must be positive doubles and value must also be a double.
func WidthBucket ¶ added in v1.2.152
WidthBucket Returns the bucket number for a value in a histogram with uniform bucket widths.
func WilsonIntervalLower ¶ added in v1.2.152
WilsonIntervalLower Returns the lower bound of the Wilson score interval of a Bernoulli trial process at a confidence specified by the z-score z.
func WilsonIntervalUpper ¶ added in v1.2.152
WilsonIntervalUpper Returns the upper bound of the Wilson score interval of a Bernoulli trial process at a confidence specified by the z-score z.
func YearOfWeek ¶ added in v1.2.152
YearOfWeek Extracts the year of the ISO week from a date.
func ZiSplitPart ¶
ZiSplitPart Splits a string by delimiter and returns the part at the specified zero-based index.
type ExprI ¶
type ExprI interface {
// String representation
String() string
// contains filtered or unexported methods
}
type GetAttributeExpr ¶
GetAttributeExpr represents field access like arr.length
func (*GetAttributeExpr) Add ¶
func (e *GetAttributeExpr) Add(other Expr) Expr
Implement Expr interface for GetAttributeExpr
func (*GetAttributeExpr) And ¶
func (e *GetAttributeExpr) And(other Expr) Expr
func (*GetAttributeExpr) Apply ¶ added in v1.2.95
func (e *GetAttributeExpr) Apply(args ...Expr) Expr
func (*GetAttributeExpr) As ¶
func (e *GetAttributeExpr) As(alias string) Expr
func (*GetAttributeExpr) Attr ¶
func (e *GetAttributeExpr) Attr(attribute string) Expr
func (*GetAttributeExpr) Div ¶
func (e *GetAttributeExpr) Div(other Expr) Expr
func (*GetAttributeExpr) Eq ¶
func (e *GetAttributeExpr) Eq(other Expr) Expr
func (*GetAttributeExpr) Ge ¶
func (e *GetAttributeExpr) Ge(other Expr) Expr
func (*GetAttributeExpr) Gt ¶
func (e *GetAttributeExpr) Gt(other Expr) Expr
func (*GetAttributeExpr) IsNotNull ¶
func (e *GetAttributeExpr) IsNotNull() Expr
func (*GetAttributeExpr) IsNull ¶
func (e *GetAttributeExpr) IsNull() Expr
func (*GetAttributeExpr) Le ¶
func (e *GetAttributeExpr) Le(other Expr) Expr
func (*GetAttributeExpr) Lt ¶
func (e *GetAttributeExpr) Lt(other Expr) Expr
func (*GetAttributeExpr) Mul ¶
func (e *GetAttributeExpr) Mul(other Expr) Expr
func (*GetAttributeExpr) Ne ¶
func (e *GetAttributeExpr) Ne(other Expr) Expr
func (*GetAttributeExpr) Not ¶
func (e *GetAttributeExpr) Not() Expr
func (*GetAttributeExpr) Or ¶
func (e *GetAttributeExpr) Or(other Expr) Expr
func (*GetAttributeExpr) String ¶
func (e *GetAttributeExpr) String() string
func (*GetAttributeExpr) Sub ¶
func (e *GetAttributeExpr) Sub(other Expr) Expr
type IdentifierExpr ¶
IdentifierExpr represents an identifier (variable name, column name, etc.)
func (*IdentifierExpr) Add ¶
func (e *IdentifierExpr) Add(other Expr) Expr
Implement Expr interface for IdentifierExpr
func (*IdentifierExpr) And ¶
func (e *IdentifierExpr) And(other Expr) Expr
func (*IdentifierExpr) Apply ¶ added in v1.2.95
func (e *IdentifierExpr) Apply(args ...Expr) Expr
func (*IdentifierExpr) As ¶
func (e *IdentifierExpr) As(alias string) Expr
func (*IdentifierExpr) Attr ¶
func (e *IdentifierExpr) Attr(attribute string) Expr
func (*IdentifierExpr) Div ¶
func (e *IdentifierExpr) Div(other Expr) Expr
func (*IdentifierExpr) Eq ¶
func (e *IdentifierExpr) Eq(other Expr) Expr
func (*IdentifierExpr) Ge ¶
func (e *IdentifierExpr) Ge(other Expr) Expr
func (*IdentifierExpr) Gt ¶
func (e *IdentifierExpr) Gt(other Expr) Expr
func (*IdentifierExpr) IsNotNull ¶
func (e *IdentifierExpr) IsNotNull() Expr
func (*IdentifierExpr) IsNull ¶
func (e *IdentifierExpr) IsNull() Expr
func (*IdentifierExpr) Le ¶
func (e *IdentifierExpr) Le(other Expr) Expr
func (*IdentifierExpr) Lt ¶
func (e *IdentifierExpr) Lt(other Expr) Expr
func (*IdentifierExpr) Mul ¶
func (e *IdentifierExpr) Mul(other Expr) Expr
func (*IdentifierExpr) Ne ¶
func (e *IdentifierExpr) Ne(other Expr) Expr
func (*IdentifierExpr) Not ¶
func (e *IdentifierExpr) Not() Expr
func (*IdentifierExpr) Or ¶
func (e *IdentifierExpr) Or(other Expr) Expr
func (*IdentifierExpr) String ¶
func (e *IdentifierExpr) String() string
func (*IdentifierExpr) Sub ¶
func (e *IdentifierExpr) Sub(other Expr) Expr
type LiteralExpr ¶
type LiteralExpr struct {
Expr
ScalarValue *arrowv1.ScalarValue
IsArrowScalarObject bool
}
LiteralExpr represents a literal value using Arrow scalar values
func (*LiteralExpr) Add ¶
func (e *LiteralExpr) Add(other Expr) Expr
Implement Expr interface for LiteralExpr
func (*LiteralExpr) And ¶
func (e *LiteralExpr) And(other Expr) Expr
func (*LiteralExpr) Apply ¶ added in v1.2.95
func (e *LiteralExpr) Apply(args ...Expr) Expr
func (*LiteralExpr) As ¶
func (e *LiteralExpr) As(alias string) Expr
func (*LiteralExpr) Attr ¶
func (e *LiteralExpr) Attr(attribute string) Expr
func (*LiteralExpr) Div ¶
func (e *LiteralExpr) Div(other Expr) Expr
func (*LiteralExpr) Eq ¶
func (e *LiteralExpr) Eq(other Expr) Expr
func (*LiteralExpr) Ge ¶
func (e *LiteralExpr) Ge(other Expr) Expr
func (*LiteralExpr) Gt ¶
func (e *LiteralExpr) Gt(other Expr) Expr
func (*LiteralExpr) IsNotNull ¶
func (e *LiteralExpr) IsNotNull() Expr
func (*LiteralExpr) IsNull ¶
func (e *LiteralExpr) IsNull() Expr
func (*LiteralExpr) Le ¶
func (e *LiteralExpr) Le(other Expr) Expr
func (*LiteralExpr) Lt ¶
func (e *LiteralExpr) Lt(other Expr) Expr
func (*LiteralExpr) Mul ¶
func (e *LiteralExpr) Mul(other Expr) Expr
func (*LiteralExpr) Ne ¶
func (e *LiteralExpr) Ne(other Expr) Expr
func (*LiteralExpr) Not ¶
func (e *LiteralExpr) Not() Expr
func (*LiteralExpr) Or ¶
func (e *LiteralExpr) Or(other Expr) Expr
func (*LiteralExpr) String ¶
func (e *LiteralExpr) String() string
func (*LiteralExpr) Sub ¶
func (e *LiteralExpr) Sub(other Expr) Expr