Package org.apache.cassandra.utils
Interface BulkIterator<V>
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
BulkIterator.Adapter
,BulkIterator.FromArray
public interface BulkIterator<V> extends java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BulkIterator.Adapter<V>
static class
BulkIterator.FromArray<V>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
void
fetch(java.lang.Object[] into, int offset, int count)
V
next()
static <V> BulkIterator.FromArray<V>
of(java.lang.Object[] from)
static <V> BulkIterator.FromArray<V>
of(java.lang.Object[] from, int offset)
static <V> BulkIterator.Adapter<V>
of(java.util.Iterator<V> from)
-
-
-
Method Detail
-
fetch
void fetch(java.lang.Object[] into, int offset, int count)
-
next
V next()
-
close
default void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
of
static <V> BulkIterator.FromArray<V> of(java.lang.Object[] from)
-
of
static <V> BulkIterator.FromArray<V> of(java.lang.Object[] from, int offset)
-
of
static <V> BulkIterator.Adapter<V> of(java.util.Iterator<V> from)
-
-