Class MutationGroup (6.68.0)

public class MutationGroup

Represents a group of Cloud Spanner mutations to be committed together.

Inheritance

java.lang.Object > MutationGroup

Static Methods

of(Mutation[] mutations)

public static MutationGroup of(Mutation[] mutations)

Creates a MutationGroup given a vararg of mutations.

Parameter
Name Description
mutations Mutation[]
Returns
Type Description
MutationGroup

of(Iterable<Mutation> mutations)

public static MutationGroup of(Iterable<Mutation> mutations)

Creates a MutationGroup given an iterable of mutations.

Parameter
Name Description
mutations Iterable<Mutation>
Returns
Type Description
MutationGroup

Methods

getMutations()

public ImmutableList<Mutation> getMutations()

Returns corresponding mutations for this MutationGroup.

Returns
Type Description
com.google.common.collect.ImmutableList<Mutation>