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 T
acos(T arg)
SQL ACOS functionT
add(T left, T right)
T
and(T left, T right)
T
between(T leftValue, T rightValue)
T
bindMarker(java.lang.Double value)
T
bindMarker(java.lang.Integer value)
T
bindMarker(java.lang.Long value)
T
bindMarker(java.lang.String value)
T
bindMarker(java.math.BigDecimal value)
T
bindMarker(java.time.Instant value)
T
coalesce(java.util.List<ColumnRef> columnRefs)
Render a COALESCE(...) functionT
column(java.lang.String tableAlias, java.lang.String columnName)
T
cos(T arg)
SQL COS functionT
divide(T left, T right)
T
eq(T left, T right)
T
escape(T left, T right)
T
exists(T statement)
T
gt(T left, T right)
T
gte(T left, T right)
T
in(T leftValue, java.util.List<T> args)
T
isNotNull(T expr)
T
isNull(T expr)
T
like(T left, T right)
T
literal(java.lang.Double value)
T
literal(java.lang.Long value)
T
literal(java.lang.String value)
T
lt(T left, T right)
T
lte(T left, T right)
T
multiply(T left, T right)
T
neq(T left, T right)
T
not(T exp)
T
notExists(T statement)
T
or(T left, T right)
T
paren(T expr)
T
radians(T arg)
SQL RADIANS functionT
select(Select select)
Process a sub-select statementT
sin(T arg)
SQL SIN functionT
subtract(T left, T right)
-
-
-
Method Detail
-
literal
T literal(java.lang.String value)
-
literal
T literal(java.lang.Long value)
-
literal
T literal(java.lang.Double value)
-
column
T column(java.lang.String tableAlias, java.lang.String columnName)
-
bindMarker
T bindMarker(java.lang.Double value)
-
bindMarker
T bindMarker(java.lang.Long value)
-
bindMarker
T bindMarker(java.lang.Integer value)
-
bindMarker
T bindMarker(java.lang.String value)
-
bindMarker
T bindMarker(java.time.Instant value)
-
bindMarker
T bindMarker(java.math.BigDecimal value)
-
coalesce
T coalesce(java.util.List<ColumnRef> columnRefs)
Render a COALESCE(...) function- Parameters:
columnRefs
-- Returns:
-
-