public abstract class BinaryOperatorFilter extends Object implements RecordPathFilter
| Modifier and Type | Field and Description |
|---|---|
private RecordPathSegment |
lhs |
private RecordPathSegment |
rhs |
| Constructor and Description |
|---|
BinaryOperatorFilter(RecordPathSegment lhs,
RecordPathSegment rhs) |
| Modifier and Type | Method and Description |
|---|---|
Stream<FieldValue> |
filter(RecordPathEvaluationContext context,
boolean invert) |
protected abstract String |
getOperator() |
Stream<FieldValue> |
mapToBoolean(RecordPathEvaluationContext context) |
protected abstract boolean |
test(FieldValue fieldValue,
Object rhsValue) |
String |
toString() |
private final RecordPathSegment lhs
private final RecordPathSegment rhs
public BinaryOperatorFilter(RecordPathSegment lhs, RecordPathSegment rhs)
public Stream<FieldValue> filter(RecordPathEvaluationContext context, boolean invert)
filter in interface RecordPathFilterpublic Stream<FieldValue> mapToBoolean(RecordPathEvaluationContext context)
mapToBoolean in interface RecordPathFilterprotected abstract String getOperator()
protected abstract boolean test(FieldValue fieldValue, Object rhsValue)
Copyright © 2023 Apache NiFi Project. All rights reserved.