private QueryBuilder populateBetweenFilter ( BetweenExpression betweenExpression , EntityMetadata m ) { String lowerBoundExpression = getBetweenBoundaryValues ( betweenExpression . getLowerBoundExpression ( ) ) ; String upperBoundExpression = getBetweenBoundaryValues ( betweenExpression . getUpperBoundExpression ( ) ) ; String field = getField ( betweenExpression . getExpression ( ) . toParsedText ( ) ) ; log . debug ( "Between clause for field " + field + "with lower bound " + lowerBoundExpression + "and upper bound " + upperBoundExpression ) ; return new AndQueryBuilder ( getFilter ( kunderaQuery . new FilterClause ( field , Expression . GREATER_THAN_OR_EQUAL , lowerBoundExpression , field ) , m ) , getFilter ( kunderaQuery . new FilterClause ( field , Expression . LOWER_THAN_OR_EQUAL , upperBoundExpression , field ) , m ) ) ; }
Populate between filter .