public interface RowKeyIndex
getRowData().| Modifier and Type | Method and Description | 
|---|---|
| boolean | areRowsAvailable(int rowsToCheck)Check if a range of rows is available starting from the current position | 
| boolean | areRowsAvailable(int startIndex,
                int rowsToCheck)Check if a range of rows is available from a starting index without 
 requiring the client to iterate over the rows | 
| boolean | areRowsAvailable(Object startRowKey,
                int rowsToCheck)Check if a range of rows is available from a starting row key without 
 requiring the client to iterate over the rows | 
| int | getRowCount()Gets the number of values in this collection | 
| Object | getRowData()Gets the current value identified by the current index or rowKey. | 
| Object | getRowData(int rowIndex)Gets the row value at the given index. | 
| Object | getRowData(Object rowKey)Get row data by row key. | 
| int | getRowIndex()Gets the index of the current value. | 
| Object | getRowKey()Gets the rowKey of the current value. | 
| boolean | isRowAvailable()Checks to make sure a value exists for the current index or rowKey. | 
| boolean | isRowAvailable(int rowIndex)Checks to make sure a value exists for the given index. | 
| boolean | isRowAvailable(Object rowKey)Check for an available row by row key. | 
| void | setRowIndex(int rowIndex)Sets up a value at a particular index to be the current value. | 
| void | setRowKey(Object rowKey)Sets up a value at a particular rowKey to be the current value. | 
int getRowCount()
int getRowIndex()
void setRowIndex(int rowIndex)
rowIndex - the zero-based index of the value to make current.
 Use -1 to clear the current valueObject getRowKey()
void setRowKey(Object rowKey)
rowKey - the rowKey of the value to make current.
 Use null to clear the current valueboolean isRowAvailable()
getRowCount()).getRowKey(), 
getRowIndex()Object getRowData()
getRowKey(), 
getRowIndex()boolean isRowAvailable(int rowIndex)
rowIndex - the index of the row to check.Object getRowData(int rowIndex)
rowIndex - the index of the row to get data from.boolean isRowAvailable(Object rowKey)
rowKey - the row key for the row to check.Object getRowData(Object rowKey)
rowKey - the row key for the row to get data.boolean areRowsAvailable(int rowsToCheck)
rowsToCheck - number of rows to checkboolean areRowsAvailable(int startIndex,
                       int rowsToCheck)
startIndex - the starting index for the rangerowsToCheck - number of rows to checkboolean areRowsAvailable(Object startRowKey, int rowsToCheck)
startRowKey - the starting row key for the rangerowsToCheck - number of rows to checkCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.