ca.krasnay.sqlbuilder
Class ExistsPredicateImpl
java.lang.Object
ca.krasnay.sqlbuilder.ExistsPredicateImpl
- All Implemented Interfaces:
- ExistsPredicate, Predicate
public class ExistsPredicateImpl
- extends Object
- implements ExistsPredicate
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExistsPredicateImpl
public ExistsPredicateImpl(String table)
and
public ExistsPredicate and(Predicate predicate)
- Specified by:
and in interface ExistsPredicate
and
public ExistsPredicate and(String predicate)
- Specified by:
and in interface ExistsPredicate
init
public void init(AbstractSqlCreator creator)
- Description copied from interface:
Predicate
- Initializes the predicate. For example, this may allocate one or more
parameters from the creator and set values for the parameters. This is
called by the creator when the predicate is added to it.
- Specified by:
init in interface Predicate
join
public ExistsPredicate join(String join)
- Specified by:
join in interface ExistsPredicate
toSql
public String toSql()
- Description copied from interface:
Predicate
- Returns an SQL expression representing the predicate. Parameters may be
included preceded by a colon.
- Specified by:
toSql in interface Predicate
where
public ExistsPredicate where(Predicate predicate)
- Specified by:
where in interface ExistsPredicate
where
public ExistsPredicate where(String predicate)
- Specified by:
where in interface ExistsPredicate
Copyright © 2014. All rights reserved.