@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(com.google.protobuf.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,
com.google.protobuf.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 com.google.protobuf.ByteString |
getKey()
Returns the row key
|
public static Comparator<Row> compareByKey()
getKey()} for each.@InternalApi public static Row create(com.google.protobuf.ByteString key, List<RowCell> cells)
Row.@Nonnull public abstract com.google.protobuf.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.Copyright © 2022 Google LLC. All rights reserved.