public class ParallelStream extends CloudSolrStream implements Expressible
CloudSolrStream.StreamOpener, CloudSolrStream.TupleWrapper
cache, 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, setTrace
getCost, writeStreamClose, writeStreamOpen
public ParallelStream(String zkHost, String collection, TupleStream tupleStream, int workers, StreamComparator comp) throws IOException
IOException
public ParallelStream(String zkHost, String collection, String expressionString, int workers, StreamComparator comp) throws IOException
IOException
public ParallelStream(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public void setStreamFactory(StreamFactory streamFactory)
public StreamExpression toExpression(StreamFactory factory) throws IOException
toExpression
in interface Expressible
toExpression
in class CloudSolrStream
IOException
public List<TupleStream> children()
children
in class CloudSolrStream
public Tuple read() throws IOException
read
in class CloudSolrStream
IOException
public void setStreamContext(StreamContext streamContext)
setStreamContext
in class CloudSolrStream
protected void constructStreams() throws IOException
constructStreams
in class CloudSolrStream
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.