Class And<E>
- java.lang.Object
-
- com.github.longdt.vertxorm.repository.query.AbstractQuery<E>
-
- com.github.longdt.vertxorm.repository.query.And<E>
-
- All Implemented Interfaces:
Query<E>
public class And<E> extends AbstractQuery<E>
And class.
- Version:
- $Id: $Id
- Author:
- Long Dinh
-
-
Field Summary
-
Fields inherited from class com.github.longdt.vertxorm.repository.query.AbstractQuery
limit, offset, orders, params
-
-
Constructor Summary
Constructors Constructor Description And(Collection<Query<E>> childQueries)Constructor for And.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleappendQueryParams(Tuple tuple)appendQueryParams.intappendQuerySql(StringBuilder sqlBuilder, int index)appendQuerySql.Collection<Query<E>>getChildQueries()Getter for the fieldchildQueries.TuplegetQueryParams()getQueryParams.-
Methods inherited from class com.github.longdt.vertxorm.repository.query.AbstractQuery
limit, limit, offset, offset, orderBy, orderBy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.longdt.vertxorm.repository.query.Query
isConditional, orderBy, orderBy
-
-
-
-
Constructor Detail
-
And
public And(Collection<Query<E>> childQueries)
Constructor for And.
- Parameters:
childQueries- aCollectionobject.
-
-
Method Detail
-
getChildQueries
public Collection<Query<E>> getChildQueries()
Getter for the field
childQueries.- Returns:
- a
Collectionobject.
-
appendQuerySql
public int appendQuerySql(StringBuilder sqlBuilder, int index)
appendQuerySql.
- Parameters:
sqlBuilder- aStringBuilderobject.index- a int.- Returns:
- a int.
-
getQueryParams
public Tuple getQueryParams()
getQueryParams.
- Specified by:
getQueryParamsin interfaceQuery<E>- Overrides:
getQueryParamsin classAbstractQuery<E>- Returns:
- a
Tupleobject.
-
appendQueryParams
public Tuple appendQueryParams(Tuple tuple)
appendQueryParams.
- Specified by:
appendQueryParamsin interfaceQuery<E>- Overrides:
appendQueryParamsin classAbstractQuery<E>- Parameters:
tuple- aTupleobject.- Returns:
- a
Tupleobject.
-
-