Package io.trino.sql
Class PlannerContext
java.lang.Object
io.trino.sql.PlannerContext
A carrier of core, global, non-derived services for planner and analyzer.
This is used to ease the addition of new services in the future without
having to modify large portions the planner and analyzer just to pass around
the service.
-
Constructor Summary
ConstructorsConstructorDescriptionPlannerContext(Metadata metadata, TypeOperators typeOperators, BlockEncodingSerde blockEncodingSerde, TypeManager typeManager, FunctionManager functionManager, LanguageFunctionManager languageFunctionManager, io.opentelemetry.api.trace.Tracer tracer) -
Method Summary
Modifier and TypeMethodDescriptiongetFunctionResolver(WarningCollector warningCollector) io.opentelemetry.api.trace.Tracer
-
Constructor Details
-
PlannerContext
@Inject public PlannerContext(Metadata metadata, TypeOperators typeOperators, BlockEncodingSerde blockEncodingSerde, TypeManager typeManager, FunctionManager functionManager, LanguageFunctionManager languageFunctionManager, io.opentelemetry.api.trace.Tracer tracer)
-
-
Method Details
-
getMetadata
-
getTypeOperators
-
getBlockEncodingSerde
-
getTypeManager
-
getFunctionManager
-
getFunctionDecoder
-
getFunctionResolver
-
getFunctionResolver
-
getLanguageFunctionManager
-
getTracer
public io.opentelemetry.api.trace.Tracer getTracer()
-