On 03/18/2012 06:25 PM, David Medinets wrote:
A Property object used to hold key-value information used to modify
the behavior of an Interator. However, these are the methods
available:
getProperties
setProperties
hasProperties
addOption
removeOption
addOptions
clearOptions
Is there a reason why the same concept as two names? I'd like to
settle on one name and standardise.
Could we change the names to be something like
getInteratorSettingProperties? I know that some people are annoyed by
longer method names, but when searching through a code base, have
unique names is handy. Searching for a generically named method - such
as getProperties, returns a lot of false positives.
Is there a list (or example) of supported properties? For example, I
see the following options when I type 'help setiter'. How are these
options defined in code?
Take a look at
core/org/apache/accumulo/core/util/shell/commands/SetIterCommand.java.
The options are defined for each command.
-ageoff,--ageoff an aging off type
-agg,--aggregator an aggregating type
-majc,--major-compaction applied at major compaction
-minc,--minor-compaction applied at minor compaction
-regex,--regular-expression a regex matching type
-reqvis,--require-visibility a type that omits entries with
empty visibilities
-scan,--scan-time applied at scan time
-vers,--version a versioning type