public abstract class FormatMatcher extends Object
Modifier and Type | Field and Description |
---|---|
static int |
HIGH_PRIORITY |
static int |
MEDIUM_PRIORITY |
Constructor and Description |
---|
FormatMatcher() |
Modifier and Type | Method and Description |
---|---|
FormatLocationTransformer |
getFormatLocationTransformer()
Returns
FormatLocationTransformer instance relevant for this format matcher. |
abstract FormatPlugin |
getFormatPlugin() |
abstract boolean |
isFileReadable(DrillFileSystem fs,
org.apache.hadoop.fs.FileStatus status) |
abstract DrillTable |
isReadable(DrillFileSystem fs,
FileSelection selection,
FileSystemPlugin fsPlugin,
String storageEngineName,
SchemaConfig schemaConfig) |
int |
priority()
Priority of specific format matcher to be applied.
|
abstract boolean |
supportDirectoryReads() |
public static final int MEDIUM_PRIORITY
public static final int HIGH_PRIORITY
public abstract boolean supportDirectoryReads()
public abstract DrillTable isReadable(DrillFileSystem fs, FileSelection selection, FileSystemPlugin fsPlugin, String storageEngineName, SchemaConfig schemaConfig) throws IOException
IOException
public abstract boolean isFileReadable(DrillFileSystem fs, org.apache.hadoop.fs.FileStatus status) throws IOException
IOException
public abstract FormatPlugin getFormatPlugin()
public int priority()
this
format matcher.public FormatLocationTransformer getFormatLocationTransformer()
FormatLocationTransformer
instance relevant for this
format matcher.FormatLocationTransformer
instanceCopyright © 1970 The Apache Software Foundation. All rights reserved.