public static class MetastoreExternalCachesByConf.HBaseCache extends Object implements ExternalCache.ExternalFooterCachesByConf.Cache
Constructor and Description |
---|
HBaseCache(Hive hive) |
Modifier and Type | Method and Description |
---|---|
void |
clearFileMetadata(List<Long> fileIds) |
Iterator<Map.Entry<Long,ByteBuffer>> |
getFileMetadata(List<Long> fileIds) |
Iterator<Map.Entry<Long,MetadataPpdResult>> |
getFileMetadataByExpr(List<Long> fileIds,
ByteBuffer sarg,
boolean doGetFooters) |
void |
putFileMetadata(ArrayList<Long> fileIds,
ArrayList<ByteBuffer> metadata) |
public HBaseCache(Hive hive)
public Iterator<Map.Entry<Long,MetadataPpdResult>> getFileMetadataByExpr(List<Long> fileIds, ByteBuffer sarg, boolean doGetFooters) throws HiveException
getFileMetadataByExpr
in interface ExternalCache.ExternalFooterCachesByConf.Cache
HiveException
public void clearFileMetadata(List<Long> fileIds) throws HiveException
clearFileMetadata
in interface ExternalCache.ExternalFooterCachesByConf.Cache
HiveException
public Iterator<Map.Entry<Long,ByteBuffer>> getFileMetadata(List<Long> fileIds) throws HiveException
getFileMetadata
in interface ExternalCache.ExternalFooterCachesByConf.Cache
HiveException
public void putFileMetadata(ArrayList<Long> fileIds, ArrayList<ByteBuffer> metadata) throws HiveException
putFileMetadata
in interface ExternalCache.ExternalFooterCachesByConf.Cache
HiveException
Copyright © 2016 The Apache Software Foundation. All rights reserved.