Class MutationGroup (6.55.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
NameDescription
mutationsMutation[]
Returns
TypeDescription
MutationGroup

of(Iterable<Mutation> mutations)

public static MutationGroup of(Iterable<Mutation> mutations)

Creates a MutationGroup given an iterable of mutations.

Parameter
NameDescription
mutationsIterable<Mutation>
Returns
TypeDescription
MutationGroup

Methods

getMutations()

public ImmutableList<Mutation> getMutations()

Returns corresponding mutations for this MutationGroup.

Returns
TypeDescription
com.google.common.collect.ImmutableList<Mutation>