Uses of Class
org.apache.accumulo.core.data.Key
-
-
Uses of Key in org.apache.accumulo.core.client
Methods in org.apache.accumulo.core.client that return types with arguments of type Key Modifier and Type Method Description Iterator<Map.Entry<Key,Value>>
ClientSideIteratorScanner. iterator()
Iterator<Map.Entry<Key,Value>>
IsolatedScanner. iterator()
Iterator<Map.Entry<Key,Value>>
IsolatedScanner.MemoryRowBuffer. iterator()
Iterator<Map.Entry<Key,Value>>
IsolatedScanner.RowBuffer. iterator()
Iterator<Map.Entry<Key,Value>>
ScannerBase. iterator()
Returns an iterator over an accumulo table.Iterator<Map.Entry<Key,Value>>
RowIterator. next()
Fetch the next row.Method parameters in org.apache.accumulo.core.client with type arguments of type Key Modifier and Type Method Description void
IsolatedScanner.MemoryRowBuffer. add(Map.Entry<Key,Value> entry)
void
IsolatedScanner.RowBuffer. add(Map.Entry<Key,Value> entry)
Constructor parameters in org.apache.accumulo.core.client with type arguments of type Key Constructor Description IteratorSetting(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.mapred
Fields in org.apache.accumulo.core.client.mapred declared as Key Modifier and Type Field Description protected Key
AbstractInputFormat.AbstractRecordReader. currentKey
Fields in org.apache.accumulo.core.client.mapred with type parameters of type Key Modifier and Type Field Description protected Iterator<Map.Entry<Key,Value>>
AbstractInputFormat.AbstractRecordReader. scannerIterator
Methods in org.apache.accumulo.core.client.mapred that return types with arguments of type Key Modifier and Type Method Description org.apache.hadoop.mapred.RecordReader<Key,Value>
AccumuloInputFormat. getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter)
Deprecated.org.apache.hadoop.mapred.RecordReader<Key,Value>
AccumuloMultiTableInputFormat. getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter)
Deprecated.org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,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)
Deprecated.org.apache.hadoop.mapred.RecordWriter<Key,Value>
AccumuloFileOutputFormat. getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, org.apache.hadoop.mapred.JobConf job, String name, org.apache.hadoop.util.Progressable progress)
Deprecated. -
Uses of Key in org.apache.accumulo.core.client.mapreduce
Fields in org.apache.accumulo.core.client.mapreduce declared as Key Modifier and Type Field Description protected Key
AbstractInputFormat.AbstractRecordReader. currentKey
The Key that is used to determine progress in the current InputSplit.Fields in org.apache.accumulo.core.client.mapreduce with type parameters of type Key Modifier and Type Field Description protected Iterator<Map.Entry<Key,Value>>
AbstractInputFormat.AbstractRecordReader. scannerIterator
Methods in org.apache.accumulo.core.client.mapreduce that return types with arguments of type Key Modifier and Type Method Description org.apache.hadoop.mapreduce.RecordReader<Key,Value>
AccumuloInputFormat. createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
Deprecated.org.apache.hadoop.mapreduce.RecordReader<Key,Value>
AccumuloMultiTableInputFormat. createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context)
Deprecated.org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,PeekingIterator<Map.Entry<Key,Value>>>
AccumuloRowInputFormat. createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
Deprecated.org.apache.hadoop.mapreduce.RecordWriter<Key,Value>
AccumuloFileOutputFormat. getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Deprecated.Methods in org.apache.accumulo.core.client.mapreduce with parameters of type Key Modifier and Type Method Description float
RangeInputSplit. getProgress(Key currentKey)
Deprecated. -
Uses of Key in org.apache.accumulo.core.client.mapreduce.lib.partition
Methods in org.apache.accumulo.core.client.mapreduce.lib.partition with parameters of type Key Modifier and Type Method Description int
KeyRangePartitioner. getPartition(Key key, org.apache.hadoop.io.Writable value, int numPartitions)
Deprecated. -
Uses of Key in org.apache.accumulo.core.client.rfile
Methods in org.apache.accumulo.core.client.rfile with parameters of type Key Modifier and Type Method Description void
RFileWriter. append(Key key, byte[] value)
This method has the same behavior asRFileWriter.append(Key, Value)
.void
RFileWriter. append(Key key, CharSequence value)
This method has the same behavior asRFileWriter.append(Key, Value)
.void
RFileWriter. append(Key key, Value val)
Append 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 Modifier and Type Method Description void
RFileWriter. append(Iterable<Map.Entry<Key,Value>> keyValues)
Append the keys and values to the last locality group that was started. -
Uses of Key in org.apache.accumulo.core.client.sample
Methods in org.apache.accumulo.core.client.sample with parameters of type Key Modifier and Type Method Description boolean
AbstractHashSampler. accept(Key k)
boolean
Sampler. accept(Key k)
protected abstract void
AbstractHashSampler. hash(DataOutput hasher, Key k)
Subclass must override this method and hash some portion of the key.protected void
RowColumnSampler. hash(DataOutput hasher, Key k)
protected void
RowSampler. 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 Modifier and Type Method Description void
Summarizer.Collector. accept(Key k, Value v)
During compactions, Accumulo passes each Key Value written to the file to this method.void
CountingSummarizer.Converter. convert(Key k, Value v, Consumer<K> consumer)
-
Uses of Key in org.apache.accumulo.core.clientImpl
Methods in org.apache.accumulo.core.clientImpl that return types with arguments of type Key Modifier and Type Method Description Iterator<Map.Entry<Key,Value>>
OfflineScanner. iterator()
Iterator<Map.Entry<Key,Value>>
ScannerImpl. iterator()
Iterator<Map.Entry<Key,Value>>
ScannerOptions. iterator()
Iterator<Map.Entry<Key,Value>>
TabletServerBatchReader. iterator()
Map.Entry<Key,Value>
ScannerIterator. next()
Map.Entry<Key,Value>
TabletServerBatchReaderIterator. next()
Method parameters in org.apache.accumulo.core.clientImpl with type arguments of type Key Modifier and Type Method Description static boolean
ThriftScanner. getBatchFromServer(ClientContext context, Range range, KeyExtent extent, String server, SortedMap<Key,Value> results, SortedSet<Column> fetchedColumns, List<IterInfo> serverSideIteratorList, Map<String,Map<String,String>> serverSideIteratorOptions, int size, Authorizations authorizations, long batchTimeOut, String classLoaderContext)
void
TabletServerBatchReaderIterator.ResultReceiver. receive(List<Map.Entry<Key,Value>> entries)
-
Uses of Key in org.apache.accumulo.core.clientImpl.mapreduce
Methods in org.apache.accumulo.core.clientImpl.mapreduce with parameters of type Key Modifier and Type Method Description float
BatchInputSplit. getProgress(Key currentKey)
Deprecated.Save progress on each call to this function, implied by value of currentKey, and return average ranges in the split -
Uses of Key in org.apache.accumulo.core.conf
Methods in org.apache.accumulo.core.conf that return types with arguments of type Key Modifier and Type Method Description static SortedKeyValueIterator<Key,Value>
IterConfigUtil. convertItersAndLoad(IteratorUtil.IteratorScope scope, SortedKeyValueIterator<Key,Value> source, AccumuloConfiguration conf, List<IteratorSetting> iterators, IteratorEnvironment env)
Convert the list of iterators to IterInfo objects and then load the stack.static SortedKeyValueIterator<Key,Value>
IterConfigUtil. loadIterators(SortedKeyValueIterator<Key,Value> source, IterLoad iterLoad)
Load a stack of iterators provided in the IterLoad, starting with source.Method parameters in org.apache.accumulo.core.conf with type arguments of type Key Modifier and Type Method Description IterLoad
IterLoad. classCache(Map<String,Class<SortedKeyValueIterator<Key,Value>>> classCache)
static SortedKeyValueIterator<Key,Value>
IterConfigUtil. convertItersAndLoad(IteratorUtil.IteratorScope scope, SortedKeyValueIterator<Key,Value> source, AccumuloConfiguration conf, List<IteratorSetting> iterators, IteratorEnvironment env)
Convert the list of iterators to IterInfo objects and then load the stack.static SortedKeyValueIterator<Key,Value>
IterConfigUtil. loadIterators(SortedKeyValueIterator<Key,Value> source, IterLoad iterLoad)
Load a stack of iterators provided in the IterLoad, starting with source. -
Uses of Key in org.apache.accumulo.core.data
Methods in org.apache.accumulo.core.data that return Key Modifier and Type Method Description Key
KeyBuilder.Build. build()
Build aKey
from this builder.Key
Key. followingKey(PartialKey part)
Returns a key that will sort immediately after this key.Key
Range. getEndKey()
Gets the ending key, or null if the end is positive infinity.Key
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 Key Modifier and Type Method Description boolean
Range. afterEndKey(Key key)
Determines if the given key is after the ending key of this range.boolean
Range. beforeStartKey(Key key)
Determines if the given key is before the start key of this range.int
Key. compareTo(Key other)
int
Key. compareTo(Key other, PartialKey part)
Compares elements of a key given by aPartialKey
.boolean
Range. contains(Key key)
Determines if the given key falls within this range.boolean
Key. equals(Key other, PartialKey part)
Compares part of a key.void
Key. set(Key k)
Sets 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 Key Constructor Description Key(Key other)
Creates a key with the same row, column family, column qualifier, column visibility, timestamp, and delete marker as the given key.KeyValue(Key key, byte[] value)
Creates a new key/value pair.KeyValue(Key key, ByteBuffer value)
Creates a new key/value pair.KeyValue(Key key, Value value)
Creates a new key/value pair.Range(Key start, boolean startKeyInclusive, boolean infiniteStartKey, Key stop, boolean stopKeyInclusive, boolean infiniteStopKey)
Creates a range from start to stop.Range(Key startKey, boolean startKeyInclusive, Key endKey, boolean endKeyInclusive)
Creates a range from startKey to endKey.Range(Key startKey, Key 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.file
Methods in org.apache.accumulo.core.file that return Key Modifier and Type Method Description Key
BloomFilterLayer.Reader. getFirstKey()
Key
FileSKVIterator. getFirstKey()
Key
BloomFilterLayer.Reader. getLastKey()
Key
FileSKVIterator. getLastKey()
Key
BloomFilterLayer.Reader. getTopKey()
Methods in org.apache.accumulo.core.file that return types with arguments of type Key Modifier and Type Method Description SortedKeyValueIterator<Key,Value>
BloomFilterLayer.Reader. deepCopy(IteratorEnvironment env)
Methods in org.apache.accumulo.core.file with parameters of type Key Modifier and Type Method Description void
BloomFilterLayer.Writer. append(Key key, Value val)
void
FileSKVWriter. append(Key key, Value value)
Method parameters in org.apache.accumulo.core.file with type arguments of type Key Modifier and Type Method Description void
BloomFilterLayer.Reader. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
-
Uses of Key in org.apache.accumulo.core.file.keyfunctor
Methods in org.apache.accumulo.core.file.keyfunctor with parameters of type Key Modifier and Type Method Description org.apache.hadoop.util.bloom.Key
ColumnFamilyFunctor. transform(Key acuKey)
org.apache.hadoop.util.bloom.Key
ColumnQualifierFunctor. transform(Key acuKey)
org.apache.hadoop.util.bloom.Key
KeyFunctor. transform(Key key)
org.apache.hadoop.util.bloom.Key
RowFunctor. transform(Key acuKey)
-
Uses of Key in org.apache.accumulo.core.file.map
Methods in org.apache.accumulo.core.file.map that return Key Modifier and Type Method Description Key
MapFileOperations.RangeIterator. getFirstKey()
Key
MapFileOperations.RangeIterator. getLastKey()
Key
MapFileOperations.RangeIterator. getTopKey()
Methods in org.apache.accumulo.core.file.map that return types with arguments of type Key Modifier and Type Method Description SortedKeyValueIterator<Key,Value>
MapFileOperations.RangeIterator. deepCopy(IteratorEnvironment env)
Method parameters in org.apache.accumulo.core.file.map with type arguments of type Key Modifier and Type Method Description void
MapFileOperations.RangeIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
Constructor parameters in org.apache.accumulo.core.file.map with type arguments of type Key Constructor Description RangeIterator(SortedKeyValueIterator<Key,Value> reader)
-
Uses of Key in org.apache.accumulo.core.file.rfile
Methods in org.apache.accumulo.core.file.rfile that return Key Modifier and Type Method Description Key
RFile.Reader. getFirstKey()
Key
MultiLevelIndex.IndexEntry. getKey()
Key
RelativeKey. getKey()
Key
MultiLevelIndex.Reader. getLastKey()
Key
RFile.Reader. getLastKey()
Key
BlockIndex.BlockIndexEntry. getPrevKey()
static Key
KeyShortener. shorten(Key prev, Key current)
Methods in org.apache.accumulo.core.file.rfile that return types with arguments of type Key Modifier and Type Method Description SortedKeyValueIterator<Key,Value>
RFile.Reader. deepCopy(IteratorEnvironment env)
Methods in org.apache.accumulo.core.file.rfile with parameters of type Key Modifier and Type Method Description void
MultiLevelIndex.BufferedWriter. add(Key key, int data, long offset, long compressedSize, long rawSize)
void
MultiLevelIndex.Writer. add(Key key, int data, long offset, long compressedSize, long rawSize)
void
MultiLevelIndex.BufferedWriter. addLast(Key key, int data, long offset, long compressedSize, long rawSize)
void
MultiLevelIndex.Writer. addLast(Key key, int data, long offset, long compressedSize, long rawSize)
void
MetricsGatherer. addMetric(Key key, Value val)
Collect and store metrics for the given entry.void
VisMetricsGatherer. addMetric(Key key, Value val)
void
RFile.Writer. append(Key key, Value value)
static RelativeKey.SkippR
RelativeKey. fastSkip(DataInput in, Key seekKey, MutableByteSequence value, Key prevKey, Key currKey, int entriesLeft)
MultiLevelIndex.Reader.IndexIterator
MultiLevelIndex.Reader. lookup(Key key)
BlockIndex.BlockIndexEntry
BlockIndex. seekBlock(Key startKey, CachableBlockFile.CachedBlockRead cacheBlock)
void
RelativeKey. setPrevKey(Key pk)
static Key
KeyShortener. shorten(Key prev, Key current)
Method parameters in org.apache.accumulo.core.file.rfile with type arguments of type Key Modifier and Type Method Description void
RFile.Reader. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
Constructors in org.apache.accumulo.core.file.rfile with parameters of type Key Constructor Description BlockIndexEntry(int pos, int entriesLeft, Key prevKey)
BlockIndexEntry(Key key)
RelativeKey(Key prevKey, Key key)
This constructor is used when constructing a key for writing to an output stream -
Uses of Key in org.apache.accumulo.core.iterators
Fields in org.apache.accumulo.core.iterators with type parameters of type Key Modifier and Type Field Description protected SortedKeyValueIterator<Key,Value>
ServerWrappingIterator. source
protected SortedKeyValueIterator<Key,Value>
SynchronizedServerFilter. source
Methods in org.apache.accumulo.core.iterators that return Key Modifier and Type Method Description Key
ColumnFamilyCounter. getTopKey()
Key
Combiner. getTopKey()
Key
DebugIterator. getTopKey()
Key
DevNull. getTopKey()
Key
OrIterator. getTopKey()
Key
ServerWrappingIterator. getTopKey()
Key
SortedMapIterator. getTopKey()
Key
SynchronizedServerFilter. getTopKey()
Key
WrappingIterator. getTopKey()
Methods in org.apache.accumulo.core.iterators with parameters of type Key Modifier and Type Method Description abstract boolean
Filter. accept(Key k, Value v)
abstract boolean
ServerFilter. accept(Key k, Value v)
protected abstract boolean
SynchronizedServerFilter. accept(Key k, Value v)
abstract Value
Combiner. reduce(Key key, Iterator<Value> iter)
Reduces a list of Values into a single Value.Value
TypedValueCombiner. reduce(Key key, Iterator<Value> iter)
abstract V
TypedValueCombiner. typedReduce(Key key, Iterator<V> iter)
Reduces a list of V into a single V.Constructor parameters in org.apache.accumulo.core.iterators with type arguments of type Key Constructor Description DebugIterator(String prefix, SortedKeyValueIterator<Key,Value> source)
IteratorAdapter(SortedKeyValueIterator<Key,Value> inner)
ServerFilter(SortedKeyValueIterator<Key,Value> source)
ServerSkippingIterator(SortedKeyValueIterator<Key,Value> source)
ServerWrappingIterator(SortedKeyValueIterator<Key,Value> source)
SortedMapIterator(SortedMap<Key,Value> map)
SynchronizedServerFilter(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.conf
Methods in org.apache.accumulo.core.iterators.conf with parameters of type Key Modifier and Type Method Description boolean
ColumnSet. contains(Key key)
K
ColumnToClassMapping. getObject(Key key)
-
Uses of Key in org.apache.accumulo.core.iterators.system
Methods in org.apache.accumulo.core.iterators.system that return Key Modifier and Type Method Description Key
MapFileIterator. getFirstKey()
Key
SequenceFileIterator. getFirstKey()
Key
MapFileIterator. getLastKey()
Key
SequenceFileIterator. getLastKey()
Key
EmptyIterator. getTopKey()
Key
HeapIterator. getTopKey()
Key
MapFileIterator. getTopKey()
Key
SequenceFileIterator. getTopKey()
Key
SourceSwitchingIterator. getTopKey()
Key
TimeSettingIterator. getTopKey()
Methods in org.apache.accumulo.core.iterators.system with parameters of type Key Modifier and Type Method Description boolean
ColumnQualifierFilter. accept(Key key, Value v)
boolean
SampleIterator. accept(Key k, Value v)
protected boolean
VisibilityFilter. accept(Key k, Value v)
Constructor parameters in org.apache.accumulo.core.iterators.system with type arguments of type Key Constructor Description ColumnFamilySkippingIterator(SortedKeyValueIterator<Key,Value> source)
ColumnFamilySkippingIterator(SortedKeyValueIterator<Key,Value> source, Set<ByteSequence> colFamSet, boolean inclusive)
CountingIterator(SortedKeyValueIterator<Key,Value> source)
MultiIterator(List<SortedKeyValueIterator<Key,Value>> readers, boolean init)
MultiIterator(List<SortedKeyValueIterator<Key,Value>> iters, Range seekFence)
MultiIterator(List<SortedKeyValueIterator<Key,Value>> iters2, KeyExtent extent)
SampleIterator(SortedKeyValueIterator<Key,Value> iter, Sampler sampler)
StatsIterator(SortedKeyValueIterator<Key,Value> source, AtomicLong seekCounter, AtomicLong readCounter)
TimeSettingIterator(SortedKeyValueIterator<Key,Value> source, long time)
-
Uses of Key in org.apache.accumulo.core.iterators.user
Fields in org.apache.accumulo.core.iterators.user declared as Key Modifier and Type Field Description protected Key
IntersectingIterator. topKey
Fields in org.apache.accumulo.core.iterators.user with type parameters of type Key Modifier and Type Field Description SortedKeyValueIterator<Key,Value>
IndexedDocIterator. docSource
SortedKeyValueIterator<Key,Value>
IntersectingIterator.TermSource. iter
protected ArrayList<Pair<Key,Value>>
TransformingIterator. keys
protected SortedKeyValueIterator<Key,Value>
RowEncodingIterator. sourceIter
Methods in org.apache.accumulo.core.iterators.user that return Key Modifier and Type Method Description protected Key
IndexedDocIterator. buildDocKey()
protected Key
IntersectingIterator. buildFollowingPartitionKey(Key key)
protected Key
IndexedDocIterator. buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term)
protected Key
IndexedDocIterator. buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term, org.apache.hadoop.io.Text docID)
protected Key
IntersectingIterator. buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term)
protected Key
IntersectingIterator. buildKey(org.apache.hadoop.io.Text partition, org.apache.hadoop.io.Text term, org.apache.hadoop.io.Text docID)
protected Key
TransformingIterator. copyPartialKey(Key key, PartialKey part)
Creates a copy ofkey
, copying only the parts of the key specified inpart
.Key
CfCqSliceSeekingFilter. getNextKeyHint(Key k, Value v)
abstract Key
SeekingFilter. 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.Key
IntersectingIterator. getTopKey()
Key
LargeRowFilter. getTopKey()
Key
RowDeletingIterator. getTopKey()
Key
RowEncodingIterator. getTopKey()
Key
TransformingIterator. getTopKey()
Key
WholeColumnFamilyIterator. getTopKey()
protected Key
TransformingIterator. replaceColumnFamily(Key originalKey, org.apache.hadoop.io.Text newColFam)
Make a new key with all parts (including delete flag) coming fromoriginalKey
but usenewColFam
as the column family.protected Key
TransformingIterator. replaceColumnQualifier(Key originalKey, org.apache.hadoop.io.Text newColQual)
Make a new key with all parts (including delete flag) coming fromoriginalKey
but usenewColQual
as the column qualifier.protected Key
TransformingIterator. replaceColumnVisibility(Key originalKey, org.apache.hadoop.io.Text newColVis)
Make a new key with all parts (including delete flag) coming fromoriginalKey
but usenewColVis
as the column visibility.protected Key
TransformingIterator. 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 Key
TransformingIterator. 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 with parameters of type Key Modifier and Type Method Description boolean
AgeOffFilter. accept(Key k, Value v)
Accepts entries whose timestamps are less than currentTime - threshold.boolean
CfCqSliceFilter. accept(Key k, Value v)
boolean
ColumnAgeOffFilter. accept(Key k, Value v)
boolean
ColumnSliceFilter. accept(Key key, Value value)
boolean
GrepIterator. accept(Key k, Value v)
boolean
RegExFilter. accept(Key key, Value value)
boolean
ReqVisFilter. accept(Key k, Value v)
boolean
TimestampFilter. accept(Key k, Value v)
boolean
VisibilityFilter. accept(Key k, Value v)
void
TransformingIterator.KVBuffer. append(Key key, Value val)
protected Key
IntersectingIterator. buildFollowingPartitionKey(Key key)
protected boolean
TransformingIterator. canSee(Key key)
Indicates whether or not the user is able to seekey
.protected boolean
TransformingIterator. canSeeColumnFamily(Key key)
Indicates whether or notkey
can be seen, according to the fetched column families for this iterator.protected Key
TransformingIterator. copyPartialKey(Key key, PartialKey part)
Creates a copy ofkey
, copying only the parts of the key specified inpart
.static SortedMap<Key,Value>
WholeColumnFamilyIterator. decodeColumnFamily(Key rowKey, Value rowValue)
Decode whole row/cf out of value.static SortedMap<Key,Value>
WholeRowIterator. decodeRow(Key rowKey, Value rowValue)
SeekingFilter.FilterResult
CfCqSliceSeekingFilter. filter(Key k, Value v)
abstract SeekingFilter.FilterResult
SeekingFilter. filter(Key k, Value v)
Subclasses 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.Text
IndexedDocIterator. getDocID(Key key)
protected org.apache.hadoop.io.Text
IntersectingIterator. getDocID(Key key)
Key
CfCqSliceSeekingFilter. getNextKeyHint(Key k, Value v)
abstract Key
SeekingFilter. 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.Text
IntersectingIterator. getPartition(Key key)
protected org.apache.hadoop.io.Text
IndexedDocIterator. getTerm(Key key)
protected org.apache.hadoop.io.Text
IntersectingIterator. getTerm(Key key)
protected boolean
TransformingIterator. includeTransformedKey(Key transformedKey)
Determines whether or not to includetransformedKey
in the output.protected boolean
TransformingIterator. isSetAfterPart(Key key, PartialKey part)
Indicates whether or not any part ofkey
excludingpart
is set.static org.apache.hadoop.io.Text
IndexedDocIterator. parseDocID(Key key)
protected Key
TransformingIterator. replaceColumnFamily(Key originalKey, org.apache.hadoop.io.Text newColFam)
Make a new key with all parts (including delete flag) coming fromoriginalKey
but usenewColFam
as the column family.protected Key
TransformingIterator. replaceColumnQualifier(Key originalKey, org.apache.hadoop.io.Text newColQual)
Make a new key with all parts (including delete flag) coming fromoriginalKey
but usenewColQual
as the column qualifier.protected Key
TransformingIterator. replaceColumnVisibility(Key originalKey, org.apache.hadoop.io.Text newColVis)
Make a new key with all parts (including delete flag) coming fromoriginalKey
but usenewColVis
as the column visibility.protected Key
TransformingIterator. 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 Key
TransformingIterator. 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 void
VersioningIterator. reseek(Key key)
abstract SortedMap<Key,Value>
RowEncodingIterator. rowDecoder(Key rowKey, Value rowValue)
Given a value generated by the rowEncoder implementation, recreate the original Key, Value pairs.SortedMap<Key,Value>
WholeRowIterator. rowDecoder(Key rowKey, Value rowValue)
BigDecimal
BigDecimalCombiner.BigDecimalMaxCombiner. typedReduce(Key key, Iterator<BigDecimal> iter)
BigDecimal
BigDecimalCombiner.BigDecimalMinCombiner. typedReduce(Key key, Iterator<BigDecimal> iter)
BigDecimal
BigDecimalCombiner.BigDecimalSummingCombiner. typedReduce(Key key, Iterator<BigDecimal> iter)
Long
MaxCombiner. typedReduce(Key key, Iterator<Long> iter)
Long
MinCombiner. typedReduce(Key key, Iterator<Long> iter)
List<Long>
SummingArrayCombiner. typedReduce(Key key, Iterator<List<Long>> iter)
Long
SummingCombiner. typedReduce(Key key, Iterator<Long> iter)
Method parameters in org.apache.accumulo.core.iterators.user with type arguments of type Key Modifier and Type Method Description abstract boolean
RowFilter. acceptRow(SortedKeyValueIterator<Key,Value> rowIterator)
Implementation should return false to suppress a row.static Value
WholeColumnFamilyIterator. encodeColumnFamily(List<Key> keys, List<Value> values)
Encode row/cf.static Value
WholeRowIterator. encodeRow(List<Key> keys, List<Value> values)
protected boolean
RowEncodingIterator. filter(org.apache.hadoop.io.Text currentRow, List<Key> keys, List<Value> values)
protected boolean
WholeColumnFamilyIterator. filter(org.apache.hadoop.io.Text currentRow, List<Key> keys, List<Value> values)
void
AgeOffFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
BigDecimalCombiner. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
CfCqSliceFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
CfCqSliceSeekingFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
ColumnAgeOffFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
ColumnSliceFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
GrepIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
IndexedDocIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
IntersectingIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
LargeRowFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
RegExFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
RowDeletingIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
RowEncodingIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
RowFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
SeekingFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
SummingArrayCombiner. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
TimestampFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
TransformingIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
VersioningIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
VisibilityFilter. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
void
WholeColumnFamilyIterator. init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env)
abstract Value
RowEncodingIterator. rowEncoder(List<Key> keys, List<Value> values)
Take a stream of keys and values.Value
WholeRowIterator. rowEncoder(List<Key> keys, List<Value> values)
static String
IntersectingIterator. stringTopKey(SortedKeyValueIterator<Key,Value> iter)
protected abstract void
TransformingIterator. transformRange(SortedKeyValueIterator<Key,Value> input, TransformingIterator.KVBuffer output)
Transformsinput
.Constructor parameters in org.apache.accumulo.core.iterators.user with type arguments of type Key Constructor Description TermSource(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.core.metadata
Method parameters in org.apache.accumulo.core.metadata with type arguments of type Key Modifier and Type Method Description static TabletLocator.TabletLocations
MetadataLocationObtainer. getMetadataLocationEntries(SortedMap<Key,Value> entries)
-
Uses of Key in org.apache.accumulo.core.metadata.schema
Methods in org.apache.accumulo.core.metadata.schema that return types with arguments of type Key Modifier and Type Method Description SortedMap<Key,Value>
TabletMetadata. getKeyValues()
Methods in org.apache.accumulo.core.metadata.schema with parameters of type Key Modifier and Type Method Description static void
MetadataSchema.ReplicationSection. getFile(Key k, org.apache.hadoop.io.Text buff)
Extract the file name from the row suffix into the givenText
static TableId
MetadataSchema.ReplicationSection. getTableId(Key k)
Extract the table ID from the colfam -
Uses of Key in org.apache.accumulo.core.replication
Methods in org.apache.accumulo.core.replication with parameters of type Key Modifier and Type Method Description static String
ReplicationSchema.OrderSection. getFile(Key k)
static String
ReplicationSchema.OrderSection. getFile(Key k, org.apache.hadoop.io.Text buff)
static void
ReplicationSchema.StatusSection. getFile(Key k, org.apache.hadoop.io.Text buff)
Extract the file name from the row suffix into the givenText
static void
ReplicationSchema.WorkSection. getFile(Key k, org.apache.hadoop.io.Text buff)
static void
ReplicationSchema.OrderSection. getTableId(Key k, org.apache.hadoop.io.Text buff)
Extract the table ID from the given keystatic TableId
ReplicationSchema.StatusSection. getTableId(Key k)
Extract the table ID from the key (inefficiently if called repeatedly)static ReplicationTarget
ReplicationSchema.WorkSection. getTarget(Key k, org.apache.hadoop.io.Text buff)
static long
ReplicationSchema.OrderSection. getTimeClosed(Key k)
static long
ReplicationSchema.OrderSection. getTimeClosed(Key k, org.apache.hadoop.io.Text buff)
-
Uses of Key in org.apache.accumulo.core.summary
Methods in org.apache.accumulo.core.summary with parameters of type Key Modifier and Type Method Description void
SummaryWriter. append(Key key, Value value)
-
Uses of Key in org.apache.accumulo.core.tabletserver.log
Methods in org.apache.accumulo.core.tabletserver.log with parameters of type Key Modifier and Type Method Description static LogEntry
LogEntry. fromKeyValue(Key key, String value)
static LogEntry
LogEntry. fromKeyValue(Key key, Value value)
-
Uses of Key in org.apache.accumulo.core.util
Methods in org.apache.accumulo.core.util that return types with arguments of type Key Modifier and Type Method Description static SortedKeyValueIterator<Key,Value>
SystemIteratorUtil. setupSystemScanIterators(SortedKeyValueIterator<Key,Value> source, Set<Column> cols, Authorizations auths, byte[] defaultVisibility, AccumuloConfiguration conf)
Methods in org.apache.accumulo.core.util with parameters of type Key Modifier and Type Method Description boolean
ColumnFQ. hasColumns(Key key)
Method parameters in org.apache.accumulo.core.util with type arguments of type Key Modifier and Type Method Description static SortedKeyValueIterator<Key,Value>
SystemIteratorUtil. setupSystemScanIterators(SortedKeyValueIterator<Key,Value> source, Set<Column> cols, Authorizations auths, byte[] defaultVisibility, AccumuloConfiguration conf)
Constructors in org.apache.accumulo.core.util with parameters of type Key Constructor Description ColumnFQ(Key k)
-
Uses of Key in org.apache.accumulo.core.util.format
Methods in org.apache.accumulo.core.util.format that return types with arguments of type Key Modifier and Type Method Description Iterator<Map.Entry<Key,Value>>
DefaultFormatter. getScannerIterator()
Method parameters in org.apache.accumulo.core.util.format with type arguments of type Key Modifier and Type Method Description protected abstract void
AggregatingFormatter. aggregateStats(Map.Entry<Key,Value> next)
Generate statistics from eachMap.Entry
, called for each entry to be iterated over.protected void
ShardedTableDistributionFormatter. aggregateStats(Map.Entry<Key,Value> entry)
protected void
StatisticsDisplayFormatter. aggregateStats(Map.Entry<Key,Value> entry)
static String
BinaryFormatter. formatEntry(Map.Entry<Key,Value> entry, boolean printTimestamps, int shownLength)
Deprecated.String
DefaultFormatter. formatEntry(Map.Entry<Key,Value> entry)
static String
DefaultFormatter. formatEntry(Map.Entry<Key,Value> entry, boolean showTimestamps)
if showTimestamps, will useFormatterConfig.DefaultDateFormat
.
Preferably, useDefaultFormatter.formatEntry(java.util.Map.Entry, org.apache.accumulo.core.util.format.FormatterConfig)
static String
DefaultFormatter. formatEntry(Map.Entry<Key,Value> entry, DateFormat timestampFormat)
Does not show timestamps if timestampFormat is nullstatic String
DefaultFormatter. formatEntry(Map.Entry<Key,Value> entry, FormatterConfig config)
static Formatter
FormatterFactory. getDefaultFormatter(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
static Formatter
FormatterFactory. getFormatter(Class<? extends Formatter> formatterClass, Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
void
DateStringFormatter. initialize(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
Deprecated.void
DefaultFormatter. initialize(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
void
Formatter. initialize(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
void
HexFormatter. initialize(Iterable<Map.Entry<Key,Value>> scanner, FormatterConfig config)
-