public class HttpXMLBatchReader extends HttpBatchReader
| Constructor and Description |
|---|
HttpXMLBatchReader(HttpSubScan subScan) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release resources.
|
boolean |
next()
Read the next batch.
|
boolean |
open(SchemaNegotiator negotiator)
Setup the record reader.
|
addFilters, buildUrl, proxySettingspublic HttpXMLBatchReader(HttpSubScan subScan)
public boolean open(SchemaNegotiator negotiator)
ManagedReaderopen in interface ManagedReader<SchemaNegotiator>open in class HttpBatchReadernegotiator - mechanism to negotiate select and table
schemas, then create the row set reader used to load data into
value vectorspublic boolean next()
ManagedReaderThis somewhat complex protocol avoids the need to allocate a final batch just to find out that no more data is available; it allows EOF to be returned along with the final batch.
next in interface ManagedReader<SchemaNegotiator>next in class HttpBatchReaderpublic void close()
ManagedReaderclose in interface ManagedReader<SchemaNegotiator>close in class HttpBatchReaderCopyright © 2021 The Apache Software Foundation. All rights reserved.