public final class RowPointer extends TimeAndDimsPointer
TimeAndDimsPointer, that keeps "row number" of the current data point in some collection of data
points, that actually makes this data point to be called "row", and the collection, thus, "collection of rows".
However, "row number" doesn't affect the TimeAndDimsPointer.compareTo(org.apache.druid.segment.TimeAndDimsPointer) contract. RowPointers could be compared
to TimeAndDimsPointers interchangeably.| Constructor and Description |
|---|
RowPointer(ColumnValueSelector timestampSelector,
ColumnValueSelector[] dimensionSelectors,
List<DimensionHandler> dimensionHandlers,
ColumnValueSelector[] metricSelectors,
List<String> metricNames,
IntSupplier rowNumPointer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRowNum() |
String |
toString() |
compareTo, equals, getNumMetrics, getTimestamp, hashCodepublic RowPointer(ColumnValueSelector timestampSelector, ColumnValueSelector[] dimensionSelectors, List<DimensionHandler> dimensionHandlers, ColumnValueSelector[] metricSelectors, List<String> metricNames, IntSupplier rowNumPointer)
public int getRowNum()
public String toString()
toString in class TimeAndDimsPointerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.