Package org.apache.accumulo.core.file
Interface FileSKVIterator
-
- All Superinterfaces:
AutoCloseable,InterruptibleIterator,SortedKeyValueIterator<Key,Value>,YieldingKeyValueIterator<Key,Value>
- All Known Implementing Classes:
BloomFilterLayer.Reader,MapFileIterator,MapFileOperations.RangeIterator,RFile.Reader,SequenceFileIterator
public interface FileSKVIterator extends InterruptibleIterator, AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidcloseDeepCopies()KeygetFirstKey()KeygetLastKey()DataInputStreamgetMetaStore(String name)FileSKVIteratorgetSample(SamplerConfigurationImpl sampleConfig)voidsetCacheProvider(CacheProvider cacheProvider)-
Methods inherited from interface org.apache.accumulo.core.iteratorsImpl.system.InterruptibleIterator
setInterruptFlag
-
Methods inherited from interface org.apache.accumulo.core.iterators.SortedKeyValueIterator
deepCopy, getTopKey, getTopValue, hasTop, init, next, seek
-
Methods inherited from interface org.apache.accumulo.core.iterators.YieldingKeyValueIterator
enableYielding
-
-
-
-
Method Detail
-
getFirstKey
Key getFirstKey() throws IOException
- Throws:
IOException
-
getLastKey
Key getLastKey() throws IOException
- Throws:
IOException
-
getMetaStore
DataInputStream getMetaStore(String name) throws IOException, NoSuchMetaStoreException
- Throws:
IOExceptionNoSuchMetaStoreException
-
getSample
FileSKVIterator getSample(SamplerConfigurationImpl sampleConfig)
-
closeDeepCopies
void closeDeepCopies() throws IOException- Throws:
IOException
-
setCacheProvider
void setCacheProvider(CacheProvider cacheProvider)
-
close
void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
-