Class CassandraBulkWriterContext

  • All Implemented Interfaces:
    com.esotericsoftware.kryo.KryoSerializable, BulkWriterContext

    public class CassandraBulkWriterContext
    extends AbstractBulkWriterContext
    BulkWriterContext implementation for single cluster write operations.

    This class does NOT have a serialVersionUID because it is never directly serialized. See AbstractBulkWriterContext for details on the serialization architecture.

    • Constructor Detail

      • CassandraBulkWriterContext

        protected CassandraBulkWriterContext​(@NotNull
                                             BulkSparkConf conf,
                                             @NotNull
                                             org.apache.spark.sql.types.StructType structType,
                                             int sparkDefaultParallelism)
      • CassandraBulkWriterContext

        protected CassandraBulkWriterContext​(@NotNull
                                             BulkWriterConfig config)
        Constructor used by BulkWriterContext.from(BulkWriterConfig) factory method. This constructor is only used on executors to reconstruct context from broadcast config.
        Parameters:
        config - immutable configuration for the bulk writer