public ExecutableCommand(SpannerCommand command) { Connection = command.SpannerConnection; CommandTextBuilder = command.SpannerCommandTextBuilder; CommandTimeout = command.CommandTimeout; Partition = command.Partition; Parameters = command.Parameters; Transaction = command._transaction; }
public ExecutableCommand(SpannerCommand command) { Connection = command.SpannerConnection; CommandTextBuilder = command.SpannerCommandTextBuilder; CommandTimeout = command.CommandTimeout; Partition = command.Partition; Parameters = command.Parameters; Transaction = command._transaction; QueryOptions = command.QueryOptions; Priority = command.Priority; Tag = command.Tag; }
public ExecutableCommand(SpannerCommand command) { GaxPreconditions.CheckState(!(command.KeySet != null && command.Parameters.Count > 0), "Command may not contain both a KeySet and Parameters"); Connection = command.SpannerConnection; CommandTextBuilder = command.SpannerCommandTextBuilder; CommandTimeout = command.CommandTimeout; Partition = command.Partition; Parameters = command.Parameters; KeySet = command.KeySet; Transaction = command._transaction; QueryOptions = command.QueryOptions; Priority = command.Priority; Tag = command.Tag; }