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(RowDiffListener diffListener,
Row merged,
Columns columns,
Row... inputs)
Given the result (
merged ) of merging multiple inputs , signals the difference between
each input and merged to diffListener . |
static long |
merge(Row existing,
Row update,
Columns mergedColumns,
Row.Builder builder,
int nowInSec) |
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(RowDiffListener diffListener, Row merged, Columns columns, Row... inputs)
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 long merge(Row existing, Row update, Columns mergedColumns, Row.Builder builder, int nowInSec)
Copyright © 2015 The Apache Software Foundation