Package org.apache.druid.query.scan
Class ScanResultValue
- java.lang.Object
-
- org.apache.druid.query.scan.ScanResultValue
-
- All Implemented Interfaces:
Comparable<ScanResultValue>
public class ScanResultValue extends Object implements Comparable<ScanResultValue>
-
-
Constructor Summary
Constructors Constructor Description ScanResultValue(String segmentId, List<String> columns, Object events)
ScanResultValue(String segmentId, List<String> columns, Object events, RowSignature rowSignature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ScanResultValue that)
boolean
equals(Object o)
List<String>
getColumns()
Object
getEvents()
long
getFirstEventTimestamp(ScanQuery.ResultFormat resultFormat)
RowSignature
getRowSignature()
String
getSegmentId()
int
hashCode()
List<ScanResultValue>
toSingleEventScanResultValues()
String
toString()
-
-
-
Method Detail
-
getEvents
public Object getEvents()
-
getRowSignature
@Nullable public RowSignature getRowSignature()
-
getFirstEventTimestamp
public long getFirstEventTimestamp(ScanQuery.ResultFormat resultFormat)
-
toSingleEventScanResultValues
public List<ScanResultValue> toSingleEventScanResultValues()
-
compareTo
public int compareTo(ScanResultValue that)
- Specified by:
compareTo
in interfaceComparable<ScanResultValue>
-
-