Class CursorFrameRowPointer
- java.lang.Object
-
- org.apache.druid.frame.segment.row.CursorFrameRowPointer
-
- All Implemented Interfaces:
ReadableFrameRowPointer
public class CursorFrameRowPointer extends Object implements ReadableFrameRowPointer
Row pointer based on aReadableOffsetcontaining a row number.
-
-
Constructor Summary
Constructors Constructor Description CursorFrameRowPointer(Frame frame, ReadableOffset offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longlength()Length of the row (in bytes)longposition()Position of the start of the row relative to the start of the Frame
-
-
-
Constructor Detail
-
CursorFrameRowPointer
public CursorFrameRowPointer(Frame frame, ReadableOffset offset)
-
-
Method Detail
-
position
public long position()
Description copied from interface:ReadableFrameRowPointerPosition of the start of the row relative to the start of the Frame- Specified by:
positionin interfaceReadableFrameRowPointer
-
length
public long length()
Description copied from interface:ReadableFrameRowPointerLength of the row (in bytes)- Specified by:
lengthin interfaceReadableFrameRowPointer
-
-