public abstract class AbstractFileSystemIterator<T> extends Object implements CloseableIterator<T>
CloseableIterator.Empty<E>, CloseableIterator.Wrapper<E>
Constructor and Description |
---|
AbstractFileSystemIterator(Path subDirectory,
byte[] startKey,
byte[] endKey,
boolean endKeyInclusive,
java.util.function.Function<String,org.locationtech.geowave.datastore.filesystem.util.FileSystemKey> fileNameToKey) |
AbstractFileSystemIterator(Path subDirectory,
byte[] startKey,
byte[] endKey,
java.util.function.Function<String,org.locationtech.geowave.datastore.filesystem.util.FileSystemKey> fileNameToKey) |
AbstractFileSystemIterator(Path subDirectory,
Collection<ByteArrayRange> ranges,
java.util.function.Function<String,org.locationtech.geowave.datastore.filesystem.util.FileSystemKey> fileNameToKey) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
protected abstract T |
readRow(org.locationtech.geowave.datastore.filesystem.util.FileSystemKey key,
byte[] value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public AbstractFileSystemIterator(Path subDirectory, byte[] startKey, byte[] endKey, java.util.function.Function<String,org.locationtech.geowave.datastore.filesystem.util.FileSystemKey> fileNameToKey)
public AbstractFileSystemIterator(Path subDirectory, byte[] startKey, byte[] endKey, boolean endKeyInclusive, java.util.function.Function<String,org.locationtech.geowave.datastore.filesystem.util.FileSystemKey> fileNameToKey)
public AbstractFileSystemIterator(Path subDirectory, Collection<ByteArrayRange> ranges, java.util.function.Function<String,org.locationtech.geowave.datastore.filesystem.util.FileSystemKey> fileNameToKey)
protected abstract T readRow(org.locationtech.geowave.datastore.filesystem.util.FileSystemKey key, byte[] value)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface CloseableIterator<T>
Copyright © 2013–2022. All rights reserved.