public static interface BatchCollector.BatchProducer
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
TupleBuffer |
getBuffer(int maxRows)
return the final tuple buffer or null if not available
|
List |
getOutputElements()
Get list of resolved elements describing output columns for this plan.
|
boolean |
hasBuffer() |
TupleBatch |
nextBatch()
Get a batch of results or possibly an Exception.
|
TupleBatch nextBatch() throws BlockedException, TeiidComponentException, TeiidProcessingException
BlockedException - indicating next batch is not available yetTeiidComponentException - for non-business rule exceptionTeiidProcessingException - for business rule exception, related
to user input or modelingList getOutputElements()
TupleBuffer getBuffer(int maxRows) throws BlockedException, TeiidComponentException, TeiidProcessingException
maxRows - TeiidProcessingExceptionTeiidComponentExceptionBlockedExceptionboolean hasBuffer()
void close()
throws TeiidComponentException
TeiidComponentExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.