Send feedback
  
   
 
  
    
      Class Row (2.67.1)
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_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.
Static Methods
   
  compareByKey() 
  
    
public   static   Comparator<Row>   compareByKey ()  
  Returns a comparator that compares two Row objects by comparing the result of #getKey() } for each.
create(ByteString key, List<RowCell> cells) 
  
    
public   static   Row   create ( ByteString   key ,   List<RowCell>   cells )  
  
Creates a new instance of the Row .
 
  
  
    
      
        Returns  
      
        Type Description  
      
        Row  
     
  
  Constructors
   
  Row() 
  
  Methods
   
  getCells() 
  
    
public   abstract   List<RowCell>   getCells ()  
  
  
  getCells(String family) 
  
    
public   List<RowCell>   getCells ( String   family )  
  
  
    
      
        Parameter  
      
        Name Description  
      
        familyString  
     
  
  
  getCells(String family, ByteString qualifier) 
  
    
public   List<RowCell>   getCells ( String   family ,   ByteString   qualifier )  
  
  
  
  getCells(String family, String qualifier) 
  
    
public   List<RowCell>   getCells ( String   family ,   String   qualifier )  
  
  
  
  getKey() 
  
    
public   abstract   ByteString   getKey ()  
  
  
 
     
    
  
  
  
     
  
    
    
      
    
     
  
       
         
  
  
    
    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 2025-10-29 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 2025-10-29 UTC."],[],[]]