Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.
The following page has been changed by JimKellerman: http://wiki.apache.org/lucene-hadoop/Hbase/HbaseArchitecture The comment on the change is: move iterator factory methods to containing interface ------------------------------------------------------------------------------ /** iterate over a 'normal' column */ public interface columnIterator extends HbaseIterator { /** - * Get an iterator for the specified normal column - * - * @param columnName - name of column - * @param rowKey - starting row key (if null, start at beginning of table) - * @param timestamp - timestamp of value (if zero, return most recent version, - * if -1, return all versions) - * @return - iterator object - */ - public columnIterator getIterator(String columnName, String rowKey, long timestamp); - - /** * @return - current value */ public byte[] getValue(); } + /** + * Get an iterator for the specified normal column + * + * @param columnName - name of column + * @param rowKey - starting row key (if null, start at beginning of table) + * @param timestamp - timestamp of value (if zero, return most recent version, + * if -1, return all versions) + * @return - iterator object + */ + public columnIterator getColumnIterator(String columnName, String rowKey, long timestamp); + /** iterate over a 'counter' column */ public interface counterIterator extends HbaseIterator { - /** - * Get an iterator for the specified counter column - * - * @param columnName - name of column - * @param rowKey - starting row key (if null, start at beginning of table) - * @param timestamp - timestamp of value (if zero, return most recent version, - * if -1, return all versions) - * @return - iterator object - */ - public counterIterator getIterator(String columnName, String rowKey, long timestamp); - /** * @return - current value */ public int getValue(); } + /** + * Get an iterator for the specified counter column + * + * @param columnName - name of column + * @param rowKey - starting row key (if null, start at beginning of table) + * @param timestamp - timestamp of value (if zero, return most recent version, + * if -1, return all versions) + * @return - iterator object + */ + public counterIterator getCounterIterator(String columnName, String rowKey, long timestamp); + public interface mapIterator extends HbaseIterator { - - /** - * Get an iterator for the specified map column - * - * @param columnName - name of column - * @param rowKey - starting row key (if null, start at beginning of table) - * @param timestamp - timestamp of value (if zero, return most recent version, - * if -1, return all versions) - * @return - iterator object - */ - public mapIterator getIterator(String columnName, String rowKey, long timestamp); /** * Get an iterator for all values for a particular row key @@ -968, +957 @@ */ public Iterator<Map<String, byte[]>> getValueIterator(); } + + /** + * Get an iterator for the specified map column + * + * @param columnName - name of column + * @param rowKey - starting row key (if null, start at beginning of table) + * @param timestamp - timestamp of value (if zero, return most recent version, + * if -1, return all versions) + * @return - iterator object + */ + public mapIterator getMapIterator(String columnName, String rowKey, long timestamp); + } }}}