public class CarbonTableReader extends Object
| Modifier and Type | Field and Description |
|---|---|
CarbonTableConfig |
config |
| Constructor and Description |
|---|
CarbonTableReader(CarbonTableConfig config) |
| Modifier and Type | Method and Description |
|---|---|
CarbonTableCacheModel |
getCarbonCache(com.facebook.presto.spi.SchemaTableName table,
String location,
org.apache.hadoop.conf.Configuration config)
For presto worker node to initialize the metadata cache of a table.
|
List<CarbonLocalMultiBlockSplit> |
getInputSplits2(CarbonTableCacheModel tableCacheModel,
org.apache.carbondata.core.scan.expression.Expression filters,
com.facebook.presto.spi.predicate.TupleDomain<com.facebook.presto.hive.HiveColumnHandle> constraints,
org.apache.hadoop.conf.Configuration config) |
void |
setQueryId(String queryId) |
org.apache.hadoop.conf.Configuration |
updateS3Properties(org.apache.hadoop.conf.Configuration configuration) |
public CarbonTableConfig config
@Inject public CarbonTableReader(CarbonTableConfig config)
public CarbonTableCacheModel getCarbonCache(com.facebook.presto.spi.SchemaTableName table, String location, org.apache.hadoop.conf.Configuration config)
table - the name of the table and schema.public List<CarbonLocalMultiBlockSplit> getInputSplits2(CarbonTableCacheModel tableCacheModel, org.apache.carbondata.core.scan.expression.Expression filters, com.facebook.presto.spi.predicate.TupleDomain<com.facebook.presto.hive.HiveColumnHandle> constraints, org.apache.hadoop.conf.Configuration config) throws IOException
IOExceptionpublic org.apache.hadoop.conf.Configuration updateS3Properties(org.apache.hadoop.conf.Configuration configuration)
public void setQueryId(String queryId)
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.