Constructor and Description |
---|
ChunkReader(String chunkName,
InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this reader and it's underlying input.
|
String |
getName()
Returns the chunk name.
|
Date |
getTimestamp()
Returns the index timestamp of last update of the index.
|
int |
getVersion()
Returns index version.
|
Iterator<Map<String,String>> |
iterator()
Returns the
Record iterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ChunkReader(String chunkName, InputStream inputStream) throws IOException
IOException
public String getName()
public int getVersion()
1
.public Date getTimestamp()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.