Package org.partiql.lang.types

Types

Link copied to clipboard
data class CustomType(name: String, typedOpParameter: TypedOpParameter, aliases: List<String>)

Data class enclosing the custom data type. It has the following properties:

Link copied to clipboard
class FunctionSignature(name: String, requiredParameters: List<StaticType>, returnType: StaticType, unknownArguments: UnknownArguments)

A typed version of function signature.

Link copied to clipboard
object StaticTypeUtils
Link copied to clipboard
data class TypedOpParameter(staticType: StaticType, validationThunk: (ExprValue) -> Boolean?)

Represents a parameter that can be passed to typed operators i.e CAST/IS

Link copied to clipboard
enum UnknownArguments : Enum<UnknownArguments>

Indicates if a given function should allow unknown values to be propagated at evaluation time.

Link copied to clipboard
data class VarargFormalParameter(type: StaticType, arityRange: IntRange)

Represents a variable number of arguments function parameter. Varargs are monomorpic, i.e. all elements are of the same type