public class ParallelStream extends CloudSolrStream implements Expressible
CloudSolrStream.StreamOpener, CloudSolrStream.TupleWrappercache, cloudSolrClient, collection, comp, eofTuples, 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) |
StreamExpression |
toExpression(StreamFactory factory) |
_read, close, getEofTuples, getStreamSort, open, setFieldMappings, setTracegetCost, writeStreamClose, writeStreamOpenpublic 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 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-2016 Apache Software Foundation. All Rights Reserved.