Package org. partiql. lang. types
Types
Link copied to clipboard
data class CustomType(name: String, typedOpParameter: TypedOpParameter, aliases: List<String>)
Content copied to clipboard
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)
Content copied to clipboard
A typed version of function signature.
Link copied to clipboard
Link copied to clipboard
data class TypedOpParameter(staticType: StaticType, validationThunk: (ExprValue) -> Boolean?)
Content copied to clipboard
Represents a parameter that can be passed to typed operators i.e CAST/IS
Link copied to clipboard
Indicates if a given function should allow unknown values to be propagated at evaluation time.
Link copied to clipboard
Represents a variable number of arguments function parameter. Varargs are monomorpic, i.e. all elements are of the same type