Package io.trino.plugin.hive.s3select
Class S3SelectPushdown
- java.lang.Object
-
- io.trino.plugin.hive.s3select.S3SelectPushdown
-
public final class S3SelectPushdown extends Object
S3SelectPushdown uses Amazon S3 Select to push down queries to Amazon S3. This allows Presto to retrieve only a subset of data rather than retrieving the full S3 object thus improving Presto query performance.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisCompressionCodecSupported(org.apache.hadoop.mapred.InputFormat<?,?> inputFormat, org.apache.hadoop.fs.Path path)static booleanshouldEnablePushdownForTable(ConnectorSession session, Table table, String path, Optional<Partition> optionalPartition)
-
-
-
Method Detail
-
isCompressionCodecSupported
public static boolean isCompressionCodecSupported(org.apache.hadoop.mapred.InputFormat<?,?> inputFormat, org.apache.hadoop.fs.Path path)
-
shouldEnablePushdownForTable
public static boolean shouldEnablePushdownForTable(ConnectorSession session, Table table, String path, Optional<Partition> optionalPartition)
-
-