public final class OrcFileMetadata extends LlapCacheableBuffer implements FileMetadata
IN_LIST, indexInHeap, lastUpdate, next, NOT_IN_CACHE, prev, priority
Constructor and Description |
---|
OrcFileMetadata(Object fileKey,
Reader reader) |
Modifier and Type | Method and Description |
---|---|
static OrcFileMetadata |
createDummy(Object fileKey) |
int |
getColumnCount() |
int |
getCompressionBufferSize() |
CompressionKind |
getCompressionKind() |
long |
getContentLength() |
Object |
getFileKey() |
List<OrcProto.ColumnStatistics> |
getFileStats() |
int |
getFlattenedColumnCount() |
long |
getMemoryUsage() |
int |
getMetadataSize() |
long |
getNumberOfRows() |
int |
getRowIndexStride() |
List<StripeInformation> |
getStripes() |
List<OrcProto.StripeStatistics> |
getStripeStats() |
List<OrcProto.Type> |
getTypes() |
List<Integer> |
getVersionList() |
int |
getWriterVersionNum() |
protected boolean |
invalidate() |
protected boolean |
isLocked() |
boolean |
isOriginalFormat() |
void |
notifyEvicted(EvictionDispatcher evictionDispatcher) |
toString, toStringForCache
public static OrcFileMetadata createDummy(Object fileKey)
public void notifyEvicted(EvictionDispatcher evictionDispatcher)
notifyEvicted
in class LlapCacheableBuffer
protected boolean invalidate()
invalidate
in class LlapCacheableBuffer
public long getMemoryUsage()
getMemoryUsage
in class LlapCacheableBuffer
protected boolean isLocked()
isLocked
in class LlapCacheableBuffer
public List<OrcProto.Type> getTypes()
getTypes
in interface FileMetadata
public boolean isOriginalFormat()
isOriginalFormat
in interface FileMetadata
public List<StripeInformation> getStripes()
getStripes
in interface FileMetadata
public CompressionKind getCompressionKind()
getCompressionKind
in interface FileMetadata
public int getCompressionBufferSize()
getCompressionBufferSize
in interface FileMetadata
public int getRowIndexStride()
getRowIndexStride
in interface FileMetadata
public int getColumnCount()
getColumnCount
in interface FileMetadata
public int getFlattenedColumnCount()
getFlattenedColumnCount
in interface FileMetadata
public Object getFileKey()
getFileKey
in interface FileMetadata
public List<Integer> getVersionList()
getVersionList
in interface FileMetadata
public int getMetadataSize()
getMetadataSize
in interface FileMetadata
public int getWriterVersionNum()
getWriterVersionNum
in interface FileMetadata
public List<OrcProto.StripeStatistics> getStripeStats()
getStripeStats
in interface FileMetadata
public long getContentLength()
getContentLength
in interface FileMetadata
public long getNumberOfRows()
getNumberOfRows
in interface FileMetadata
public List<OrcProto.ColumnStatistics> getFileStats()
getFileStats
in interface FileMetadata
Copyright © 2016 The Apache Software Foundation. All rights reserved.