Class SimpleBuilders.MutationBuilder

    • Constructor Detail

      • MutationBuilder

        public MutationBuilder​(java.lang.String keyspaceName,
                               DecoratedKey key)
    • Method Detail

      • update

        public PartitionUpdate.SimpleBuilder update​(TableMetadata metadata)
        Description copied from interface: Mutation.SimpleBuilder
        Adds an update for table identified by the provided metadata and return a builder for that partition.
        Specified by:
        update in interface Mutation.SimpleBuilder
        Parameters:
        metadata - the metadata of the table for which to add an update.
        Returns:
        a builder for the partition identified by metadata (and the partition key for which this is a mutation of).
      • update

        public PartitionUpdate.SimpleBuilder update​(java.lang.String tableName)
        Description copied from interface: Mutation.SimpleBuilder
        Adds an update for table identified by the provided name and return a builder for that partition.
        Specified by:
        update in interface Mutation.SimpleBuilder
        Parameters:
        tableName - the name of the table for which to add an update.
        Returns:
        a builder for the partition identified by metadata (and the partition key for which this is a mutation of).