Examples of WriteConf


Examples of com.datastax.spark.connector.writer.WriteConf

            return new WriterBuilder<>(functions, keyspaceName, tableName, rowWriterFactory, columnSelector, connector, writeConf);
        }

        public WriterBuilder<T> withBatchSize(BatchSize batchSize) {
            return new WriterBuilder<>(functions, keyspaceName, tableName, rowWriterFactory, columnSelector, connector,
                    new WriteConf(batchSize, writeConf.consistencyLevel(), writeConf.parallelismLevel())
            );
        }
View Full Code Here

Examples of com.datastax.spark.connector.writer.WriteConf

            );
        }

        public WriterBuilder<T> withConsistencyLevel(ConsistencyLevel consistencyLevel) {
            return new WriterBuilder<>(functions, keyspaceName, tableName, rowWriterFactory, columnSelector, connector,
                    new WriteConf(writeConf.batchSize(), consistencyLevel, writeConf.parallelismLevel())
            );
        }
View Full Code Here

Examples of com.datastax.spark.connector.writer.WriteConf

            );
        }

        public WriterBuilder<T> withParallelismLevel(int parallelismLevel) {
            return new WriterBuilder<>(functions, keyspaceName, tableName, rowWriterFactory, columnSelector, connector,
                    new WriteConf(writeConf.batchSize(), writeConf.consistencyLevel(), parallelismLevel)
            );
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.