@ThriftStruct public class ThriftSerializedPage extends Object
| Constructor and Description |
|---|
ThriftSerializedPage(byte[] data,
byte pageCodecMarkers,
int positionCount,
int uncompressedSizeInBytes,
long checksum)
Thrift deserialization only, there should be no explicit call on this method.
|
ThriftSerializedPage(SerializedPage serializedPage) |
| Modifier and Type | Method and Description |
|---|---|
long |
getChecksum() |
byte[] |
getData() |
byte |
getPageCodecMarkers() |
int |
getPositionCount() |
int |
getUncompressedSizeInBytes() |
SerializedPage |
toSerializedPage() |
public ThriftSerializedPage(SerializedPage serializedPage)
@ThriftConstructor
public ThriftSerializedPage(byte[] data,
byte pageCodecMarkers,
int positionCount,
int uncompressedSizeInBytes,
long checksum)
@ThriftField(value=1) public byte[] getData()
@ThriftField(value=2) public byte getPageCodecMarkers()
@ThriftField(value=3) public int getPositionCount()
@ThriftField(value=4) public int getUncompressedSizeInBytes()
@ThriftField(value=5) public long getChecksum()
public SerializedPage toSerializedPage()
Copyright © 2012–2023. All rights reserved.