@InterfaceAudience.Private public class DelegatingInternalScanner extends Object implements InternalScanner
InternalScanner
.Modifier and Type | Field and Description |
---|---|
protected InternalScanner |
scanner |
Constructor and Description |
---|
DelegatingInternalScanner(InternalScanner scanner) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the scanner and releases any resources it has allocated n
|
boolean |
next(List<Cell> result,
ScannerContext scannerContext)
Grab the next row's worth of values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
next
protected final InternalScanner scanner
public DelegatingInternalScanner(InternalScanner scanner)
public boolean next(List<Cell> result, ScannerContext scannerContext) throws IOException
InternalScanner
next
in interface InternalScanner
result
- return output array n * @return true if more rows exist after this one, false if
scanner is doneIOException
- epublic void close() throws IOException
InternalScanner
close
in interface Closeable
close
in interface AutoCloseable
close
in interface InternalScanner
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.