/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(JsonObject right) { return between(x(right)); }
/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(String right) { return between(x(right)); }
/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(float right) { return between(x(right)); }
/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(double right) { return between(x(right)); }
/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(int right) { return between(x(right)); }
/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(long right) { return between(x(right)); }
/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(boolean right) { return between(x(right)); }
/** * Adds a BETWEEN clause between the current and the given expression. * * @param right the right hand side expression. * @return a new expression with the clause applied. */ public Expression between(JsonArray right) { return between(x(right)); }
return x(document.getName()).in(x(PARAM_PREFIX + document.getName())); case BETWEEN: return x(document.getName()).between(x(PARAM_PREFIX + document.getName())); case AND: return document.get(new TypeReference<List<DocumentCondition>>() {
switch (partType) { case BETWEEN: exp = left.between(x(getPlaceHolder(position, ignoreCase)).and(x(getPlaceHolder(position, ignoreCase)))); placeHolderValues.add(getValue(parameterValues)); placeHolderValues.add(getValue(parameterValues));
switch (partType) { case BETWEEN: exp = left.between(x(getPlaceHolder(position, ignoreCase)).and(x(getPlaceHolder(position, ignoreCase)))); placeHolderValues.add(getValue(parameterValues)); placeHolderValues.add(getValue(parameterValues));