public class ExternalCache extends Object implements OrcInputFormat.FooterCache
Modifier and Type | Class and Description |
---|---|
static interface |
ExternalCache.ExternalFooterCachesByConf
An abstraction for testing ExternalCache in OrcInputFormat.
|
NO_SPLIT_AFTER_PPD
Constructor and Description |
---|
ExternalCache(org.apache.hadoop.hive.ql.io.orc.LocalCache lc,
ExternalCache.ExternalFooterCachesByConf efcf) |
Modifier and Type | Method and Description |
---|---|
void |
configure(HiveConf queryConfig) |
void |
getAndValidate(List<HadoopShims.HdfsFileStatusWithId> files,
boolean isOriginal,
OrcTail[] result,
ByteBuffer[] ppdResult) |
boolean |
hasPpd() |
boolean |
isBlocking() |
void |
put(OrcInputFormat.FooterCacheKey key,
OrcTail orcTail) |
static void |
translateSargToTableColIndexes(SearchArgument sarg,
org.apache.hadoop.conf.Configuration conf,
int rootColumn)
Modifies the SARG, replacing column names with column indexes in target table schema.
|
public ExternalCache(org.apache.hadoop.hive.ql.io.orc.LocalCache lc, ExternalCache.ExternalFooterCachesByConf efcf)
public void put(OrcInputFormat.FooterCacheKey key, OrcTail orcTail) throws IOException
put
in interface OrcInputFormat.FooterCache
IOException
public boolean isBlocking()
isBlocking
in interface OrcInputFormat.FooterCache
public boolean hasPpd()
hasPpd
in interface OrcInputFormat.FooterCache
public void configure(HiveConf queryConfig)
public void getAndValidate(List<HadoopShims.HdfsFileStatusWithId> files, boolean isOriginal, OrcTail[] result, ByteBuffer[] ppdResult) throws IOException, HiveException
getAndValidate
in interface OrcInputFormat.FooterCache
IOException
HiveException
public static void translateSargToTableColIndexes(SearchArgument sarg, org.apache.hadoop.conf.Configuration conf, int rootColumn)
Copyright © 2016 The Apache Software Foundation. All rights reserved.