public boolean isRestricting() {
        return limit != null || offset != null;
    }
Checks if is restricting.

@return true, if is restricting
querydsl-core/src/main/java/com/querydsl/core/QueryModifiers.java