limit_ = limit;
}
public List<Map<String,String>> getRows()
{
Row row = null;
try
{
String key = (String)(rowKey_.get());
ReadCommand readCommand = new SliceReadCommand(cfMetaData_.tableName, key, cfMetaData_.cfName, offset_, limit_);
row = StorageProxy.readProtocol(readCommand, StorageService.ConsistencyLevel.WEAK);
}
catch (Exception e)
{
logger_.error(LogUtil.throwableToString(e));
throw new RuntimeException(RuntimeErrorMsg.GENERIC_ERROR.getMsg());
}
List<Map<String, String>> rows = new LinkedList<Map<String, String>>();
if (row != null)
{
Map<String, ColumnFamily> cfMap = row.getColumnFamilyMap();
if (cfMap != null && cfMap.size() > 0)
{
ColumnFamily cfamily = cfMap.get(cfMetaData_.cfName);
if (cfamily != null)
{