Uses of Interface
net.amrhassan.sqlbuilder.restrictions.SqlRestriction

Packages that use SqlRestriction
net.amrhassan.sqlbuilder   
net.amrhassan.sqlbuilder.restrictions   
net.amrhassan.sqlbuilder.sources   
 

Uses of SqlRestriction in net.amrhassan.sqlbuilder
 

Methods in net.amrhassan.sqlbuilder with parameters of type SqlRestriction
 void SelectSqlStatement.setRestriction(SqlRestriction restriction)
          The restrictions used in the WHERE clause
 

Uses of SqlRestriction in net.amrhassan.sqlbuilder.restrictions
 

Methods in net.amrhassan.sqlbuilder.restrictions that return SqlRestriction
static SqlRestriction SqlRestrictions.and(Collection<SqlRestriction> restrictions)
          AND combination of restrictions
static SqlRestriction SqlRestrictions.and(SqlRestriction... restrictions)
          AND combination of restrictions
static SqlRestriction SqlRestrictions.between(String field)
          The specified field falls inside a range; (field BETWEEN ? AND ?).
static SqlRestriction SqlRestrictions.between(String field, String lowerBound, String upperBound)
          The specified field falls inside a range; (field BETWEEN lowerBound AND upperBound).
static SqlRestriction SqlRestrictions.eq(String field)
          Equality between the provided field name and '?'
static SqlRestriction SqlRestrictions.eq(String lhs, String rhs)
          Equality between two operands (lhs = rhs).
static SqlRestriction SqlRestrictions.gt(String field)
          The specified field is greater-than another operand specified by a '?' character
static SqlRestriction SqlRestrictions.gte(String field)
          The specified field is greater-than-or-equal to another operand specified by a '?' character
static SqlRestriction SqlRestrictions.in(String field, int operandCount)
          The specified field is in a list of provided parameters; (field IN (?,?,?,...))
static SqlRestriction SqlRestrictions.in(String field, SelectSqlStatement selectStatement)
          The specified field lies in the result of the provided sub-query
static SqlRestriction SqlRestrictions.lt(String field)
          The specified field is less-than another operand specified by a '?' character
static SqlRestriction SqlRestrictions.lte(String field)
          The specified field is less-than-or-equal to another operand specified by a '?' character
 

Methods in net.amrhassan.sqlbuilder.restrictions with parameters of type SqlRestriction
static SqlRestriction SqlRestrictions.and(SqlRestriction... restrictions)
          AND combination of restrictions
 

Method parameters in net.amrhassan.sqlbuilder.restrictions with type arguments of type SqlRestriction
static SqlRestriction SqlRestrictions.and(Collection<SqlRestriction> restrictions)
          AND combination of restrictions
 

Uses of SqlRestriction in net.amrhassan.sqlbuilder.sources
 

Methods in net.amrhassan.sqlbuilder.sources with parameters of type SqlRestriction
static SqlSource SqlSources.fullJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1, net.amrhassan.sqlbuilder.sources.TableSqlSource table2, SqlRestriction on)
          A FULL JOIN where the restriction is used for the ON clause
static SqlSource SqlSources.join(net.amrhassan.sqlbuilder.sources.TableSqlSource table1, net.amrhassan.sqlbuilder.sources.TableSqlSource table2, SqlRestriction on)
          A simple JOIN source where the restriction is used for the ON clause
static SqlSource SqlSources.leftJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1, net.amrhassan.sqlbuilder.sources.TableSqlSource table2, SqlRestriction on)
          A LEFT JOIN source where the restriction is used for the ON clause
static SqlSource SqlSources.rightJoin(net.amrhassan.sqlbuilder.sources.TableSqlSource table1, net.amrhassan.sqlbuilder.sources.TableSqlSource table2, SqlRestriction on)
          A RIGHT JOIN where the restriction is used for the ON clause
 



Copyright © 2013. All Rights Reserved.