Interface Comparison
- All Known Implementing Classes:
StandardComparison
public interface Comparison
A method of comparing two strings
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn instance ofComparisonwhich is bound to an expression. -
Method Summary
Modifier and TypeMethodDescriptionvoidappendSql(PreparedStatementBuilder builder) Returns the comparison operator in SQL formCreates aComparison.CompiledExpressionfor the given expressionGets the symbol which represents this comparison
-
Method Details
-
getSymbol
String getSymbol()Gets the symbol which represents this comparison- Returns:
- the comparison symbol
-
compile
Creates aComparison.CompiledExpressionfor the given expression- Parameters:
expression- the expression- Returns:
- the compiled expression
-
appendSql
Returns the comparison operator in SQL form
-