public class Tables.HeapRowIterator extends LookAheadIterator<Tables.Row> implements java.util.Iterator<Tables.Row>
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<java.util.Map.Entry<byte[],java.util.Map<java.lang.String,byte[]>>> |
i |
private java.lang.String |
whereColumn |
private java.util.regex.Pattern |
wherePattern |
private byte[] |
whereValue |
Constructor and Description |
---|
Tables.HeapRowIterator(java.lang.String table)
iterator that iterates all elements in the given table
|
Tables.HeapRowIterator(java.lang.String table,
java.util.regex.Pattern pattern)
iterator that iterates all elements in the given table
where any column matches with a given value
|
Tables.HeapRowIterator(java.lang.String table,
java.lang.String whereColumn,
byte[] whereValue)
iterator that iterates all elements in the given table
where a given column is equal to a given value
|
Tables.HeapRowIterator(java.lang.String table,
java.lang.String whereColumn,
java.util.regex.Pattern wherePattern)
iterator that iterates all elements in the given table
where a given column matches with a given value
|
Modifier and Type | Method and Description |
---|---|
protected Tables.Row |
next0()
the internal next-method
|
hasNext, iterator, next, remove
private final java.lang.String whereColumn
private final byte[] whereValue
private final java.util.regex.Pattern wherePattern
private final java.util.Iterator<java.util.Map.Entry<byte[],java.util.Map<java.lang.String,byte[]>>> i
public Tables.HeapRowIterator(java.lang.String table) throws java.io.IOException
table
- java.io.IOException
public Tables.HeapRowIterator(java.lang.String table, java.lang.String whereColumn, byte[] whereValue) throws java.io.IOException
table
- whereColumn
- whereValue
- java.io.IOException
public Tables.HeapRowIterator(java.lang.String table, java.lang.String whereColumn, java.util.regex.Pattern wherePattern) throws java.io.IOException
table
- whereColumn
- wherePattern
- java.io.IOException
public Tables.HeapRowIterator(java.lang.String table, java.util.regex.Pattern pattern) throws java.io.IOException
table
- pattern
- java.io.IOException
protected Tables.Row next0()
LookAheadIterator
next0
in class LookAheadIterator<Tables.Row>