MCPcopy Create free account

hub / github.com/cockscomb/cel2sql / functions

Functions59 in github.com/cockscomb/cel2sql

↓ 16 callersMethodvisit
(expr *exprpb.Expr)
cel2sql.go:38
↓ 13 callersFunctionnewConstantString
(str string)
sqltypes/types.go:19
↓ 10 callersMethodvisitMaybeNested
(expr *exprpb.Expr, nested bool)
cel2sql.go:702
↓ 8 callersMethodgetType
(node *exprpb.Expr)
cel2sql.go:716
↓ 5 callersFunctionisBinaryOrTernaryOperator
Indicate whether this is a binary or ternary operator.
cel2sql.go:782
↓ 5 callersFunctionisListType
(typ *exprpb.Type)
cel2sql.go:725
↓ 4 callersFunctionisComplexOperatorWithRespectTo
Indicates whether it is a complex operation compared to another. expr is *not* considered complex if it is not a call expression or has less than two
cel2sql.go:774
↓ 4 callersFunctionisTimestampRelatedType
(typ *exprpb.Type)
cel2sql.go:157
↓ 3 callersFunctionNewTrigramsTableMetadata
()
test/testdata.go:9
↓ 3 callersFunctionNewTypeProvider
(schemas map[string]bigquery.Schema)
bq/provider.go:19
↓ 3 callersFunctionNewWikipediaTableMetadata
()
test/testdata.go:213
↓ 2 callersFunctionextractFieldName
(node *exprpb.Expr)
cel2sql.go:836
↓ 2 callersMethodfindSchema
(typeName string)
bq/provider.go:31
↓ 2 callersFunctionisBoolLiteral
(node *exprpb.Expr)
cel2sql.go:799
↓ 2 callersFunctionisDateTimeType
(typ *exprpb.Type)
cel2sql.go:174
↓ 2 callersFunctionisDateType
(typ *exprpb.Type)
cel2sql.go:166
↓ 2 callersFunctionisDurationRelatedType
(typ *exprpb.Type)
cel2sql.go:182
↓ 2 callersFunctionisNullLiteral
(node *exprpb.Expr)
cel2sql.go:790
↓ 2 callersFunctionisSamePrecedence
isSamePrecedence indicates whether the precedence of the input operator is the same as the precedence of the (possible) operation represented in the i
cel2sql.go:740
↓ 2 callersFunctionisTimeType
(typ *exprpb.Type)
cel2sql.go:170
↓ 2 callersFunctionisTimestampType
(typ *exprpb.Type)
cel2sql.go:178
↓ 1 callersFunctionConvert
Implementations based on `google/cel-go`'s unparser https://github.com/google/cel-go/blob/master/parser/unparser.go
cel2sql.go:19
↓ 1 callersMethodFindFieldType
(messageType string, fieldName string)
bq/provider.go:61
↓ 1 callersMethodFindType
(typeName string)
bq/provider.go:53
↓ 1 callersFunctionbytesToOctets
bytesToOctets converts byte sequences to a string using a three digit octal encoded value per byte.
cel2sql.go:819
↓ 1 callersMethodcallCasting
(function string, target *exprpb.Expr, args []*exprpb.Expr)
cel2sql.go:396
↓ 1 callersMethodcallContains
(target *exprpb.Expr, args []*exprpb.Expr)
cel2sql.go:279
↓ 1 callersMethodcallDuration
(target *exprpb.Expr, args []*exprpb.Expr)
cel2sql.go:302
↓ 1 callersMethodcallExtractFromTimestamp
(function string, target *exprpb.Expr, args []*exprpb.Expr)
cel2sql.go:355
↓ 1 callersMethodcallInterval
(target *exprpb.Expr, args []*exprpb.Expr)
cel2sql.go:344
↓ 1 callersMethodcallTimestampOperation
(fun string, lhs *exprpb.Expr, rhs *exprpb.Expr)
cel2sql.go:191
↓ 1 callersFunctionisComplexOperator
Indicates whether the expr is a complex operator, i.e., a call expression with 2 or more arguments.
cel2sql.go:764
↓ 1 callersFunctionisLeftRecursive
isLeftRecursive indicates whether the parser resolves the call in a left-recursive manner as this can have an effect of how parentheses affect the ord
cel2sql.go:732
↓ 1 callersFunctionisLowerPrecedence
isLowerPrecedence indicates whether the precedence of the input operator is lower precedence than the (possible) operation represented in the input Ex
cel2sql.go:753
↓ 1 callersFunctionisMapType
(typ *exprpb.Type)
cel2sql.go:720
↓ 1 callersFunctionisStringLiteral
(node *exprpb.Expr)
cel2sql.go:808
↓ 1 callersFunctionvalidateFieldName
(name string)
cel2sql.go:829
↓ 1 callersMethodvisitCall
(expr *exprpb.Expr)
cel2sql.go:59
↓ 1 callersMethodvisitCallBinary
(expr *exprpb.Expr)
cel2sql.go:101
↓ 1 callersMethodvisitCallConditional
(expr *exprpb.Expr)
cel2sql.go:253
↓ 1 callersMethodvisitCallFunc
(expr *exprpb.Expr)
cel2sql.go:429
↓ 1 callersMethodvisitCallIndex
(expr *exprpb.Expr)
cel2sql.go:501
↓ 1 callersMethodvisitCallListIndex
(expr *exprpb.Expr)
cel2sql.go:526
↓ 1 callersMethodvisitCallMapIndex
(expr *exprpb.Expr)
cel2sql.go:508
↓ 1 callersMethodvisitCallUnary
(expr *exprpb.Expr)
cel2sql.go:547
↓ 1 callersMethodvisitComprehension
(expr *exprpb.Expr)
cel2sql.go:564
↓ 1 callersMethodvisitConst
(expr *exprpb.Expr)
cel2sql.go:570
↓ 1 callersMethodvisitIdent
(expr *exprpb.Expr)
cel2sql.go:603
↓ 1 callersMethodvisitList
(expr *exprpb.Expr)
cel2sql.go:610
↓ 1 callersMethodvisitSelect
(expr *exprpb.Expr)
cel2sql.go:627
↓ 1 callersMethodvisitStruct
(expr *exprpb.Expr)
cel2sql.go:647
↓ 1 callersMethodvisitStructMap
(expr *exprpb.Expr)
cel2sql.go:679
↓ 1 callersMethodvisitStructMsg
(expr *exprpb.Expr)
cel2sql.go:657
MethodEnumValue
(enumName string)
bq/provider.go:23
MethodFindIdent
(identName string)
bq/provider.go:27
MethodNewValue
(typeName string, fields map[string]ref.Val)
bq/provider.go:107
FunctionTestConvert
(t *testing.T)
cel2sql_test.go:18
FunctionTest_typeProvider_FindFieldType
(t *testing.T)
bq/provider_test.go:96
FunctionTest_typeProvider_FindType
(t *testing.T)
bq/provider_test.go:16