public static class LevelDBFileRegionAliasMap.LevelDBReader extends BlockAliasMap.Reader<FileRegion>
Modifier and Type | Class and Description |
---|---|
static interface |
LevelDBFileRegionAliasMap.LevelDBReader.Options
Options for
LevelDBFileRegionAliasMap.LevelDBReader . |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Iterator<FileRegion> |
iterator() |
Optional<FileRegion> |
resolve(org.apache.hadoop.hdfs.protocol.Block block) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Optional<FileRegion> resolve(org.apache.hadoop.hdfs.protocol.Block block) throws IOException
resolve
in class BlockAliasMap.Reader<FileRegion>
block
- block to resolveIOException
public Iterator<FileRegion> iterator()
public void close() throws IOException
IOException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.