|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.accumulo.core.iterators.WrappingIterator
org.apache.accumulo.core.iterators.SkippingIterator
org.apache.accumulo.core.iterators.RegExIterator
RegExFilter
public class RegExIterator
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.accumulo.core.iterators.OptionDescriber |
|---|
OptionDescriber.IteratorOptions |
| Constructor Summary | |
|---|---|
RegExIterator()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
consume()
Deprecated. |
RegExIterator |
deepCopy(IteratorEnvironment env)
Deprecated. Creates a deep copy of this iterator as though seek had not yet been called. |
OptionDescriber.IteratorOptions |
describeOptions()
Deprecated. Gets an iterator options object that contains information needed to configure this iterator. |
void |
init(SortedKeyValueIterator<Key,Value> source,
Map<String,String> options,
IteratorEnvironment env)
Deprecated. Initializes the iterator. |
static void |
setRegexs(IteratorSetting si,
String rowTerm,
String cfTerm,
String cqTerm,
String valueTerm,
boolean orFields)
Deprecated. Encode the terms to match against in the iterator |
boolean |
validateOptions(Map<String,String> options)
Deprecated. Check to see if an options map contains all options required by an iterator and that the option values are in the expected formats. |
| Methods inherited from class org.apache.accumulo.core.iterators.SkippingIterator |
|---|
next, seek |
| Methods inherited from class org.apache.accumulo.core.iterators.WrappingIterator |
|---|
getSource, getTopKey, getTopValue, hasTop, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegExIterator()
| Method Detail |
|---|
public RegExIterator deepCopy(IteratorEnvironment env)
SortedKeyValueIterator
deepCopy in interface SortedKeyValueIterator<Key,Value>deepCopy in class WrappingIteratorenv - IteratorEnvironment environment in which iterator is being run.
protected void consume()
throws IOException
consume in class SkippingIteratorIOException
public void init(SortedKeyValueIterator<Key,Value> source,
Map<String,String> options,
IteratorEnvironment env)
throws IOException
SortedKeyValueIterator
init in interface SortedKeyValueIterator<Key,Value>init in class WrappingIteratorsource - SortedKeyValueIterator source to read data from.options - Map map of string option names to option values.env - IteratorEnvironment environment in which iterator is being run.
IOException - unused.public OptionDescriber.IteratorOptions describeOptions()
OptionDescriber
describeOptions in interface OptionDescriberpublic boolean validateOptions(Map<String,String> options)
OptionDescriber
validateOptions in interface OptionDescriberoptions - a map of option names to option values
public static void setRegexs(IteratorSetting si,
String rowTerm,
String cfTerm,
String cqTerm,
String valueTerm,
boolean orFields)
si - ScanIterator config to be updatedrowTerm - the pattern to match against the Key's row. Not used if null.cfTerm - the pattern to match against the Key's column family. Not used if null.cqTerm - the pattern to match against the Key's column qualifier. Not used if null.valueTerm - the pattern to match against the Key's value. Not used if null.orFields - if true, any of the non-null terms can match to return the entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||