Package io.trino.metadata
Class FunctionDependencies
java.lang.Object
io.trino.metadata.FunctionDependencies
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionFunctionDependencies(Metadata metadata, Map<TypeSignature, Type> typeDependencies, Collection<ResolvedFunction> functionDependencies) -
Method Summary
Modifier and TypeMethodDescriptiongetCastInvoker(Type fromType, Type toType, InvocationConvention invocationConvention) getCastNullability(Type fromType, Type toType) getCastSignatureInvoker(TypeSignature fromType, TypeSignature toType, InvocationConvention invocationConvention) getFunctionInvoker(QualifiedName name, List<Type> parameterTypes, InvocationConvention invocationConvention) getFunctionNullability(QualifiedName name, List<Type> parameterTypes) getFunctionSignatureInvoker(QualifiedName name, List<TypeSignature> parameterTypes, InvocationConvention invocationConvention) getOperatorInvoker(OperatorType operatorType, List<Type> parameterTypes, InvocationConvention invocationConvention) getOperatorNullability(OperatorType operatorType, List<Type> parameterTypes) getOperatorSignatureInvoker(OperatorType operatorType, List<TypeSignature> parameterTypes, InvocationConvention invocationConvention) getType(TypeSignature typeSignature)
-
Constructor Details
-
FunctionDependencies
public FunctionDependencies(Metadata metadata, Map<TypeSignature, Type> typeDependencies, Collection<ResolvedFunction> functionDependencies)
-
-
Method Details
-
getType
-
getFunctionNullability
-
getOperatorNullability
public FunctionNullability getOperatorNullability(OperatorType operatorType, List<Type> parameterTypes) -
getCastNullability
-
getFunctionInvoker
public FunctionInvoker getFunctionInvoker(QualifiedName name, List<Type> parameterTypes, InvocationConvention invocationConvention) -
getFunctionSignatureInvoker
public FunctionInvoker getFunctionSignatureInvoker(QualifiedName name, List<TypeSignature> parameterTypes, InvocationConvention invocationConvention) -
getOperatorInvoker
public FunctionInvoker getOperatorInvoker(OperatorType operatorType, List<Type> parameterTypes, InvocationConvention invocationConvention) -
getOperatorSignatureInvoker
public FunctionInvoker getOperatorSignatureInvoker(OperatorType operatorType, List<TypeSignature> parameterTypes, InvocationConvention invocationConvention) -
getCastInvoker
public FunctionInvoker getCastInvoker(Type fromType, Type toType, InvocationConvention invocationConvention) -
getCastSignatureInvoker
public FunctionInvoker getCastSignatureInvoker(TypeSignature fromType, TypeSignature toType, InvocationConvention invocationConvention)
-