Class IcebergFormatMatcher
java.lang.Object
org.apache.drill.exec.store.dfs.FormatMatcher
org.apache.drill.exec.store.iceberg.format.IcebergFormatMatcher
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.dfs.FormatMatcher
HIGH_PRIORITY, MEDIUM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsFormatLocationTransformer
instance relevant for {@link this} format matcher.boolean
isFileReadable
(DrillFileSystem fs, org.apache.hadoop.fs.FileStatus status) isReadable
(DrillFileSystem fs, FileSelection selection, FileSystemPlugin fsPlugin, String storageEngineName, SchemaConfig schemaConfig) int
priority()
Priority of specific format matcher to be applied.boolean
-
Constructor Details
-
IcebergFormatMatcher
-
-
Method Details
-
supportDirectoryReads
public boolean supportDirectoryReads()- Specified by:
supportDirectoryReads
in classFormatMatcher
-
isReadable
public DrillTable isReadable(DrillFileSystem fs, FileSelection selection, FileSystemPlugin fsPlugin, String storageEngineName, SchemaConfig schemaConfig) throws IOException - Specified by:
isReadable
in classFormatMatcher
- Throws:
IOException
-
isFileReadable
- Specified by:
isFileReadable
in classFormatMatcher
-
getFormatPlugin
- Specified by:
getFormatPlugin
in classFormatMatcher
-
priority
public int priority()Description copied from class:FormatMatcher
Priority of specific format matcher to be applied. Can be used for the case when several formats can match the format, but matchers with some more specific requirements should be applied at first.- Overrides:
priority
in classFormatMatcher
- Returns:
- priority of {@link this} format matcher.
-
getFormatLocationTransformer
Description copied from class:FormatMatcher
ReturnsFormatLocationTransformer
instance relevant for {@link this} format matcher.- Overrides:
getFormatLocationTransformer
in classFormatMatcher
- Returns:
FormatLocationTransformer
instance
-