Package org.apache.druid.frame.channel
Class FrameWithPartition
- java.lang.Object
-
- org.apache.druid.frame.channel.FrameWithPartition
-
public class FrameWithPartition extends Object
Frame plus partition number. If there is no meaningful partition number to associate with the frame, useNO_PARTITION.
-
-
Field Summary
Fields Modifier and Type Field Description static intNO_PARTITION
-
Constructor Summary
Constructors Constructor Description FrameWithPartition(Frame frame, int partition)
-
-
-
Field Detail
-
NO_PARTITION
public static final int NO_PARTITION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FrameWithPartition
public FrameWithPartition(Frame frame, int partition)
-
-
Method Detail
-
frame
public Frame frame()
-
partition
public int partition()
-
-