public abstract class Rows
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Row |
EMPTY_STATIC_ROW |
Modifier and Type | Method and Description |
---|---|
static int |
collectStats(Row row,
PartitionStatisticsCollector collector)
Collect statistics ont a given row.
|
static Row.Builder |
copy(Row row,
Row.Builder builder) |
static void |
diff(Row merged,
Columns columns,
Row[] inputs,
RowDiffListener diffListener)
Given the result (
merged ) of merging multiple inputs , signals the difference between
each input and merged to diffListener . |
static void |
merge(Row row1,
Row row2,
Columns mergedColumns,
Row.Builder builder,
int nowInSec) |
static long |
merge(Row existing,
Row update,
Columns mergedColumns,
Row.Builder builder,
int nowInSec,
SecondaryIndexManager.Updater indexUpdater) |
static Row |
merge(Row row1,
Row row2,
int nowInSec) |
public static final Row EMPTY_STATIC_ROW
public static Row.Builder copy(Row row, Row.Builder builder)
public static int collectStats(Row row, PartitionStatisticsCollector collector)
row
- the row for which to collect stats.collector
- the stats collector.row
.public static void diff(Row merged, Columns columns, Row[] inputs, RowDiffListener diffListener)
merged
) of merging multiple inputs
, signals the difference between
each input and merged
to diffListener
.merged
- the result of merging inputs
.columns
- a superset of all the columns in any of merged
/inputs
.inputs
- the inputs whose merge yielded merged
.diffListener
- the listener to which to signal the differences between the inputs and the merged
result.public static void merge(Row row1, Row row2, Columns mergedColumns, Row.Builder builder, int nowInSec)
public static long merge(Row existing, Row update, Columns mergedColumns, Row.Builder builder, int nowInSec, SecondaryIndexManager.Updater indexUpdater)
Copyright © 2015 The Apache Software Foundation