Uses of Class
org.apache.accumulo.core.data.Key
Packages that use Key
Package
Description
- 
Uses of Key in org.apache.accumulo.core.client
Methods in org.apache.accumulo.core.client that return types with arguments of type KeyModifier and TypeMethodDescriptionClientSideIteratorScanner.iterator()IsolatedScanner.iterator()IsolatedScanner.MemoryRowBuffer.iterator()IsolatedScanner.RowBuffer.iterator()ScannerBase.iterator()Returns an iterator over an accumulo table.RowIterator.next()Fetch the next row.ScannerBase.stream()Stream the Scanner results sequentially from this scanner's iteratorMethod parameters in org.apache.accumulo.core.client with type arguments of type KeyModifier and TypeMethodDescriptionvoidvoiddefault voidScannerBase.forEach(BiConsumer<? super Key, ? super Value> keyValueConsumer) Iterates through Scanner results.Constructor parameters in org.apache.accumulo.core.client with type arguments of type KeyModifierConstructorDescriptionIteratorSetting(int priority, Class<? extends SortedKeyValueIterator<Key, Value>> iteratorClass) Constructs an iterator setting using the given class's SimpleName for the iterator name.IteratorSetting(int priority, Class<? extends SortedKeyValueIterator<Key, Value>> iteratorClass, Map<String, String> properties) Constructs an iterator setting using the given class's SimpleName for the iterator name and configured for the specified scopes with the specified parameters.IteratorSetting(int priority, String name, Class<? extends SortedKeyValueIterator<Key, Value>> iteratorClass) Constructs an iterator setting configured for the scan scope with no parameters.IteratorSetting(int priority, String name, Class<? extends SortedKeyValueIterator<Key, Value>> iteratorClass, Map<String, String> properties) Constructs an iterator setting using the provided name and the provided class's name for the scan scope with the provided parameters.RowIterator(Iterable<Map.Entry<Key, Value>> iterable) Create an iterator from an Iterable.RowIterator(Iterator<Map.Entry<Key, Value>> iterator) Create an iterator from an (ordered) sequence of KeyValue pairs. - 
Uses of Key in org.apache.accumulo.core.client.admin.compaction
Methods in org.apache.accumulo.core.client.admin.compaction that return types with arguments of type KeyModifier and TypeMethodDescriptionCompactionSelector.SelectionParameters.getSample(CompactableFile cf, SamplerConfiguration sc)  - 
Uses of Key in org.apache.accumulo.core.client.rfile
Methods in org.apache.accumulo.core.client.rfile with parameters of type KeyModifier and TypeMethodDescriptionvoidThis method has the same behavior asRFileWriter.append(Key, Value).voidRFileWriter.append(Key key, CharSequence value) This method has the same behavior asRFileWriter.append(Key, Value).voidAppend the key and value to the last locality group that was started.Method parameters in org.apache.accumulo.core.client.rfile with type arguments of type Key - 
Uses of Key in org.apache.accumulo.core.client.sample
Methods in org.apache.accumulo.core.client.sample with parameters of type KeyModifier and TypeMethodDescriptionbooleanbooleanprotected abstract voidAbstractHashSampler.hash(DataOutput hasher, Key k) Subclass must override this method and hash some portion of the key.protected voidRowColumnSampler.hash(DataOutput hasher, Key k) protected voidRowSampler.hash(DataOutput hasher, Key k)  - 
Uses of Key in org.apache.accumulo.core.client.summary
Methods in org.apache.accumulo.core.client.summary with parameters of type Key - 
Uses of Key in org.apache.accumulo.core.data
Methods in org.apache.accumulo.core.data that return KeyModifier and TypeMethodDescriptionKeyBuilder.Build.build()Build aKeyfrom this builder.Key.followingKey(PartialKey part) Returns a key that will sort immediately after this key.Range.getEndKey()Gets the ending key, or null if the end is positive infinity.Range.getStartKey()Gets the start key, or null if the start is negative infinity.Methods in org.apache.accumulo.core.data with parameters of type KeyModifier and TypeMethodDescriptionbooleanRange.afterEndKey(Key key) Determines if the given key is after the ending key of this range.booleanRange.beforeStartKey(Key key) Determines if the given key is before the start key of this range.intintKey.compareTo(Key other, PartialKey part) Compares elements of a key given by aPartialKey.booleanDetermines if the given key falls within this range.booleanKey.equals(Key other, PartialKey part) Compares part of a key.voidSets this key's row, column family, column qualifier, column visibility, timestamp, and delete marker to be the same as another key's.Constructors in org.apache.accumulo.core.data with parameters of type KeyModifierConstructorDescriptionCreates a key with the same row, column family, column qualifier, column visibility, timestamp, and delete marker as the given key.Creates a new key/value pair.KeyValue(Key key, ByteBuffer value) Creates a new key/value pair.Creates a new key/value pair.protectedRange(Key start, boolean startKeyInclusive, boolean infiniteStartKey, Key stop, boolean stopKeyInclusive, boolean infiniteStopKey) Creates a range from start to stop.Creates a range from startKey to endKey.Creates a range from startKey inclusive to endKey inclusive.Range(Key start, Key stop, boolean startKeyInclusive, boolean stopKeyInclusive, boolean infiniteStartKey, boolean infiniteStopKey) Creates a range from start to stop. - 
Uses of Key in org.apache.accumulo.core.iterators
Fields in org.apache.accumulo.core.iterators with type parameters of type KeyModifier and TypeFieldDescriptionprotected final SortedKeyValueIterator<Key,Value> ServerWrappingIterator.sourceprotected final SortedKeyValueIterator<Key,Value> SynchronizedServerFilter.sourceMethods in org.apache.accumulo.core.iterators that return KeyModifier and TypeMethodDescriptionColumnFamilyCounter.getTopKey()Combiner.getTopKey()DebugIterator.getTopKey()DevNull.getTopKey()final KeyOrIterator.getTopKey()ServerWrappingIterator.getTopKey()SynchronizedServerFilter.getTopKey()WrappingIterator.getTopKey()Methods in org.apache.accumulo.core.iterators that return types with arguments of type KeyModifier and TypeMethodDescriptionColumnFamilyCounter.deepCopy(IteratorEnvironment env) Combiner.deepCopy(IteratorEnvironment env) DevNull.deepCopy(IteratorEnvironment env) Filter.deepCopy(IteratorEnvironment env) FirstEntryInRowIterator.deepCopy(IteratorEnvironment env) OrIterator.deepCopy(IteratorEnvironment env) abstract SortedKeyValueIterator<Key,Value> ServerFilter.deepCopy(IteratorEnvironment env) ServerWrappingIterator.deepCopy(IteratorEnvironment env) SortedKeyIterator.deepCopy(IteratorEnvironment env) abstract SortedKeyValueIterator<Key,Value> SynchronizedServerFilter.deepCopy(IteratorEnvironment env) TypedValueCombiner.deepCopy(IteratorEnvironment env) WrappingIterator.deepCopy(IteratorEnvironment env) protected SortedKeyValueIterator<Key,Value> WrappingIterator.getSource()IteratorAdapter.next()Methods in org.apache.accumulo.core.iterators with parameters of type KeyModifier and TypeMethodDescriptionabstract booleanabstract booleanprotected abstract booleanabstract ValueReduces a list of Values into a single Value.abstract VTypedValueCombiner.typedReduce(Key key, Iterator<V> iter) Reduces a list of V into a single V.Method parameters in org.apache.accumulo.core.iterators with type arguments of type KeyModifier and TypeMethodDescriptionvoidColumnFamilyCounter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidCombiner.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidDebugIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidDevNull.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidFirstEntryInRowIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidLongCombiner.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidOrIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidServerFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidServerWrappingIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidSynchronizedServerFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidTypedValueCombiner.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidWrappingIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) protected voidWrappingIterator.setSource(SortedKeyValueIterator<Key, Value> source) voidOrIterator.setTerms(SortedKeyValueIterator<Key, Value> source, Collection<String> terms, IteratorEnvironment env) Constructor parameters in org.apache.accumulo.core.iterators with type arguments of type KeyModifierConstructorDescriptionDebugIterator(String prefix, SortedKeyValueIterator<Key, Value> source) ServerFilter(SortedKeyValueIterator<Key, Value> source) TermSource(SortedKeyValueIterator<Key, Value> iter, org.apache.hadoop.io.Text term) ValueIterator(SortedKeyValueIterator<Key, Value> source) Constructs an iterator over Values whose Keys are versions of the current topKey of the source SortedKeyValueIterator. - 
Uses of Key in org.apache.accumulo.core.iterators.user
Fields in org.apache.accumulo.core.iterators.user declared as KeyFields in org.apache.accumulo.core.iterators.user with type parameters of type KeyModifier and TypeFieldDescriptionIndexedDocIterator.docSourceIntersectingIterator.TermSource.iterTransformingIterator.keysprotected SortedKeyValueIterator<Key,Value> RowEncodingIterator.sourceIterMethods in org.apache.accumulo.core.iterators.user that return KeyModifier and TypeMethodDescriptionprotected KeyIndexedDocIterator.buildDocKey()protected KeyIntersectingIterator.buildFollowingPartitionKey(Key key) protected KeyIndexedDocIterator.buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term) protected KeyIndexedDocIterator.buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term, org.apache.hadoop.io.Text docID) protected KeyIntersectingIterator.buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term) protected KeyIntersectingIterator.buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term, org.apache.hadoop.io.Text docID) protected KeyTransformingIterator.copyPartialKey(Key key, PartialKey part) Creates a copy ofkey, copying only the parts of the key specified inpart.CfCqSliceSeekingFilter.getNextKeyHint(Key k, Value v) abstract KeySeekingFilter.getNextKeyHint(Key k, Value v) Whenever the subclass returns AdvanceResult.USE_HINT from its filter predicate, this method will be called to see how far to advance the source iterator.IntersectingIterator.getTopKey()LargeRowFilter.getTopKey()RowDeletingIterator.getTopKey()RowEncodingIterator.getTopKey()TransformingIterator.getTopKey()WholeColumnFamilyIterator.getTopKey()protected KeyTransformingIterator.replaceColumnFamily(Key originalKey, org.apache.hadoop.io.Text newColFam) Make a new key with all parts (including delete flag) coming fromoriginalKeybut usenewColFamas the column family.protected KeyTransformingIterator.replaceColumnQualifier(Key originalKey, org.apache.hadoop.io.Text newColQual) Make a new key with all parts (including delete flag) coming fromoriginalKeybut usenewColQualas the column qualifier.protected KeyTransformingIterator.replaceColumnVisibility(Key originalKey, org.apache.hadoop.io.Text newColVis) Make a new key with all parts (including delete flag) coming fromoriginalKeybut usenewColVisas the column visibility.protected KeyTransformingIterator.replaceKeyParts(Key originalKey, org.apache.hadoop.io.Text newColQual, org.apache.hadoop.io.Text newColVis) Make a new key with a column qualifier, and column visibility.protected KeyTransformingIterator.replaceKeyParts(Key originalKey, org.apache.hadoop.io.Text newColFam, org.apache.hadoop.io.Text newColQual, org.apache.hadoop.io.Text newColVis) Make a new key with a column family, column qualifier, and column visibility.Methods in org.apache.accumulo.core.iterators.user that return types with arguments of type KeyModifier and TypeMethodDescriptionWholeColumnFamilyIterator.decodeColumnFamily(Key rowKey, Value rowValue) Decode whole row/cf out of value.AgeOffFilter.deepCopy(IteratorEnvironment env) CfCqSliceFilter.deepCopy(IteratorEnvironment env) CfCqSliceSeekingFilter.deepCopy(IteratorEnvironment env) ColumnAgeOffFilter.deepCopy(IteratorEnvironment env) ColumnSliceFilter.deepCopy(IteratorEnvironment env) GrepIterator.deepCopy(IteratorEnvironment env) IndexedDocIterator.deepCopy(IteratorEnvironment env) IntersectingIterator.deepCopy(IteratorEnvironment env) LargeRowFilter.deepCopy(IteratorEnvironment env) RegExFilter.deepCopy(IteratorEnvironment env) RowDeletingIterator.deepCopy(IteratorEnvironment env) RowEncodingIterator.deepCopy(IteratorEnvironment env) RowFilter.deepCopy(IteratorEnvironment env) SeekingFilter.deepCopy(IteratorEnvironment env) TimestampFilter.deepCopy(IteratorEnvironment env) TransformingIterator.deepCopy(IteratorEnvironment env) WholeColumnFamilyIterator.deepCopy(IteratorEnvironment env) RowEncodingIterator.rowDecoder(Key rowKey, Value rowValue) Given a value generated by the rowEncoder implementation, recreate the original Key, Value pairs.WholeRowIterator.rowDecoder(Key rowKey, Value rowValue) Methods in org.apache.accumulo.core.iterators.user with parameters of type KeyModifier and TypeMethodDescriptionbooleanAccepts entries whose timestamps are less than currentTime - threshold.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidprotected KeyIntersectingIterator.buildFollowingPartitionKey(Key key) protected booleanIndicates whether or not the user is able to seekey.protected booleanTransformingIterator.canSeeColumnFamily(Key key) Indicates whether or notkeycan be seen, according to the fetched column families for this iterator.protected KeyTransformingIterator.copyPartialKey(Key key, PartialKey part) Creates a copy ofkey, copying only the parts of the key specified inpart.WholeColumnFamilyIterator.decodeColumnFamily(Key rowKey, Value rowValue) Decode whole row/cf out of value.abstract SeekingFilter.FilterResultSubclasses must provide an implementation which examines the given key and value and determines (1) whether to accept the KV pair and (2) how far to advance the source iterator past the key.protected org.apache.hadoop.io.Textprotected org.apache.hadoop.io.TextCfCqSliceSeekingFilter.getNextKeyHint(Key k, Value v) abstract KeySeekingFilter.getNextKeyHint(Key k, Value v) Whenever the subclass returns AdvanceResult.USE_HINT from its filter predicate, this method will be called to see how far to advance the source iterator.protected org.apache.hadoop.io.TextIntersectingIterator.getPartition(Key key) protected org.apache.hadoop.io.Textprotected org.apache.hadoop.io.Textprotected booleanTransformingIterator.includeTransformedKey(Key transformedKey) Determines whether or not to includetransformedKeyin the output.protected booleanTransformingIterator.isSetAfterPart(Key key, PartialKey part) Indicates whether or not any part ofkeyexcludingpartis set.static org.apache.hadoop.io.TextIndexedDocIterator.parseDocID(Key key) protected KeyTransformingIterator.replaceColumnFamily(Key originalKey, org.apache.hadoop.io.Text newColFam) Make a new key with all parts (including delete flag) coming fromoriginalKeybut usenewColFamas the column family.protected KeyTransformingIterator.replaceColumnQualifier(Key originalKey, org.apache.hadoop.io.Text newColQual) Make a new key with all parts (including delete flag) coming fromoriginalKeybut usenewColQualas the column qualifier.protected KeyTransformingIterator.replaceColumnVisibility(Key originalKey, org.apache.hadoop.io.Text newColVis) Make a new key with all parts (including delete flag) coming fromoriginalKeybut usenewColVisas the column visibility.protected KeyTransformingIterator.replaceKeyParts(Key originalKey, org.apache.hadoop.io.Text newColQual, org.apache.hadoop.io.Text newColVis) Make a new key with a column qualifier, and column visibility.protected KeyTransformingIterator.replaceKeyParts(Key originalKey, org.apache.hadoop.io.Text newColFam, org.apache.hadoop.io.Text newColQual, org.apache.hadoop.io.Text newColVis) Make a new key with a column family, column qualifier, and column visibility.protected voidRowEncodingIterator.rowDecoder(Key rowKey, Value rowValue) Given a value generated by the rowEncoder implementation, recreate the original Key, Value pairs.WholeRowIterator.rowDecoder(Key rowKey, Value rowValue) BigDecimalCombiner.BigDecimalMaxCombiner.typedReduce(Key key, Iterator<BigDecimal> iter) BigDecimalCombiner.BigDecimalMinCombiner.typedReduce(Key key, Iterator<BigDecimal> iter) BigDecimalCombiner.BigDecimalSummingCombiner.typedReduce(Key key, Iterator<BigDecimal> iter) MaxCombiner.typedReduce(Key key, Iterator<Long> iter) MinCombiner.typedReduce(Key key, Iterator<Long> iter) SummingArrayCombiner.typedReduce(Key key, Iterator<List<Long>> iter) SummingCombiner.typedReduce(Key key, Iterator<Long> iter) Method parameters in org.apache.accumulo.core.iterators.user with type arguments of type KeyModifier and TypeMethodDescriptionabstract booleanRowFilter.acceptRow(SortedKeyValueIterator<Key, Value> rowIterator) Implementation should return false to suppress a row.static final ValueWholeColumnFamilyIterator.encodeColumnFamily(List<Key> keys, List<Value> values) Encode row/cf.static final Valueprotected booleanRowEncodingIterator.filter(org.apache.hadoop.io.Text currentRow, List<Key> keys, List<Value> values) protected booleanWholeColumnFamilyIterator.filter(org.apache.hadoop.io.Text currentRow, List<Key> keys, List<Value> values) voidAgeOffFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidBigDecimalCombiner.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidCfCqSliceFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidCfCqSliceSeekingFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidColumnAgeOffFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidColumnSliceFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidGrepIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidIndexedDocIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidIntersectingIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidLargeRowFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidRegExFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidRowDeletingIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidRowEncodingIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidRowFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidSeekingFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidSummingArrayCombiner.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidTimestampFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidTransformingIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidVersioningIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidVisibilityFilter.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) voidWholeColumnFamilyIterator.init(SortedKeyValueIterator<Key, Value> source, Map<String, String> options, IteratorEnvironment env) abstract ValueRowEncodingIterator.rowEncoder(List<Key> keys, List<Value> values) Take a stream of keys and values.WholeRowIterator.rowEncoder(List<Key> keys, List<Value> values) static StringIntersectingIterator.stringTopKey(SortedKeyValueIterator<Key, Value> iter) protected abstract voidTransformingIterator.transformRange(SortedKeyValueIterator<Key, Value> input, TransformingIterator.KVBuffer output) Transformsinput.Constructor parameters in org.apache.accumulo.core.iterators.user with type arguments of type KeyModifierConstructorDescriptionTermSource(SortedKeyValueIterator<Key, Value> iter, org.apache.hadoop.io.Text term) TermSource(SortedKeyValueIterator<Key, Value> iter, org.apache.hadoop.io.Text term, boolean notFlag)  - 
Uses of Key in org.apache.accumulo.hadoop.mapred
Methods in org.apache.accumulo.hadoop.mapred that return types with arguments of type KeyModifier and TypeMethodDescriptionAccumuloInputFormat.getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,org.apache.accumulo.core.util.PeekingIterator<Map.Entry<Key, Value>>> AccumuloRowInputFormat.getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) AccumuloFileOutputFormat.getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, org.apache.hadoop.mapred.JobConf job, String name, org.apache.hadoop.util.Progressable progress)  - 
Uses of Key in org.apache.accumulo.hadoop.mapreduce
Methods in org.apache.accumulo.hadoop.mapreduce that return types with arguments of type KeyModifier and TypeMethodDescriptionAccumuloInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.accumulo.core.util.PeekingIterator<Map.Entry<Key, Value>>> AccumuloRowInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) AccumuloFileOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)  - 
Uses of Key in org.apache.accumulo.hadoop.mapreduce.partition
Methods in org.apache.accumulo.hadoop.mapreduce.partition with parameters of type KeyModifier and TypeMethodDescriptionintKeyRangePartitioner.getPartition(Key key, org.apache.hadoop.io.Writable value, int numPartitions)