Package io.trino.sql.gen
Class ExpressionCompiler
- java.lang.Object
-
- io.trino.sql.gen.ExpressionCompiler
-
public class ExpressionCompiler extends Object
-
-
Constructor Summary
Constructors Constructor Description ExpressionCompiler(Metadata metadata, PageFunctionCompiler pageFunctionCompiler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<CursorProcessor>compileCursorProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections, Object uniqueKey)Supplier<PageProcessor>compilePageProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections)Supplier<PageProcessor>compilePageProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections, int initialBatchSize)Supplier<PageProcessor>compilePageProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections, Optional<String> classNameSuffix)io.airlift.jmx.CacheStatsMBeangetCursorProcessorCache()
-
-
-
Constructor Detail
-
ExpressionCompiler
@Inject public ExpressionCompiler(Metadata metadata, PageFunctionCompiler pageFunctionCompiler)
-
-
Method Detail
-
getCursorProcessorCache
public io.airlift.jmx.CacheStatsMBean getCursorProcessorCache()
-
compileCursorProcessor
public Supplier<CursorProcessor> compileCursorProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections, Object uniqueKey)
-
compilePageProcessor
public Supplier<PageProcessor> compilePageProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections, Optional<String> classNameSuffix)
-
compilePageProcessor
public Supplier<PageProcessor> compilePageProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections)
-
compilePageProcessor
public Supplier<PageProcessor> compilePageProcessor(Optional<RowExpression> filter, List<? extends RowExpression> projections, int initialBatchSize)
-
-