public abstract class TupleStream extends Object implements Closeable, Serializable, MapWriter
MapWriter.EntryWriter| Constructor and Description |
|---|
TupleStream() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<TupleStream> |
children() |
abstract void |
close() |
int |
getCost() |
static List<String> |
getShards(String zkHost,
String collection,
StreamContext streamContext) |
static Collection<Slice> |
getSlices(String collectionName,
ZkStateReader zkStateReader,
boolean checkAlias) |
UUID |
getStreamNodeId() |
abstract StreamComparator |
getStreamSort() |
abstract void |
open() |
abstract Tuple |
read() |
abstract void |
setStreamContext(StreamContext context) |
abstract Explanation |
toExplanation(StreamFactory factory) |
void |
writeMap(MapWriter.EntryWriter ew) |
public abstract void setStreamContext(StreamContext context)
public abstract List<TupleStream> children()
public abstract void open()
throws IOException
IOExceptionpublic abstract void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic abstract Tuple read() throws IOException
IOExceptionpublic abstract StreamComparator getStreamSort()
public abstract Explanation toExplanation(StreamFactory factory) throws IOException
IOExceptionpublic int getCost()
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap in interface MapWriterIOExceptionpublic UUID getStreamNodeId()
public static List<String> getShards(String zkHost, String collection, StreamContext streamContext) throws IOException
IOExceptionpublic static Collection<Slice> getSlices(String collectionName, ZkStateReader zkStateReader, boolean checkAlias) throws IOException
IOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.