Package org.apache.solr.handler
Class StreamHandler.DaemonCollectionStream
- java.lang.Object
-
- org.apache.solr.client.solrj.io.stream.TupleStream
-
- org.apache.solr.handler.StreamHandler.DaemonCollectionStream
-
- All Implemented Interfaces:
Closeable
,Serializable
,AutoCloseable
,org.apache.solr.common.MapSerializable
,org.apache.solr.common.MapWriter
,org.apache.solr.common.NavigableObject
,org.noggit.JSONWriter.Writable
- Enclosing class:
- StreamHandler
public static class StreamHandler.DaemonCollectionStream extends TupleStream
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.io.stream.TupleStream
TupleStream.IgnoreException
-
-
Constructor Summary
Constructors Constructor Description DaemonCollectionStream(Collection<DaemonStream> col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TupleStream>
children()
void
close()
StreamComparator
getStreamSort()
void
open()
Tuple
read()
void
setStreamContext(StreamContext context)
Explanation
toExplanation(StreamFactory factory)
-
Methods inherited from class org.apache.solr.client.solrj.io.stream.TupleStream
getCost, getShards, getShards, getStreamNodeId, writeMap
-
-
-
-
Constructor Detail
-
DaemonCollectionStream
public DaemonCollectionStream(Collection<DaemonStream> col)
-
-
Method Detail
-
getStreamSort
public StreamComparator getStreamSort()
- Specified by:
getStreamSort
in classTupleStream
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classTupleStream
-
open
public void open()
- Specified by:
open
in classTupleStream
-
setStreamContext
public void setStreamContext(StreamContext context)
- Specified by:
setStreamContext
in classTupleStream
-
children
public List<TupleStream> children()
- Specified by:
children
in classTupleStream
-
toExplanation
public Explanation toExplanation(StreamFactory factory) throws IOException
- Specified by:
toExplanation
in classTupleStream
- Throws:
IOException
-
read
public Tuple read()
- Specified by:
read
in classTupleStream
-
-