public interface TupleComparator
TupleComparator abstracts comparison of tuples.| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(Tuple expected,
Tuple actual)
Compare two tuples.
|
boolean |
compareValues(CompleteDataType cdt,
Object expected,
Object actual)
Compare two values with
CompleteDataType cdt. |
String |
formatForErrorMessage(Tuple t)
Convert the provided Tuple into a string appropriate for error messages.
|
boolean compare(Tuple expected, Tuple actual) throws StreamBaseException
expected - The expected valueactual - The actual valueStreamBaseExceptionboolean compareValues(CompleteDataType cdt, Object expected, Object actual) throws StreamBaseException
CompleteDataType cdt.cdt - The CompleteDataType for the objects being comparedexpected - The expected valueactual - The actual valueStreamBaseExceptionCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.