Class PartitionedUpdateAction (6.66.0)

public final class PartitionedUpdateAction extends GeneratedMessageV3 implements PartitionedUpdateActionOrBuilder

PartitionedUpdateAction defines an action to execute a partitioned DML which runs different partitions in parallel.

Protobuf type google.spanner.executor.v1.PartitionedUpdateAction

Static Fields

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_FIELD_NUMBER

public static final int UPDATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PartitionedUpdateAction getDefaultInstance()
Returns
Type Description
PartitionedUpdateAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PartitionedUpdateAction.Builder newBuilder()
Returns
Type Description
PartitionedUpdateAction.Builder

newBuilder(PartitionedUpdateAction prototype)

public static PartitionedUpdateAction.Builder newBuilder(PartitionedUpdateAction prototype)
Parameter
Name Description
prototype PartitionedUpdateAction
Returns
Type Description
PartitionedUpdateAction.Builder

parseDelimitedFrom(InputStream input)

public static PartitionedUpdateAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PartitionedUpdateAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PartitionedUpdateAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PartitionedUpdateAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PartitionedUpdateAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PartitionedUpdateAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionedUpdateAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PartitionedUpdateAction> parser()
Returns
Type Description
Parser<PartitionedUpdateAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PartitionedUpdateAction getDefaultInstanceForType()
Returns
Type Description
PartitionedUpdateAction

getOptions()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptions getOptions()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
PartitionedUpdateAction.ExecutePartitionedUpdateOptions

The options.

getOptionsOrBuilder()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder getOptionsOrBuilder()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder

getParserForType()

public Parser<PartitionedUpdateAction> getParserForType()
Returns
Type Description
Parser<PartitionedUpdateAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdate()

public QueryAction getUpdate()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
QueryAction

The update.

getUpdateOrBuilder()

public QueryActionOrBuilder getUpdateOrBuilder()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
QueryActionOrBuilder

hasOptions()

public boolean hasOptions()

Options for partitioned update.

optional .google.spanner.executor.v1.PartitionedUpdateAction.ExecutePartitionedUpdateOptions options = 1;

Returns
Type Description
boolean

Whether the options field is set.

hasUpdate()

public boolean hasUpdate()

Partitioned dml query.

.google.spanner.executor.v1.QueryAction update = 2;

Returns
Type Description
boolean

Whether the update field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PartitionedUpdateAction.Builder newBuilderForType()
Returns
Type Description
PartitionedUpdateAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PartitionedUpdateAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PartitionedUpdateAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PartitionedUpdateAction.Builder toBuilder()
Returns
Type Description
PartitionedUpdateAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException