public class TopicStream extends CloudSolrStream implements Expressible
CloudSolrStream.StreamOpener, CloudSolrStream.TupleWrapperTupleStream.IgnoreExceptionMapWriter.EntryWriter| 限定符和类型 | 字段和说明 |
|---|---|
protected long |
checkpointEvery |
cloudSolrClient, collection, comp, eofTuples, fieldMappings, params, solrStreams, streamContext, tuples, zkHost| 构造器和说明 |
|---|
TopicStream(StreamExpression expression,
StreamFactory factory) |
TopicStream(String zkHost,
String checkpointCollection,
String collection,
String id,
long initialCheckpoint,
long checkpointEvery,
SolrParams params) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<TupleStream> |
children() |
void |
close()
Closes the CloudSolrStream
|
protected void |
constructStreams() |
int |
getCost() |
void |
open()
Opens the CloudSolrStream
|
Tuple |
read() |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpression |
toExpression(StreamFactory factory) |
_read, adjustParams, getEofTuples, getSlices, getStreamSort, setFieldMappings, setStreamContext, setTracegetShards, getShards, getStreamNodeId, writeMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic TopicStream(String zkHost, String checkpointCollection, String collection, String id, long initialCheckpoint, long checkpointEvery, SolrParams params)
public TopicStream(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic StreamExpression toExpression(StreamFactory factory) throws IOException
toExpression 在接口中 ExpressibletoExpression 在类中 CloudSolrStreamIOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation 在接口中 ExpressibletoExplanation 在类中 CloudSolrStreamfactory - Stream factory for this, contains information about the function nameIOException - throw on any errorpublic List<TupleStream> children()
children 在类中 CloudSolrStreampublic void open()
throws IOException
CloudSolrStreamopen 在类中 CloudSolrStreamIOExceptionpublic void close()
throws IOException
CloudSolrStreamclose 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 CloudSolrStreamIOExceptionpublic Tuple read() throws IOException
read 在类中 CloudSolrStreamIOExceptionpublic int getCost()
getCost 在类中 TupleStreamprotected void constructStreams()
throws IOException
constructStreams 在类中 CloudSolrStreamIOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.