public interface

Rows

implements Iterable<T>
com.netflix.astyanax.model.Rows<K, C>
Known Indirect Subclasses

Class Overview

Interface to a collection or Rows with key type K and column type C. The rows can be either super or standard, but not both.

Summary

Public Methods
abstract Row<K, C> getRow(K key)
Return the row for a specific key.
abstract Row<K, C> getRowByIndex(int i)
Return a row by it's index in the response.
abstract boolean isEmpty()
Determine if the row list has data
abstract int size()
Get the number of rows in the list
[Expand]
Inherited Methods
From interface java.lang.Iterable

Public Methods

public abstract Row<K, C> getRow (K key)

Return the row for a specific key. Will return an exception if the result set is a list and not a lookup.

public abstract Row<K, C> getRowByIndex (int i)

Return a row by it's index in the response.

public abstract boolean isEmpty ()

Determine if the row list has data

public abstract int size ()

Get the number of rows in the list

Returns
  • integer representing the number of rows in the list