@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface InternalScanner extends Closeable
Additionally, we need to be able to determine if the scanner is doing wildcard column matches (when only a column family is specified or if a column regex is specified) or if multiple members of the same column family were specified. If so, we need to ignore the timestamp to ensure that we get all the family members, as they may have been last updated at different times.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the scanner and releases any resources it has allocated n
|
default boolean |
next(List<Cell> result)
Grab the next row's worth of values.
|
boolean |
next(List<Cell> result,
ScannerContext scannerContext)
Grab the next row's worth of values.
|
default boolean next(List<Cell> result) throws IOException
result
- return output arrayIOException
- eboolean next(List<Cell> result, ScannerContext scannerContext) throws IOException
result
- return output array n * @return true if more rows exist after this one, false if
scanner is doneIOException
- evoid close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.