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,
org.apache.orc.impl.OrcTail[] result,
ByteBuffer[] ppdResult) |
boolean |
hasPpd() |
boolean |
isBlocking() |
void |
put(OrcInputFormat.FooterCacheKey key,
org.apache.orc.impl.OrcTail orcTail) |
static void |
translateSargToTableColIndexes(org.apache.hadoop.hive.ql.io.sarg.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, org.apache.orc.impl.OrcTail orcTail) throws IOException
put in interface OrcInputFormat.FooterCacheIOExceptionpublic boolean isBlocking()
isBlocking in interface OrcInputFormat.FooterCachepublic boolean hasPpd()
hasPpd in interface OrcInputFormat.FooterCachepublic void configure(HiveConf queryConfig)
public void getAndValidate(List<HadoopShims.HdfsFileStatusWithId> files, boolean isOriginal, org.apache.orc.impl.OrcTail[] result, ByteBuffer[] ppdResult) throws IOException, HiveException
getAndValidate in interface OrcInputFormat.FooterCacheIOExceptionHiveExceptionpublic static void translateSargToTableColIndexes(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg,
org.apache.hadoop.conf.Configuration conf,
int rootColumn)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.