public class NestedRegexFilter<Node,Results> extends NestedBaseOperation<Node,Results,java.util.regex.Matcher[]> implements cascading.operation.Filter<java.util.regex.Matcher[]>
Filter implementations that want to filter a tuple stream
based on the values in a nested object tree.
Tuple instances are retained if any of the Pattern instances match.
By default a null value will throw an OperationException unless failOnMissingNode is true,
the null will be converted to an empty string before being passed to a pattern for matching.
Note that a wildcard or descent pointer can be used which may return multiple elements, each of which will be tested, and any match will trigger the filter.
Use the Not filter to negate this filter.
nestedCoercibleType| Constructor and Description |
|---|
NestedRegexFilter(NestedCoercibleType<Node,Results> nestedCoercibleType,
java.lang.String pointer,
java.util.List<java.util.regex.Pattern> patterns,
boolean failOnMissingNode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRemove(cascading.flow.FlowProcess flowProcess,
cascading.operation.FilterCall<java.util.regex.Matcher[]> filterCall) |
void |
prepare(cascading.flow.FlowProcess flowProcess,
cascading.operation.OperationCall<java.util.regex.Matcher[]> operationCall) |
deepCopy, getCoercibleType, getLiteralNode, getNestedPointerCompiler, getRootNode, iterable, sizecleanup, equals, flush, getFieldDeclaration, getNumArgs, getTrace, hashCode, isSafe, printOperationInternal, toString, toStringInternalpublic NestedRegexFilter(NestedCoercibleType<Node,Results> nestedCoercibleType, java.lang.String pointer, java.util.List<java.util.regex.Pattern> patterns, boolean failOnMissingNode)
public void prepare(cascading.flow.FlowProcess flowProcess, cascading.operation.OperationCall<java.util.regex.Matcher[]> operationCall)
prepare in interface cascading.operation.Operation<java.util.regex.Matcher[]>prepare in class cascading.operation.BaseOperation<java.util.regex.Matcher[]>public boolean isRemove(cascading.flow.FlowProcess flowProcess, cascading.operation.FilterCall<java.util.regex.Matcher[]> filterCall)
isRemove in interface cascading.operation.Filter<java.util.regex.Matcher[]>Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.