app/src/main/java/db/juhaku/juhakudb/filter/PredicateBuilder.java
/**
     * Generate limit statement for WHERE clause according page size and current page.
     *
     * @return String containing limit clause.
     *
     * @since 2.1.0
     *
     * @hide
     */
Generate limit statement for WHERE clause according page size and current page.
@return String containing limit clause.



@hide
Generate limit statement for WHERE clause according page size and current page . @return String containing limit clause . @hide
private String makePage() {
        StringBuilder page = new StringBuilder(" LIMIT ");
        if (pageSize != null && pageSize > 0) {
            page.append(String.valueOf(pageSize));
            if (this.page != null) {
                page.append(" OFFSET ").append(String.valueOf((this.page * pageSize)));
            }
            return page.toString();
        }
        return null;
    }
private String makePage ( ) { StringBuilder page = new StringBuilder ( " LIMIT " ) ; if ( pageSize != null && pageSize > 0 ) { page . append ( String . valueOf ( pageSize ) ) ; if ( this . page != null ) { page . append ( " OFFSET " ) . append ( String . valueOf ( ( this . page * pageSize ) ) ) ; } return page . toString ( ) ; } return null ; }
Generate limit statement for WHERE clause according page size and current page.
Generate limit statement for WHERE clause according page size and current page .