Package io.trino.execution.buffer
Class SerializedPage
- java.lang.Object
-
- io.trino.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 bytegetPageCodecMarkers()intgetPositionCount()longgetRetainedSizeInBytes()intgetSizeInBytes()io.airlift.slice.SlicegetSlice()intgetUncompressedSizeInBytes()booleanisCompressed()booleanisEncrypted()StringtoString()
-
-
-
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()
-
-