public final class OrcTail extends Object
Constructor and Description |
---|
OrcTail(OrcProto.FileTail fileTail,
BufferChunk serializedTail,
long fileModificationTime) |
OrcTail(OrcProto.FileTail fileTail,
BufferChunk serializedTail,
long fileModificationTime,
Reader reader) |
OrcTail(OrcProto.FileTail fileTail,
ByteBuffer serializedTail) |
OrcTail(OrcProto.FileTail fileTail,
ByteBuffer serializedTail,
long fileModificationTime) |
Modifier and Type | Method and Description |
---|---|
int |
getCompressionBufferSize() |
CompressionKind |
getCompressionKind() |
long |
getFileLength()
Get the position of the end of the file.
|
long |
getFileModificationTime() |
OrcProto.FileTail |
getFileTail() |
OrcProto.Footer |
getFooter() |
long |
getMetadataOffset()
Get the file offset of the metadata section of footer.
|
int |
getMetadataSize() |
OrcProto.FileTail |
getMinimalFileTail() |
OrcProto.PostScript |
getPostScript() |
TypeDescription |
getSchema() |
ByteBuffer |
getSerializedTail() |
List<StripeInformation> |
getStripes() |
List<StripeStatistics> |
getStripeStatistics()
Deprecated.
the user should use Reader.getStripeStatistics instead.
|
long |
getStripeStatisticsOffset()
Get the file offset of the stripe statistics.
|
BufferChunk |
getTailBuffer()
Gets the buffer chunks that correspond to the stripe statistics,
file tail, and post script.
|
List<OrcProto.Type> |
getTypes() |
OrcFile.WriterVersion |
getWriterVersion() |
public OrcTail(OrcProto.FileTail fileTail, ByteBuffer serializedTail) throws IOException
IOException
public OrcTail(OrcProto.FileTail fileTail, ByteBuffer serializedTail, long fileModificationTime) throws IOException
IOException
public OrcTail(OrcProto.FileTail fileTail, BufferChunk serializedTail, long fileModificationTime) throws IOException
IOException
public OrcTail(OrcProto.FileTail fileTail, BufferChunk serializedTail, long fileModificationTime, Reader reader) throws IOException
IOException
public ByteBuffer getSerializedTail()
public BufferChunk getTailBuffer()
public long getFileModificationTime()
public OrcProto.Footer getFooter()
public OrcProto.PostScript getPostScript()
public OrcFile.WriterVersion getWriterVersion()
public List<StripeInformation> getStripes()
public CompressionKind getCompressionKind()
public int getCompressionBufferSize()
public int getMetadataSize()
public List<OrcProto.Type> getTypes()
public TypeDescription getSchema()
public OrcProto.FileTail getFileTail()
public long getMetadataOffset()
public long getStripeStatisticsOffset()
public long getFileLength()
public OrcProto.FileTail getMinimalFileTail()
public List<StripeStatistics> getStripeStatistics() throws IOException
IOException
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.