public class MapRDBFormatPlugin extends TableFormatPlugin
| Constructor and Description |
|---|
MapRDBFormatPlugin(String name,
DrillbitContext context,
org.apache.hadoop.conf.Configuration fsConf,
StoragePluginConfig storageConfig,
MapRDBFormatPluginConfig formatConfig) |
| Modifier and Type | Method and Description |
|---|---|
MapRDBFormatPluginConfig |
getConfig() |
org.apache.hadoop.hbase.client.Connection |
getConnection() |
AbstractGroupScan |
getGroupScan(String userName,
FileSelection selection,
List<SchemaPath> columns) |
AbstractGroupScan |
getGroupScan(String userName,
FileSelection selection,
List<SchemaPath> columns,
com.mapr.db.index.IndexDesc indexDesc,
MetadataProviderManager metadataProviderManager) |
org.apache.hadoop.conf.Configuration |
getHBaseConf() |
MapRDBTableCache |
getJsonTableCache() |
FormatMatcher |
getMatcher() |
Set<StoragePluginOptimizerRule> |
getOptimizerRules() |
MapRDBCost |
getPluginCostModel() |
int |
getRestrictedScanRangeSizeMB() |
int |
getScanRangeSizeMB() |
String |
getTableName(FileSelection selection)
Allows to get a table name from FileSelection object
|
DrillStatsTable.TableStatistics |
readStatistics(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path statsTablePath) |
boolean |
supportsStatistics() |
void |
writeStatistics(DrillStatsTable.TableStatistics statistics,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path statsTablePath) |
getContext, getFsConf, getMaprFS, getName, getStorageConfig, getStoragePlugin, getWriter, supportsAutoPartitioning, supportsRead, supportsWriteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGroupScan, getGroupScan, getGroupScanpublic MapRDBFormatPlugin(String name, DrillbitContext context, org.apache.hadoop.conf.Configuration fsConf, StoragePluginConfig storageConfig, MapRDBFormatPluginConfig formatConfig) throws IOException
IOExceptionpublic FormatMatcher getMatcher()
public MapRDBFormatPluginConfig getConfig()
getConfig in interface FormatPlugingetConfig in class TableFormatPluginpublic MapRDBTableCache getJsonTableCache()
public Set<StoragePluginOptimizerRule> getOptimizerRules()
getOptimizerRules in interface FormatPlugingetOptimizerRules in class TableFormatPluginpublic AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns, com.mapr.db.index.IndexDesc indexDesc, MetadataProviderManager metadataProviderManager) throws IOException
IOExceptionpublic AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) throws IOException
IOExceptionpublic boolean supportsStatistics()
public DrillStatsTable.TableStatistics readStatistics(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath)
public void writeStatistics(DrillStatsTable.TableStatistics statistics, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path statsTablePath) throws IOException
IOExceptionpublic org.apache.hadoop.conf.Configuration getHBaseConf()
public org.apache.hadoop.hbase.client.Connection getConnection()
public int getScanRangeSizeMB()
public int getRestrictedScanRangeSizeMB()
public MapRDBCost getPluginCostModel()
public String getTableName(FileSelection selection)
selection - File selection objectCopyright © 2021 The Apache Software Foundation. All rights reserved.