Class PartitionedUpdateAction (6.56.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
TypeDescription
int

UPDATE_FIELD_NUMBER

public static final int UPDATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PartitionedUpdateAction getDefaultInstance()
Returns
TypeDescription
PartitionedUpdateAction

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PartitionedUpdateAction.Builder newBuilder()
Returns
TypeDescription
PartitionedUpdateAction.Builder

newBuilder(PartitionedUpdateAction prototype)

public static PartitionedUpdateAction.Builder newBuilder(PartitionedUpdateAction prototype)
Parameter
NameDescription
prototypePartitionedUpdateAction
Returns
TypeDescription
PartitionedUpdateAction.Builder

parseDelimitedFrom(InputStream input)

public static PartitionedUpdateAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PartitionedUpdateAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PartitionedUpdateAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PartitionedUpdateAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PartitionedUpdateAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PartitionedUpdateAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PartitionedUpdateAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionedUpdateAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PartitionedUpdateAction> parser()
Returns
TypeDescription
Parser<PartitionedUpdateAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PartitionedUpdateAction getDefaultInstanceForType()
Returns
TypeDescription
PartitionedUpdateAction

getOptions()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptions getOptions()

Options for partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction.ExecutePartitionedUpdateOptions

The options.

getOptionsOrBuilder()

public PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder getOptionsOrBuilder()

Options for partitioned update.

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

Returns
TypeDescription
PartitionedUpdateAction.ExecutePartitionedUpdateOptionsOrBuilder

getParserForType()

public Parser<PartitionedUpdateAction> getParserForType()
Returns
TypeDescription
Parser<PartitionedUpdateAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdate()

public QueryAction getUpdate()

Partitioned dml query.

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

Returns
TypeDescription
QueryAction

The update.

getUpdateOrBuilder()

public QueryActionOrBuilder getUpdateOrBuilder()

Partitioned dml query.

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

Returns
TypeDescription
QueryActionOrBuilder

hasOptions()

public boolean hasOptions()

Options for partitioned update.

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

Returns
TypeDescription
boolean

Whether the options field is set.

hasUpdate()

public boolean hasUpdate()

Partitioned dml query.

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

Returns
TypeDescription
boolean

Whether the update field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PartitionedUpdateAction.Builder newBuilderForType()
Returns
TypeDescription
PartitionedUpdateAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PartitionedUpdateAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PartitionedUpdateAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PartitionedUpdateAction.Builder toBuilder()
Returns
TypeDescription
PartitionedUpdateAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException