public abstract class BaseMockBatchReader extends Object implements ManagedReader
ManagedReader.EarlyEofException| Modifier and Type | Field and Description |
|---|---|
int |
batchCount |
int |
batchLimit |
boolean |
closeCalled |
int |
startIndex |
protected ResultSetLoader |
tableLoader |
| Constructor and Description |
|---|
BaseMockBatchReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release resources.
|
protected void |
makeBatch() |
protected void |
writeRow(RowSetLoader writer,
int col1,
String col2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextpublic boolean closeCalled
public int startIndex
public int batchCount
public int batchLimit
protected ResultSetLoader tableLoader
protected void makeBatch()
protected void writeRow(RowSetLoader writer, int col1, String col2)
public void close()
ManagedReaderclose in interface ManagedReaderCopyright © 2021 The Apache Software Foundation. All rights reserved.