class QueryHelper {

    public static final RangeQuery range(final String variableName, final long min,
        final boolean includeMin, final long max,
        final boolean includeMax) throws InvalidCreateOperationException {
        final QUERY rmin = includeMin ? QUERY.GTE : QUERY.GT;
        final QUERY rmax = includeMax ? QUERY.LTE : QUERY.LT;
        return new RangeQuery(variableName, rmin, min, rmax, max);
    }

    protected  QueryHelper();

}