public interface BulkIterator<V>
extends java.lang.AutoCloseable
Modifier and Type | Interface and Description |
---|---|
static class |
BulkIterator.Adapter<V> |
static class |
BulkIterator.FromArray<V> |
Modifier and Type | Method and Description |
---|---|
default void |
close() |
void |
fetch(java.lang.Object[] into,
int offset,
int count) |
V |
next() |
static <V> BulkIterator.Adapter<V> |
of(java.util.Iterator<V> from) |
static <V> BulkIterator.FromArray<V> |
of(java.lang.Object[] from) |
static <V> BulkIterator.FromArray<V> |
of(java.lang.Object[] from,
int offset) |
void fetch(java.lang.Object[] into, int offset, int count)
V next()
default void close()
close
in interface java.lang.AutoCloseable
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)
Copyright © 2009- The Apache Software Foundation