Interface ExpNodeVisitor<T>
-
- All Known Implementing Classes:
ColumnExpNodeVisitor,DebugExpNodeVisitor,StringExpNodeVisitor
public interface ExpNodeVisitor<T>A visitor for processing expression trees (SQL predicate statements). This is used mainly to write a valid SQL statement which is handed to a database to process...we're not in the business of trying to evaluate the actual expressions here.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tacos(T arg)SQL ACOS functionTadd(T left, T right)Tand(T left, T right)Tbetween(T leftValue, T rightValue)TbindMarker(Double value)TbindMarker(Integer value)TbindMarker(Long value)TbindMarker(String value)TbindMarker(BigDecimal value)TbindMarker(Instant value)Tcoalesce(List<ColumnRef> columnRefs)Render a COALESCE(...) functionTcolumn(String tableAlias, String columnName)Tcos(T arg)SQL COS functionTdivide(T left, T right)Teq(T left, T right)Tescape(T left, T right)Texists(T statement)Tgt(T left, T right)Tgte(T left, T right)Tin(T leftValue, List<T> args)TisNotNull(T expr)TisNull(T expr)Tlike(T left, T right)Tliteral(Double value)Tliteral(Long value)Tliteral(String value)Tlt(T left, T right)Tlte(T left, T right)Tmultiply(T left, T right)Tneq(T left, T right)Tnot(T exp)TnotExists(T statement)Tor(T left, T right)Tparen(T expr)Tradians(T arg)SQL RADIANS functionTselect(Select select)Process a sub-select statementTsin(T arg)SQL SIN functionTsubtract(T left, T right)
-
-
-
Method Detail
-
bindMarker
T bindMarker(BigDecimal value)
-
coalesce
T coalesce(List<ColumnRef> columnRefs)
Render a COALESCE(...) function- Parameters:
columnRefs-- Returns:
-
-