public class FieldEqualitor extends Object implements StreamEqualitor
Constructor and Description |
---|
FieldEqualitor(String fieldName) |
FieldEqualitor(String leftFieldName,
String rightFieldName) |
Modifier and Type | Method and Description |
---|---|
String |
getLeftFieldName() |
String |
getRightFieldName() |
boolean |
isDerivedFrom(StreamComparator base) |
boolean |
isDerivedFrom(StreamEqualitor base) |
boolean |
test(Tuple leftTuple,
Tuple rightTuple) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
public FieldEqualitor(String fieldName)
public StreamExpressionParameter toExpression(StreamFactory factory)
toExpression
in interface Expressible
public Explanation toExplanation(StreamFactory factory) throws IOException
Expressible
toExplanation
in interface Expressible
factory
- Stream factory for this, contains information about the function nameIOException
- throw on any errorpublic String getLeftFieldName()
public String getRightFieldName()
public boolean isDerivedFrom(StreamEqualitor base)
isDerivedFrom
in interface StreamEqualitor
public boolean isDerivedFrom(StreamComparator base)
isDerivedFrom
in interface StreamEqualitor
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.