Package io.trino.plugin.kafka
Class KafkaSessionProperties
- java.lang.Object
-
- io.trino.plugin.kafka.KafkaSessionProperties
-
- All Implemented Interfaces:
SessionPropertiesProvider
public final class KafkaSessionProperties extends Object implements SessionPropertiesProvider
-
-
Constructor Summary
Constructors Constructor Description KafkaSessionProperties(KafkaConfig kafkaConfig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PropertyMetadata<?>>getSessionProperties()static booleanisTimestampUpperBoundPushdownEnabled(ConnectorSession session)If predicate specifies lower bound on _timestamp column (_timestamp > XXXX), it is always pushed down.
-
-
-
Constructor Detail
-
KafkaSessionProperties
@Inject public KafkaSessionProperties(KafkaConfig kafkaConfig)
-
-
Method Detail
-
getSessionProperties
public List<PropertyMetadata<?>> getSessionProperties()
- Specified by:
getSessionPropertiesin interfaceSessionPropertiesProvider
-
isTimestampUpperBoundPushdownEnabled
public static boolean isTimestampUpperBoundPushdownEnabled(ConnectorSession session)
If predicate specifies lower bound on _timestamp column (_timestamp > XXXX), it is always pushed down. The upper bound predicate is pushed down only for topics using ``LogAppendTime`` mode. For topics using ``CreateTime`` mode, upper bound push down must be explicitly allowed via ``kafka.timestamp-upper-bound-force-push-down-enabled`` config property or ``timestamp_upper_bound_force_push_down_enabled`` session property.
-
-