public abstract class TupleStream extends Object implements Closeable, Serializable, MapWriter
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TupleStream.IgnoreException |
MapWriter.EntryWriter| 构造器和说明 |
|---|
TupleStream() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract List<TupleStream> |
children() |
abstract void |
close() |
int |
getCost() |
static List<String> |
getShards(String zkHost,
String collection,
StreamContext streamContext) |
static List<String> |
getShards(String zkHost,
String collection,
StreamContext streamContext,
SolrParams requestParams) |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic abstract void setStreamContext(StreamContext context)
public abstract List<TupleStream> children()
public abstract void open()
throws IOException
IOExceptionpublic abstract void close()
throws IOException
close 在接口中 Closeableclose 在接口中 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 在接口中 MapWriterIOExceptionpublic UUID getStreamNodeId()
public static List<String> getShards(String zkHost, String collection, StreamContext streamContext) throws IOException
IOExceptionpublic static List<String> getShards(String zkHost, String collection, StreamContext streamContext, SolrParams requestParams) throws IOException
IOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.