@InternalExtensionOnly public abstract class Row extends Object implements Serializable
The cells contained within, will be sorted by the native order. Please see RowCell.compareByNative()
for details.
Constructor and Description |
---|
Row() |
Modifier and Type | Method and Description |
---|---|
static Comparator<Row> |
compareByKey()
Returns a comparator that compares two Row objects by comparing the result of
getKey() } for each. |
static Row |
create(ByteString key,
List<RowCell> cells)
Creates a new instance of the
Row . |
abstract List<RowCell> |
getCells()
Returns a sorted list of cells.
|
List<RowCell> |
getCells(String family)
Returns a sublist of the cells that belong to the specified family.
|
List<RowCell> |
getCells(String family,
ByteString qualifier)
Returns a sublist of the cells that belong to the specified family and qualifier.
|
List<RowCell> |
getCells(String family,
String qualifier)
Returns a sublist of the cells that belong to the specified family and qualifier.
|
abstract ByteString |
getKey()
Returns the row key
|
public static Comparator<Row> compareByKey()
getKey()
} for each.@InternalApi public static Row create(ByteString key, List<RowCell> cells)
Row
.@Nonnull public abstract ByteString getKey()
public abstract List<RowCell> getCells()
For details about the ordering.
public List<RowCell> getCells(@Nonnull String family)
For details about the ordering.
public List<RowCell> getCells(@Nonnull String family, @Nonnull String qualifier)
For details about the ordering.
public List<RowCell> getCells(@Nonnull String family, @Nonnull ByteString qualifier)
For details about the ordering.
Copyright © 2019 Google LLC. All rights reserved.