Package io.prestosql.execution.buffer
Class SerializedPage
- java.lang.Object
-
- io.prestosql.execution.buffer.SerializedPage
-
public class SerializedPage extends Object
-
-
Constructor Summary
Constructors Constructor Description SerializedPage(io.airlift.slice.Slice slice, PageCodecMarker.MarkerSet markers, int positionCount, int uncompressedSizeInBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getPageCodecMarkers()
int
getPositionCount()
long
getRetainedSizeInBytes()
int
getSizeInBytes()
io.airlift.slice.Slice
getSlice()
int
getUncompressedSizeInBytes()
boolean
isCompressed()
boolean
isEncrypted()
String
toString()
-
-
-
Constructor Detail
-
SerializedPage
public SerializedPage(io.airlift.slice.Slice slice, PageCodecMarker.MarkerSet markers, int positionCount, int uncompressedSizeInBytes)
-
-
Method Detail
-
getSizeInBytes
public int getSizeInBytes()
-
getUncompressedSizeInBytes
public int getUncompressedSizeInBytes()
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
-
getPositionCount
public int getPositionCount()
-
getSlice
public io.airlift.slice.Slice getSlice()
-
getPageCodecMarkers
public byte getPageCodecMarkers()
-
isCompressed
public boolean isCompressed()
-
isEncrypted
public boolean isEncrypted()
-
-