u-next / dbflute-example-with-non-rdb

example for DBFlute with non-RDB storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DBFlute Example with non-RDB

example project for DBFlute with non-RDB

LastaFlute:
https://github.com/dbflute-example/dbflute-example-with-non-rdb

Generators for Non RDBs

ESFlute for Elasticsearch

PagingResultBean<Product> productPage = productBhv.selectPage(cb -> {
    cb.query().setProductName_MatchPhrase(form.productName);
    cb.query().setProductStatusCode_Equal(form.productStatus);
    cb.query().addOrderBy_ProductName_Asc();
    cb.query().addOrderBy_Id_Asc();
    cb.paging(4, pageNumber);
});

contributed by CodeLibs Project: https://github.com/codelibs

SolrFlute for Solr

SolrPagingResultBean<SolrExample> result = solrExampleBhv.selectPage(cb -> {
    cb.query().setLatestPurchaseDate_RangeSearchFrom(from);
    cb.paging(10, 1);
});

contributed by U-NEXT: http://video.unext.jp/

KVSFlute for KVS (Redis)

OptionalEntity<Product> result = kvsProductBhv.selectEntityByProductId(cb -> {
    cb.query().setProductId_Equal(productId);
});

contributed by U-NEXT: http://video.unext.jp/

Quick Trial

*ReplaceSchema

// call manage.sh at dbflute-example-with-non-rdb/dbflute_maihamadb
// and select replace-schema in displayed menu
...:dbflute_maihamadb ...$ sh manage.sh

*main() method

public class NonrdbBoot {

    public static void main(String[] args) {
        new JettyBoot(8175, "/nonrdb").asDevelopment(isNoneEnv()).bootAwait();
    }
}

Information

License

Apache License 2.0

Official site

comming soon...

About

example for DBFlute with non-RDB storage

License:Apache License 2.0


Languages

Language:Java 87.0%Language:HTML 7.1%Language:XSLT 3.9%Language:Batchfile 0.7%Language:CSS 0.6%Language:Shell 0.5%Language:Perl 0.2%Language:Python 0.1%Language:JavaScript 0.0%Language:Groff 0.0%