public abstract class TableFormatMatcher extends FormatMatcher
HIGH_PRIORITY, MEDIUM_PRIORITY
Constructor and Description |
---|
TableFormatMatcher(TableFormatPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
TableFormatPlugin |
getFormatPlugin() |
boolean |
isFileReadable(DrillFileSystem fs,
org.apache.hadoop.fs.FileStatus status) |
DrillTable |
isReadable(DrillFileSystem fs,
FileSelection selection,
FileSystemPlugin fsPlugin,
String storageEngineName,
SchemaConfig schemaConfig) |
protected abstract boolean |
isSupportedTable(com.mapr.fs.MapRFileStatus status)
Returns true if the path pointed by the MapRFileStatus is a supported table
by this format plugin.
|
boolean |
supportDirectoryReads() |
getFormatLocationTransformer, priority
public TableFormatMatcher(TableFormatPlugin plugin)
public boolean supportDirectoryReads()
supportDirectoryReads
in class FormatMatcher
public DrillTable isReadable(DrillFileSystem fs, FileSelection selection, FileSystemPlugin fsPlugin, String storageEngineName, SchemaConfig schemaConfig) throws IOException
isReadable
in class FormatMatcher
IOException
public boolean isFileReadable(DrillFileSystem fs, org.apache.hadoop.fs.FileStatus status) throws IOException
isFileReadable
in class FormatMatcher
IOException
public TableFormatPlugin getFormatPlugin()
getFormatPlugin
in class FormatMatcher
protected abstract boolean isSupportedTable(com.mapr.fs.MapRFileStatus status) throws IOException
IOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.