Package com.datastax.spark.connector.writer

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


            );
        }

        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

            );
        }

        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

Related Classes of com.datastax.spark.connector.writer.WriteConf

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.