public class OrcStripeMetadata extends LlapCacheableBuffer
IN_LIST, indexInHeap, lastUpdate, next, NOT_IN_CACHE, prev, priority
Constructor and Description |
---|
OrcStripeMetadata(OrcBatchKey stripeKey,
DataReader mr,
StripeInformation stripe,
boolean[] includes,
boolean[] sargColumns) |
Modifier and Type | Method and Description |
---|---|
static OrcStripeMetadata |
createDummy(Object id) |
OrcProto.BloomFilterIndex[] |
getBloomFilterIndexes() |
List<OrcProto.ColumnEncoding> |
getEncodings() |
OrcBatchKey |
getKey() |
long |
getMemoryUsage() |
long |
getRowCount() |
OrcProto.RowIndex[] |
getRowIndexes() |
List<OrcProto.Stream> |
getStreams() |
int |
getStripeIx() |
String |
getWriterTimezone() |
boolean |
hasAllIndexes(boolean[] includes) |
protected boolean |
invalidate() |
protected boolean |
isLocked() |
void |
loadMissingIndexes(DataReader mr,
StripeInformation stripe,
boolean[] includes,
boolean[] sargColumns) |
void |
notifyEvicted(EvictionDispatcher evictionDispatcher) |
void |
resetRowIndex() |
toString, toStringForCache
public OrcStripeMetadata(OrcBatchKey stripeKey, DataReader mr, StripeInformation stripe, boolean[] includes, boolean[] sargColumns) throws IOException
IOException
public static OrcStripeMetadata createDummy(Object id)
public boolean hasAllIndexes(boolean[] includes)
public void loadMissingIndexes(DataReader mr, StripeInformation stripe, boolean[] includes, boolean[] sargColumns) throws IOException
IOException
public int getStripeIx()
public OrcProto.RowIndex[] getRowIndexes()
public OrcProto.BloomFilterIndex[] getBloomFilterIndexes()
public List<OrcProto.ColumnEncoding> getEncodings()
public List<OrcProto.Stream> getStreams()
public String getWriterTimezone()
public long getMemoryUsage()
getMemoryUsage
in class LlapCacheableBuffer
public void notifyEvicted(EvictionDispatcher evictionDispatcher)
notifyEvicted
in class LlapCacheableBuffer
protected boolean invalidate()
invalidate
in class LlapCacheableBuffer
protected boolean isLocked()
isLocked
in class LlapCacheableBuffer
public OrcBatchKey getKey()
public long getRowCount()
public void resetRowIndex()
Copyright © 2016 The Apache Software Foundation. All rights reserved.