Package com.mapr.kafka.eventstreams.impl
Class MarlinDocumentStream
- java.lang.Object
-
- com.mapr.kafka.eventstreams.impl.MarlinDocumentStream
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<org.ojai.Document>,org.ojai.DocumentStream,org.ojai.store.QueryResult
public class MarlinDocumentStream extends java.lang.Object implements org.ojai.store.QueryResult
-
-
Constructor Summary
Constructors Constructor Description MarlinDocumentStream(java.util.List<org.ojai.DocumentStream> dbDocumentStreams, java.util.List<org.ojai.FieldPath> ps, int parallelScans, long maxMemory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.lang.Iterable<org.ojai.DocumentReader>documentReaders()org.ojai.DocumentgetQueryPlan()java.util.Iterator<org.ojai.Document>iterator()voidstreamTo(org.ojai.DocumentListener l)
-
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceorg.ojai.DocumentStream
-
streamTo
public void streamTo(org.ojai.DocumentListener l)
- Specified by:
streamToin interfaceorg.ojai.DocumentStream
-
iterator
public java.util.Iterator<org.ojai.Document> iterator()
- Specified by:
iteratorin interfaceorg.ojai.DocumentStream- Specified by:
iteratorin interfacejava.lang.Iterable<org.ojai.Document>
-
documentReaders
public java.lang.Iterable<org.ojai.DocumentReader> documentReaders()
- Specified by:
documentReadersin interfaceorg.ojai.DocumentStream
-
getQueryPlan
public org.ojai.Document getQueryPlan()
- Specified by:
getQueryPlanin interfaceorg.ojai.store.QueryResult
-
-