public abstract class TableFormatMatcher extends FormatMatcher
| 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() |
public TableFormatMatcher(TableFormatPlugin plugin)
public boolean supportDirectoryReads()
supportDirectoryReads in class FormatMatcherpublic DrillTable isReadable(DrillFileSystem fs, FileSelection selection, FileSystemPlugin fsPlugin, String storageEngineName, SchemaConfig schemaConfig) throws IOException
isReadable in class FormatMatcherIOExceptionpublic boolean isFileReadable(DrillFileSystem fs, org.apache.hadoop.fs.FileStatus status) throws IOException
isFileReadable in class FormatMatcherIOExceptionpublic TableFormatPlugin getFormatPlugin()
getFormatPlugin in class FormatMatcherprotected abstract boolean isSupportedTable(com.mapr.fs.MapRFileStatus status)
throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.