public class ParallelStream extends CloudSolrStream implements Expressible
CloudSolrStream.StreamOpener, CloudSolrStream.TupleWrapperTupleStream.IgnoreExceptionMapWriter.EntryWritercloudSolrClient, collection, comp, eofTuples, fieldMappings, params, solrStreams, streamContext, tuples, zkHost| Constructor and Description |
|---|
ParallelStream(StreamExpression expression,
StreamFactory factory) |
ParallelStream(String zkHost,
String collection,
String expressionString,
int workers,
StreamComparator comp) |
ParallelStream(String zkHost,
String collection,
TupleStream tupleStream,
int workers,
StreamComparator comp) |
| Modifier and Type | Method and Description |
|---|---|
List<TupleStream> |
children() |
protected void |
constructStreams() |
Tuple |
read() |
void |
setStreamContext(StreamContext streamContext) |
void |
setStreamFactory(StreamFactory streamFactory) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpression |
toExpression(StreamFactory factory) |
_read, adjustParams, close, getEofTuples, getSlices, getStreamSort, open, setFieldMappings, setTracegetCost, getShards, getShards, getStreamNodeId, writeMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic ParallelStream(String zkHost, String collection, TupleStream tupleStream, int workers, StreamComparator comp) throws IOException
IOExceptionpublic ParallelStream(String zkHost, String collection, String expressionString, int workers, StreamComparator comp) throws IOException
IOExceptionpublic ParallelStream(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic void setStreamFactory(StreamFactory streamFactory)
public StreamExpression toExpression(StreamFactory factory) throws IOException
toExpression in interface ExpressibletoExpression in class CloudSolrStreamIOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation in interface ExpressibletoExplanation in class CloudSolrStreamfactory - Stream factory for this, contains information about the function nameIOException - throw on any errorpublic List<TupleStream> children()
children in class CloudSolrStreampublic Tuple read() throws IOException
read in class CloudSolrStreamIOExceptionpublic void setStreamContext(StreamContext streamContext)
setStreamContext in class CloudSolrStreamprotected void constructStreams()
throws IOException
constructStreams in class CloudSolrStreamIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.