use of org.jnosql.diana.api.document.DocumentCondition in project jnosql-diana by eclipse.
the class BaseQueryBuilder method gtImpl.
protected void gtImpl(Number value) {
requireNonNull(value, "value is required");
DocumentCondition newCondition = DocumentCondition.gt(Document.of(name, value));
appendCondition(newCondition);
}
use of org.jnosql.diana.api.document.DocumentCondition in project jnosql-diana by eclipse.
the class BaseQueryBuilder method likeImpl.
protected void likeImpl(String value) {
requireNonNull(value, "value is required");
DocumentCondition newCondition = DocumentCondition.like(Document.of(name, value));
appendCondition(newCondition);
}
use of org.jnosql.diana.api.document.DocumentCondition in project jnosql-diana by eclipse.
the class BaseQueryBuilder method ltImpl.
protected void ltImpl(Number value) {
requireNonNull(value, "value is required");
DocumentCondition newCondition = DocumentCondition.lt(Document.of(name, value));
appendCondition(newCondition);
}
use of org.jnosql.diana.api.document.DocumentCondition in project jnosql-diana by eclipse.
the class BaseQueryBuilder method lteImpl.
protected void lteImpl(Number value) {
requireNonNull(value, "value is required");
DocumentCondition newCondition = DocumentCondition.lte(Document.of(name, value));
appendCondition(newCondition);
}
use of org.jnosql.diana.api.document.DocumentCondition in project jnosql-diana by eclipse.
the class BaseQueryBuilder method eqImpl.
protected <T> void eqImpl(T value) {
requireNonNull(value, "value is required");
DocumentCondition newCondition = DocumentCondition.eq(Document.of(name, value));
appendCondition(newCondition);
}
Aggregations