Package org.apache.jackrabbit.oak.plugins.document.rdb

Examples of org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore


         * @return this
         */
        public Builder setRDBConnection(String jdbcurl, String username, String password) {
            // TODO maybe we need different connections for document store and
            // node store
            this.documentStore = new RDBDocumentStore(jdbcurl, username, password);
            this.blobStore = new RDBBlobStore(jdbcurl, username, password);
            return this;
        }
View Full Code Here


         *
         * @return this
         */
        public Builder setRDBConnection(String dsjdbcurl, String dsusername, String dspassword, String bsjdbcurl,
                String bsusername, String bspassword) {
            this.documentStore = new RDBDocumentStore(dsjdbcurl, dsusername, dspassword);
            this.blobStore = new RDBBlobStore(bsjdbcurl, bsusername, bspassword);
            return this;
        }
View Full Code Here

         * stores.
         *
         * @return this
         */
        public Builder setRDBConnection(DataSource ds) {
            this.documentStore = new RDBDocumentStore(ds);
            this.blobStore = new RDBBlobStore(ds);
            return this;
        }
View Full Code Here

         * stores.
         *
         * @return this
         */
        public Builder setRDBConnection(DataSource documentStoreDataSource, DataSource blobStoreDataSource) {
            this.documentStore = new RDBDocumentStore(documentStoreDataSource);
            this.blobStore = new RDBBlobStore(blobStoreDataSource);
            return this;
        }
View Full Code Here

        public RDBFixture(String name, String url, String username, String passwd) {
            this.name = name;
            try {
                DataSource datas = RDBDataSourceFactory.forJdbcUrl(url, username, passwd);
                this.ds = new RDBDocumentStore(datas, new DocumentMK.Builder());
            } catch (Exception ex) {
                LOG.info("Database instance not available at " + url + ", skipping tests...", ex);
            }
        }
View Full Code Here

         * stores.
         *
         * @return this
         */
        public Builder setRDBConnection(DataSource ds) {
            this.documentStore = new RDBDocumentStore(ds, this);
            this.blobStore = new RDBBlobStore(ds);
            return this;
        }
View Full Code Here

         * stores.
         *
         * @return this
         */
        public Builder setRDBConnection(DataSource documentStoreDataSource, DataSource blobStoreDataSource) {
            this.documentStore = new RDBDocumentStore(documentStoreDataSource, this);
            this.blobStore = new RDBBlobStore(blobStoreDataSource);
            return this;
        }
View Full Code Here

         * stores.
         *
         * @return this
         */
        public Builder setRDBConnection(DataSource ds) {
            this.documentStore = new RDBDocumentStore(ds, this);
            this.blobStore = new RDBBlobStore(ds);
            return this;
        }
View Full Code Here

         * stores.
         *
         * @return this
         */
        public Builder setRDBConnection(DataSource documentStoreDataSource, DataSource blobStoreDataSource) {
            this.documentStore = new RDBDocumentStore(documentStoreDataSource, this);
            this.blobStore = new RDBBlobStore(blobStoreDataSource);
            return this;
        }
View Full Code Here

         * @return this
         */
        public Builder setRDBConnection(String jdbcurl, String username, String password) {
            // TODO maybe we need different connections for document store and
            // node store
            this.documentStore = new RDBDocumentStore(jdbcurl, username, password);
            this.blobStore = new RDBBlobStore(jdbcurl, username, password);
            return this;
        }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.