public interface OptionDescriber
describeOptions()
which returns an
instance of OptionDescriber.IteratorOptions
and validateOptions(Map<String,String> options)
which
is intended to throw an exception or return false if the options are not acceptable.Modifier and Type | Interface and Description |
---|---|
static class |
OptionDescriber.IteratorOptions |
Modifier and Type | Method and Description |
---|---|
OptionDescriber.IteratorOptions |
describeOptions()
Gets an iterator options object that contains information needed to configure this iterator.
|
boolean |
validateOptions(Map<String,String> options)
Check to see if an options map contains all options required by an iterator and that the option
values are in the expected formats.
|
OptionDescriber.IteratorOptions describeOptions()
boolean validateOptions(Map<String,String> options)
options
- a map of option names to option valuesIllegalArgumentException
- if there are problems with the optionsCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.