@Override public AbstractRowContainer.RowIterator<List<Object>> rowIter() throws HiveException { if (array.length == rowLength) { // optimize for common case - just one row for a key, container acts as iterator return this; } return rowLength > 0 ? new RowIterator() : new EmptyRowIterator(-rowLength); }
@Override public List<Object> first() throws HiveException { return next(); }
@Override public List<Object> first() throws HiveException { return next(); }
@Override public AbstractRowContainer.RowIterator<List<Object>> rowIter() throws HiveException { if (array.length == rowLength) { // optimize for common case - just one row for a key, container acts as iterator return this; } return rowLength > 0 ? new RowIterator() : new EmptyRowIterator(-rowLength); }
@Override public List<Object> first() throws HiveException { return next(); }
@Override public AbstractRowContainer.RowIterator<List<Object>> rowIter() throws HiveException { if (array.length == rowLength) { // optimize for common case - just one row for a key, container acts as iterator return this; } return rowLength > 0 ? new RowIterator() : new EmptyRowIterator(-rowLength); }