public class OrcFileEstimateErrors extends LlapCacheableBuffer
IN_LIST, indexInHeap, 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.DiskRangeListFactory factory,
org.apache.hadoop.hive.common.io.DataCache.BooleanRef gotAllData) |
long |
getMemoryUsage() |
protected boolean |
invalidate() |
protected boolean |
isLocked() |
void |
notifyEvicted(EvictionDispatcher evictionDispatcher) |
toString, toStringForCache
public 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.DiskRangeListFactory factory, org.apache.hadoop.hive.common.io.DataCache.BooleanRef gotAllData)
public Object getFileKey()
public long estimateMemoryUsage()
protected boolean invalidate()
invalidate
in class LlapCacheableBuffer
public long getMemoryUsage()
getMemoryUsage
in class LlapCacheableBuffer
public void notifyEvicted(EvictionDispatcher evictionDispatcher)
notifyEvicted
in class LlapCacheableBuffer
protected boolean isLocked()
isLocked
in class LlapCacheableBuffer
Copyright © 2021 The Apache Software Foundation. All rights reserved.