org.odata4j.producer.jdbc
Class GenerateWhereClause

java.lang.Object
  extended by org.odata4j.producer.jdbc.GenerateWhereClause
All Implemented Interfaces:
ExpressionVisitor

public class GenerateWhereClause
extends Object
implements ExpressionVisitor


Constructor Summary
GenerateWhereClause(EdmEntitySet entitySet, JdbcMetadataMapping mapping)
           
 
Method Summary
 void afterDescend()
           
 void append(StringBuilder sql, List<SqlStatement.SqlParameter> params)
           
 void beforeDescend()
           
 void betweenDescend()
           
 void visit(AddExpression expr)
           
 void visit(AggregateAllFunction expr)
           
 void visit(AggregateAnyFunction expr)
           
 void visit(AndExpression expr)
           
 void visit(BinaryLiteral expr)
           
 void visit(BooleanLiteral expr)
           
 void visit(BoolParenExpression expr)
           
 void visit(ByteLiteral expr)
           
 void visit(CastExpression expr)
           
 void visit(CeilingMethodCallExpression expr)
           
 void visit(ConcatMethodCallExpression expr)
           
 void visit(DateTimeLiteral expr)
           
 void visit(DateTimeOffsetLiteral expr)
           
 void visit(DayMethodCallExpression expr)
           
 void visit(DecimalLiteral expr)
           
 void visit(DivExpression expr)
           
 void visit(DoubleLiteral expr)
           
 void visit(EndsWithMethodCallExpression expr)
           
 void visit(EntitySimpleProperty expr)
           
 void visit(EqExpression expr)
           
 void visit(FloorMethodCallExpression expr)
           
 void visit(GeExpression expr)
           
 void visit(GtExpression expr)
           
 void visit(GuidLiteral expr)
           
 void visit(HourMethodCallExpression expr)
           
 void visit(IndexOfMethodCallExpression expr)
           
 void visit(Int64Literal expr)
           
 void visit(IntegralLiteral expr)
           
 void visit(IsofExpression expr)
           
 void visit(LeExpression expr)
           
 void visit(LengthMethodCallExpression expr)
           
 void visit(LtExpression expr)
           
 void visit(MinuteMethodCallExpression expr)
           
 void visit(ModExpression expr)
           
 void visit(MonthMethodCallExpression expr)
           
 void visit(MulExpression expr)
           
 void visit(NeExpression expr)
           
 void visit(NegateExpression expr)
           
 void visit(NotExpression expr)
           
 void visit(NullLiteral expr)
           
 void visit(OrderByExpression.Direction direction)
           
 void visit(OrderByExpression expr)
           
 void visit(OrExpression expr)
           
 void visit(ParenExpression expr)
           
 void visit(ReplaceMethodCallExpression expr)
           
 void visit(RoundMethodCallExpression expr)
           
 void visit(SByteLiteral expr)
           
 void visit(SecondMethodCallExpression expr)
           
 void visit(SingleLiteral expr)
           
 void visit(StartsWithMethodCallExpression expr)
           
 void visit(String type)
           
 void visit(StringLiteral expr)
           
 void visit(SubExpression expr)
           
 void visit(SubstringMethodCallExpression expr)
           
 void visit(SubstringOfMethodCallExpression expr)
           
 void visit(TimeLiteral expr)
           
 void visit(ToLowerMethodCallExpression expr)
           
 void visit(ToUpperMethodCallExpression expr)
           
 void visit(TrimMethodCallExpression expr)
           
 void visit(YearMethodCallExpression expr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateWhereClause

public GenerateWhereClause(EdmEntitySet entitySet,
                           JdbcMetadataMapping mapping)
Method Detail

afterDescend

public void afterDescend()
Specified by:
afterDescend in interface ExpressionVisitor

append

public void append(StringBuilder sql,
                   List<SqlStatement.SqlParameter> params)

beforeDescend

public void beforeDescend()
Specified by:
beforeDescend in interface ExpressionVisitor

betweenDescend

public void betweenDescend()
Specified by:
betweenDescend in interface ExpressionVisitor

visit

public void visit(AddExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(AggregateAllFunction expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(AggregateAnyFunction expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(AndExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(BinaryLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(BooleanLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(BoolParenExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(ByteLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(CastExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(CeilingMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(ConcatMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(DateTimeLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(DateTimeOffsetLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(DayMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(DecimalLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(DivExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(DoubleLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(EndsWithMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(EntitySimpleProperty expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(EqExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(FloorMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(GeExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(GtExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(GuidLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(HourMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(IndexOfMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(Int64Literal expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(IntegralLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(IsofExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(LeExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(LengthMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(LtExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(MinuteMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(ModExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(MonthMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(MulExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(NeExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(NegateExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(NotExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(NullLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(OrderByExpression.Direction direction)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(OrderByExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(OrExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(ParenExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(ReplaceMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(RoundMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(SByteLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(SecondMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(SingleLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(StartsWithMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(String type)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(StringLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(SubExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(SubstringMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(SubstringOfMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(TimeLiteral expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(ToLowerMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(ToUpperMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(TrimMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor

visit

public void visit(YearMethodCallExpression expr)
Specified by:
visit in interface ExpressionVisitor


http://odata4j.org