Package org.apache.drill.exec.store.dfs
Class FormatMatcher
java.lang.Object
org.apache.drill.exec.store.dfs.FormatMatcher
- Direct Known Subclasses:
BasicFormatMatcher,DeltaFormatMatcher,IcebergFormatMatcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsFormatLocationTransformerinstance relevant for} format matcher.invalid @link
{@link thisabstract FormatPluginabstract booleanisFileReadable(DrillFileSystem fs, org.apache.hadoop.fs.FileStatus status) abstract DrillTableisReadable(DrillFileSystem fs, FileSelection selection, FileSystemPlugin fsPlugin, String storageEngineName, SchemaConfig schemaConfig) intpriority()Priority of specific format matcher to be applied.abstract boolean
-
Field Details
-
MEDIUM_PRIORITY
public static final int MEDIUM_PRIORITY- See Also:
-
HIGH_PRIORITY
public static final int HIGH_PRIORITY- See Also:
-
-
Constructor Details
-
FormatMatcher
public FormatMatcher()
-
-
Method Details
-
supportDirectoryReads
public abstract boolean supportDirectoryReads() -
isReadable
public abstract DrillTable isReadable(DrillFileSystem fs, FileSelection selection, FileSystemPlugin fsPlugin, String storageEngineName, SchemaConfig schemaConfig) throws IOException - Throws:
IOException
-
isFileReadable
public abstract boolean isFileReadable(DrillFileSystem fs, org.apache.hadoop.fs.FileStatus status) throws IOException - Throws:
IOException
-
getFormatPlugin
-
priority
public int priority()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.- Returns:
- priority of
} format matcher.
invalid @link
{@link this
-
getFormatLocationTransformer
ReturnsFormatLocationTransformerinstance relevant for} format matcher.invalid @link
{@link this- Returns:
FormatLocationTransformerinstance
-