Package io.trino.operator.annotations
Class CastImplementationDependency
java.lang.Object
io.trino.operator.annotations.ScalarImplementationDependency
io.trino.operator.annotations.CastImplementationDependency
- All Implemented Interfaces:
ImplementationDependency
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.operator.annotations.ImplementationDependency
ImplementationDependency.Factory -
Constructor Summary
ConstructorsConstructorDescriptionCastImplementationDependency(TypeSignature fromType, TypeSignature toType, InvocationConvention invocationConvention, Class<?> type) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanprotected ScalarFunctionImplementationgetImplementation(FunctionBinding functionBinding, FunctionDependencies functionDependencies, InvocationConvention invocationConvention) inthashCode()Methods inherited from class io.trino.operator.annotations.ScalarImplementationDependency
getInvocationConvention, getType, resolve
-
Constructor Details
-
CastImplementationDependency
public CastImplementationDependency(TypeSignature fromType, TypeSignature toType, InvocationConvention invocationConvention, Class<?> type)
-
-
Method Details
-
getFromType
-
getToType
-
declareDependencies
public void declareDependencies(FunctionDependencyDeclaration.FunctionDependencyDeclarationBuilder builder) -
getImplementation
protected ScalarFunctionImplementation getImplementation(FunctionBinding functionBinding, FunctionDependencies functionDependencies, InvocationConvention invocationConvention) - Specified by:
getImplementationin classScalarImplementationDependency
-
equals
- Specified by:
equalsin classScalarImplementationDependency
-
hashCode
public int hashCode()- Specified by:
hashCodein classScalarImplementationDependency
-