Package com.influxdb.internal
Class AbstractQueryApi.FluxRecordIterator
java.lang.Object
com.influxdb.internal.AbstractQueryApi.FluxRecordIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Consumer<okhttp3.ResponseBody>
,Iterator<FluxRecord>
- Enclosing class:
AbstractQueryApi
protected final class AbstractQueryApi.FluxRecordIterator
extends Object
implements Iterator<FluxRecord>, Closeable, Consumer<okhttp3.ResponseBody>
-
Constructor Summary
ConstructorDescriptionFluxRecordIterator
(retrofit2.Call<okhttp3.ResponseBody> call, Consumer<? super Throwable> onError) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
FluxRecordIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<FluxRecord>
-
next
- Specified by:
next
in interfaceIterator<FluxRecord>
-
accept
public void accept(okhttp3.ResponseBody body) -
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-