Package io.trino.operator.project
Class ConstantPageProjection
- java.lang.Object
-
- io.trino.operator.project.ConstantPageProjection
-
- All Implemented Interfaces:
PageProjection
public class ConstantPageProjection extends Object implements PageProjection
-
-
Constructor Summary
Constructors Constructor Description ConstantPageProjection(Object value, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputChannelsgetInputChannels()TypegetType()booleanisDeterministic()Work<Block>project(ConnectorSession session, DriverYieldSignal yieldSignal, Page page, SelectedPositions selectedPositions)
-
-
-
Method Detail
-
getType
public Type getType()
- Specified by:
getTypein interfacePageProjection
-
isDeterministic
public boolean isDeterministic()
- Specified by:
isDeterministicin interfacePageProjection
-
getInputChannels
public InputChannels getInputChannels()
- Specified by:
getInputChannelsin interfacePageProjection
-
project
public Work<Block> project(ConnectorSession session, DriverYieldSignal yieldSignal, Page page, SelectedPositions selectedPositions)
- Specified by:
projectin interfacePageProjection
-
-