@Override public OptionDescriber.IteratorOptions describeOptions() { Map<String,String> options = new HashMap<>(); options.put(OPT_MIN_CF, OPT_MIN_CF_DESC); options.put(OPT_MIN_CQ, OPT_MIN_CQ_DESC); options.put(OPT_MAX_CF, OPT_MAX_CF_DESC); options.put(OPT_MAX_CQ, OPT_MAX_CQ_DESC); options.put(OPT_MIN_INCLUSIVE, OPT_MIN_INCLUSIVE_DESC); options.put(OPT_MAX_INCLUSIVE, OPT_MAX_INCLUSIVE_DESC); return new OptionDescriber.IteratorOptions("ColumnSliceFilter", "Returns all key/value pairs where the column is between the specified values", options, Collections.emptyList()); }
@Override public IteratorOptions describeOptions() { String desc = "This iterator encapsulates an entire row of Key/Value pairs" + " into a single Key/Value pair."; String bufferDesc = "Maximum buffer size (in accumulo memory spec) to use" + " for buffering keys before throwing a BufferOverflowException."; HashMap<String,String> namedOptions = new HashMap<>(); namedOptions.put(MAX_BUFFER_SIZE_OPT, bufferDesc); return new IteratorOptions(getClass().getSimpleName(), desc, namedOptions, null); }
@Override public IteratorOptions describeOptions() { Map<String,String> options = new HashMap<>(); options.put(COLUMNS_KEY, "A comma-separated list of families"); return new IteratorOptions("OrIterator", "Produces a sorted stream of qualifiers based on families", options, Collections.emptyList()); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("agg", "Aggregators apply aggregating functions to values with identical keys", null, Collections.singletonList("<columnName> <aggregatorClass>")); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("filter", "Filter accepts or rejects each Key/Value pair", Collections.singletonMap("negate", "default false keeps k/v that pass" + " accept method, true rejects k/v that pass accept method"), null); }
@Override public OptionDescriber.IteratorOptions describeOptions() { Map<String, String> options = new TreeMap<String, String>(); options.put(TIME_RANGE_PROP, "time range from the startTime (milliseconds)"); options.put(START_TIME_PROP, "if set, use the given value as the absolute time in milliseconds as the start time in the time range."); return new OptionDescriber.IteratorOptions("timeRangeFilter", "TimeRangeFilter removes entries with timestamps outside of the given time range: " + "[startTime - timeRange, startTime]", options, null); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("FreeTextBooleanTree", "Perform a FreeText Query on properly formated table", Collections.singletonMap(queryOptionName, "the free text query"), null); }
@Override public IteratorOptions describeOptions() { String name = "firstEntry"; String desc = "Only allows iteration over the first entry per row"; HashMap<String,String> namedOptions = new HashMap<>(); namedOptions.put(NUM_SCANS_STRING_NAME, "Number of scans to try before seeking [10]"); return new IteratorOptions(name, desc, namedOptions, null); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("wholecolumnfamilyiterator", "WholeColumnFamilyIterator. Group equal row & column family into single row entry.", null, null); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("vers", "The VersioningIterator keeps a fixed number of versions for each key", Collections.singletonMap("maxVersions", "number of versions to keep for a particular key (with differing timestamps)"), null); }
@Override public IteratorOptions describeOptions() { String desc = "This iterator encapsulates an entire row of Key/Value pairs" + " into a single Key/Value pair."; String bufferDesc = "Maximum buffer size (in accumulo memory spec) to use" + " for buffering keys before throwing a BufferOverflowException."; HashMap<String,String> namedOptions = new HashMap<>(); namedOptions.put(MAX_BUFFER_SIZE_OPT, bufferDesc); return new IteratorOptions(getClass().getSimpleName(), desc, namedOptions, null); }
@Override public IteratorOptions describeOptions() { String desc = "This iterator allows ranges of key to be transformed (with" + " the exception of row transformations)."; String authDesc = "Comma-separated list of user's scan authorizations. " + "If excluded or empty, then no visibility check is performed on transformed keys."; String bufferDesc = "Maximum buffer size (in accumulo memory spec) to use" + " for buffering keys before throwing a BufferOverflowException. Users" + " should keep this limit in mind when deciding what to transform. That" + " is, if transforming the column family for example, then all keys" + " sharing the same row and column family must fit within this limit" + " (along with their associated values)"; HashMap<String,String> namedOptions = new HashMap<>(); namedOptions.put(AUTH_OPT, authDesc); namedOptions.put(MAX_BUFFER_SIZE_OPT, bufferDesc); return new IteratorOptions(getClass().getSimpleName(), desc, namedOptions, null); }
@Override public IteratorOptions describeOptions() { IteratorOptions io = new IteratorOptions("comb", "Combiners apply reduce functions to multiple versions of values with otherwise equal keys", null, null); io.addNamedOption(ALL_OPTION, "set to true to apply Combiner to every column, otherwise leave blank. if true, " + COLUMNS_OPTION + " option will be ignored."); io.addNamedOption(COLUMNS_OPTION, "<col fam>[:<col qual>]{,<col fam>[:<col qual>]} escape non-alphanum chars using %<hex>."); io.addNamedOption(REDUCE_ON_FULL_COMPACTION_ONLY_OPTION, "If true, only reduce on full major compactions. Defaults to false. "); return io; }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("filter", "Filter accepts or rejects each Key/Value pair", Collections.singletonMap("negate", "default false keeps k/v that pass" + " accept method, true rejects k/v that pass accept method"), null); }
@Override public IteratorOptions describeOptions() { String description = "This iterator suppresses rows that exceed a specified" + " number of columns. Once\n" + "a row exceeds the threshold, a marker is emitted and the row is always\n" + "suppressed by this iterator after that point in time.\n" + " This iterator works in a similar way to the RowDeletingIterator. See its\n" + " javadoc about locality groups.\n"; return new IteratorOptions(this.getClass().getSimpleName(), description, Collections.singletonMap(MAX_COLUMNS, "Number Of Columns To Begin Suppression"), null); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("keyset", SortedKeyIterator.class.getSimpleName() + " filters out values, but leaves keys intact", null, null); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("vers", "The VersioningIterator keeps a fixed number of versions for each key", Collections.singletonMap("maxVersions", "number of versions to keep for a particular key (with differing timestamps)"), null); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("debug", DebugIterator.class.getSimpleName() + " prints debug information on each SortedKeyValueIterator method invocation", null, null); }
@Override public IteratorOptions describeOptions() { return new IteratorOptions("wholecolumnfamilyiterator", "WholeColumnFamilyIterator. Group equal row & column family into single row entry.", null, null); }
@Override public IteratorOptions describeOptions() { String name = "firstEntry"; String desc = "Only allows iteration over the first entry per row"; HashMap<String,String> namedOptions = new HashMap<>(); namedOptions.put(NUM_SCANS_STRING_NAME, "Number of scans to try before seeking [10]"); return new IteratorOptions(name, desc, namedOptions, null); }