public class SingleValueComparator extends Object implements StreamComparator
Constructor and Description |
---|
SingleValueComparator() |
Modifier and Type | Method and Description |
---|---|
StreamComparator |
append(StreamComparator other) |
int |
compare(Tuple leftTuple,
Tuple rightTuple) |
SingleValueComparator |
copyAliased(Map<String,String> aliases) |
boolean |
isDerivedFrom(StreamComparator base) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
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 int compare(Tuple leftTuple, Tuple rightTuple)
compare
in interface Comparator<Tuple>
public boolean isDerivedFrom(StreamComparator base)
isDerivedFrom
in interface StreamComparator
public SingleValueComparator copyAliased(Map<String,String> aliases)
copyAliased
in interface StreamComparator
public StreamComparator append(StreamComparator other)
append
in interface StreamComparator
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.