Send feedback
Class Row (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0 keyboard_arrow_down
public abstract class Row implements Serializable
Default representation of a logical row.
The cells contained within, will be sorted by the native order. Please see RowCell#compareByNative() for details.
Constructors
Row()
Methods
compareByKey()
public static Comparator<Row> compareByKey ()
Returns a comparator that compares two Row objects by comparing the result of #getKey() } for each.
Returns
create(ByteString key, List<RowCell> cells)
public static Row create ( ByteString key , List<RowCell> cells )
Creates a new instance of the Row .
Parameters
Returns
getCells()
public abstract List<RowCell> getCells ()
Returns a sorted list of cells. The cells will be sorted natively.
Returns
getCells(String family)
public List<RowCell> getCells ( String family )
Returns a sublist of the cells that belong to the specified family.
Parameter
Returns
getCells(String family, ByteString qualifier)
public List<RowCell> getCells ( String family , ByteString qualifier )
Returns a sublist of the cells that belong to the specified family and qualifier.
Parameters
Returns
getCells(String family, String qualifier)
public List<RowCell> getCells ( String family , String qualifier )
Returns a sublist of the cells that belong to the specified family and qualifier.
Parameters
Returns
getKey()
public abstract ByteString getKey ()
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-12 UTC."],[],[]]