Package org.apache.druid.client
Class JsonParserIterator<T>
- java.lang.Object
-
- org.apache.druid.client.JsonParserIterator<T>
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterator<T>,org.apache.druid.java.util.common.parsers.CloseableIterator<T>
public class JsonParserIterator<T> extends Object implements org.apache.druid.java.util.common.parsers.CloseableIterator<T>
-
-
Constructor Summary
Constructors Constructor Description JsonParserIterator(com.fasterxml.jackson.databind.JavaType typeRef, Future<InputStream> future, String url, org.apache.druid.query.Query<T> query, String host, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Tnext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.java.util.common.parsers.CloseableIterator
flatMap, map
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-