Class RowIDAggregator
- java.lang.Object
-
- org.apache.accumulo.core.iterators.WrappingIterator
-
- uk.gov.gchq.gaffer.accumulostore.key.impl.RowIDAggregator
-
- All Implemented Interfaces:
org.apache.accumulo.core.iterators.OptionDescriber,org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>,org.apache.accumulo.core.iterators.YieldingKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
public class RowIDAggregator extends org.apache.accumulo.core.iterators.WrappingIterator implements org.apache.accumulo.core.iterators.OptionDescriber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRowIDAggregator.PropertiesIterator
-
Constructor Summary
Constructors Constructor Description RowIDAggregator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>deepCopy(org.apache.accumulo.core.iterators.IteratorEnvironment env)org.apache.accumulo.core.iterators.OptionDescriber.IteratorOptionsdescribeOptions()org.apache.accumulo.core.data.KeygetTopKey()org.apache.accumulo.core.data.ValuegetTopValue()booleanhasTop()voidinit(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source, Map<String,String> options, org.apache.accumulo.core.iterators.IteratorEnvironment env)voidnext()voidseek(org.apache.accumulo.core.data.Range range, Collection<org.apache.accumulo.core.data.ByteSequence> columnFamilies, boolean inclusive)booleanvalidateOptions(Map<String,String> options)
-
-
-
Method Detail
-
describeOptions
public org.apache.accumulo.core.iterators.OptionDescriber.IteratorOptions describeOptions()
- Specified by:
describeOptionsin interfaceorg.apache.accumulo.core.iterators.OptionDescriber
-
validateOptions
public boolean validateOptions(Map<String,String> options)
- Specified by:
validateOptionsin interfaceorg.apache.accumulo.core.iterators.OptionDescriber
-
deepCopy
public org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> deepCopy(org.apache.accumulo.core.iterators.IteratorEnvironment env)
- Specified by:
deepCopyin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
deepCopyin classorg.apache.accumulo.core.iterators.WrappingIterator
-
init
public void init(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source, Map<String,String> options, org.apache.accumulo.core.iterators.IteratorEnvironment env) throws IOException- Specified by:
initin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
initin classorg.apache.accumulo.core.iterators.WrappingIterator- Throws:
IOException
-
seek
public void seek(org.apache.accumulo.core.data.Range range, Collection<org.apache.accumulo.core.data.ByteSequence> columnFamilies, boolean inclusive) throws IOException- Specified by:
seekin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
seekin classorg.apache.accumulo.core.iterators.WrappingIterator- Throws:
IOException
-
next
public void next() throws IOException- Specified by:
nextin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
nextin classorg.apache.accumulo.core.iterators.WrappingIterator- Throws:
IOException
-
getTopKey
public org.apache.accumulo.core.data.Key getTopKey()
- Specified by:
getTopKeyin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
getTopKeyin classorg.apache.accumulo.core.iterators.WrappingIterator
-
getTopValue
public org.apache.accumulo.core.data.Value getTopValue()
- Specified by:
getTopValuein interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
getTopValuein classorg.apache.accumulo.core.iterators.WrappingIterator
-
hasTop
public boolean hasTop()
- Specified by:
hasTopin interfaceorg.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>- Overrides:
hasTopin classorg.apache.accumulo.core.iterators.WrappingIterator
-
-