public class ParallelStream extends CloudSolrStream implements ExpressibleStream
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,
Comparator<Tuple> comp) |
ParallelStream(String zkHost,
String collection,
TupleStream tupleStream,
int workers,
Comparator<Tuple> comp) |
| Modifier and Type | Method and Description |
|---|---|
List<TupleStream> |
children() |
protected void |
constructStreams() |
boolean |
getObjectSerialize() |
Tuple |
read() |
void |
setObjectSerialize(boolean objectSerialize) |
void |
setStreamContext(StreamContext streamContext) |
StreamExpression |
toExpression(StreamFactory factory) |
_read, close, getEofTuples, open, setFieldMappings, setTracegetCostpublic ParallelStream(String zkHost, String collection, TupleStream tupleStream, int workers, Comparator<Tuple> comp) throws IOException
IOExceptionpublic ParallelStream(String zkHost, String collection, String expressionString, int workers, Comparator<Tuple> comp) throws IOException
IOExceptionpublic ParallelStream(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic StreamExpression toExpression(StreamFactory factory) throws IOException
toExpression in interface ExpressibleStreamtoExpression 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 CloudSolrStreamIOExceptionpublic void setObjectSerialize(boolean objectSerialize)
public boolean getObjectSerialize()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.