public class OrcFileEstimateErrors extends LlapCacheableBuffer
IN_LIST, indexInHeap, INVALIDATE_ALREADY_INVALID, INVALIDATE_FAILED, INVALIDATE_OK, lastUpdate, next, NOT_IN_CACHE, prev, priority| Constructor and Description |
|---|
OrcFileEstimateErrors(Object fileKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(long offset,
int length,
long baseOffset) |
long |
estimateMemoryUsage() |
Object |
getFileKey() |
org.apache.hadoop.hive.common.io.DiskRangeList |
getIncompleteCbs(org.apache.hadoop.hive.common.io.DiskRangeList ranges,
long baseOffset,
org.apache.hadoop.hive.common.io.DataCache.BooleanRef gotAllData) |
long |
getMemoryUsage() |
String |
getTag() |
protected int |
invalidate() |
protected boolean |
isLocked() |
void |
notifyEvicted(EvictionDispatcher evictionDispatcher) |
toString, toStringForCachepublic OrcFileEstimateErrors(Object fileKey)
public void addError(long offset,
int length,
long baseOffset)
public org.apache.hadoop.hive.common.io.DiskRangeList getIncompleteCbs(org.apache.hadoop.hive.common.io.DiskRangeList ranges,
long baseOffset,
org.apache.hadoop.hive.common.io.DataCache.BooleanRef gotAllData)
public Object getFileKey()
public long estimateMemoryUsage()
protected int invalidate()
invalidate in class LlapCacheableBufferpublic long getMemoryUsage()
getMemoryUsage in class LlapCacheableBufferpublic void notifyEvicted(EvictionDispatcher evictionDispatcher)
notifyEvicted in class LlapCacheableBufferprotected boolean isLocked()
isLocked in class LlapCacheableBufferpublic String getTag()
getTag in class LlapCacheableBufferCopyright © 2019 The Apache Software Foundation. All Rights Reserved.