org.apache.accumulo.core.iterators
public class IteratorUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IteratorUtil.IteratorScope |
static class |
IteratorUtil.IterInfoComparator |
Constructor and Description |
---|
IteratorUtil() |
public static Map<String,String> generateInitialTableProperties(boolean limitVersion)
limitVersion
- include a VersioningIterator at priority 20 that retains a single version of a given K/V pair.public static int getMaxPriority(IteratorUtil.IteratorScope scope, AccumuloConfiguration conf)
protected static void parseIterConf(IteratorUtil.IteratorScope scope, List<IterInfo> iters, Map<String,Map<String,String>> allOptions, 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<IteratorSetting> iterators, 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, String context) throws IOException
IOException
public static TIteratorSetting toTIteratorSetting(IteratorSetting is)
public static IteratorSetting toIteratorSetting(TIteratorSetting tis)
public static IteratorConfig toIteratorConfig(List<IteratorSetting> iterators)
public static List<IteratorSetting> toIteratorSettings(IteratorConfig ic)
public static byte[] encodeIteratorSettings(IteratorConfig iterators)
public static byte[] encodeIteratorSettings(List<IteratorSetting> iterators)
public static List<IteratorSetting> decodeIteratorSettings(byte[] enc)
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.