public class IteratorUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IteratorUtil.IteratorScope |
static class |
IteratorUtil.IterInfoComparator |
Constructor and Description |
---|
IteratorUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
findIterator(IteratorUtil.IteratorScope scope,
String className,
AccumuloConfiguration conf,
Map<String,String> opts) |
static Map<String,String> |
generateAggTableProperties(List<? extends PerColumnIteratorConfig> aggregators)
Deprecated.
since 1.4
|
static Map<String,String> |
generateInitialTableProperties() |
static int |
getMaxPriority(IteratorUtil.IteratorScope scope,
AccumuloConfiguration conf) |
static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> |
loadIterators(IteratorUtil.IteratorScope scope,
SortedKeyValueIterator<K,V> source,
KeyExtent extent,
AccumuloConfiguration conf,
IteratorEnvironment env) |
static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> |
loadIterators(IteratorUtil.IteratorScope scope,
SortedKeyValueIterator<K,V> source,
KeyExtent extent,
AccumuloConfiguration conf,
List<IterInfo> ssiList,
Map<String,Map<String,String>> ssio,
IteratorEnvironment env) |
static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> |
loadIterators(IteratorUtil.IteratorScope scope,
SortedKeyValueIterator<K,V> source,
KeyExtent extent,
AccumuloConfiguration conf,
List<IterInfo> ssiList,
Map<String,Map<String,String>> ssio,
IteratorEnvironment env,
boolean useAccumuloClassLoader) |
static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> |
loadIterators(SortedKeyValueIterator<K,V> source,
Collection<IterInfo> iters,
Map<String,Map<String,String>> iterOpts,
IteratorEnvironment env,
boolean useAccumuloClassLoader) |
static Range |
maximizeStartKeyTimeStamp(Range range) |
static Range |
minimizeEndKeyTimeStamp(Range range) |
public static Map<String,String> generateAggTableProperties(List<? extends PerColumnIteratorConfig> aggregators)
aggregators
- TableOperations.attachIterator(String, IteratorSetting)
public static int getMaxPriority(IteratorUtil.IteratorScope scope, AccumuloConfiguration conf)
public static String findIterator(IteratorUtil.IteratorScope scope, String className, AccumuloConfiguration conf, Map<String,String> opts)
public static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> SortedKeyValueIterator<K,V> loadIterators(IteratorUtil.IteratorScope scope, SortedKeyValueIterator<K,V> source, KeyExtent extent, AccumuloConfiguration conf, IteratorEnvironment env) throws IOException
IOException
public static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> SortedKeyValueIterator<K,V> loadIterators(IteratorUtil.IteratorScope scope, SortedKeyValueIterator<K,V> source, KeyExtent extent, AccumuloConfiguration conf, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, IteratorEnvironment env) throws IOException
IOException
public static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> SortedKeyValueIterator<K,V> loadIterators(IteratorUtil.IteratorScope scope, SortedKeyValueIterator<K,V> source, KeyExtent extent, AccumuloConfiguration conf, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, IteratorEnvironment env, boolean useAccumuloClassLoader) throws IOException
IOException
public static <K extends org.apache.hadoop.io.WritableComparable<?>,V extends org.apache.hadoop.io.Writable> SortedKeyValueIterator<K,V> loadIterators(SortedKeyValueIterator<K,V> source, Collection<IterInfo> iters, Map<String,Map<String,String>> iterOpts, IteratorEnvironment env, boolean useAccumuloClassLoader) throws IOException
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.