Class PartitionId (0.27.1)

publicclass PartitionIdimplementsSerializable

Inheritance

Object > PartitionId

Implements

Serializable

Static Methods

decodeFromString(String arg0)

publicstaticPartitionIddecodeFromString(Stringarg0)
Parameter
Name Description
arg0 String
Returns
Type Description
PartitionId

encodeToString(BatchTransactionId arg0, Partition arg1)

publicstaticStringencodeToString(BatchTransactionIdarg0,Partitionarg1)
Parameters
Name Description
arg0 com.google.cloud.spanner.BatchTransactionId
arg1 com.google.cloud.spanner.Partition
Returns
Type Description
String

Methods

equals(Object arg0)

publicbooleanequals(Objectarg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

getPartition()

publicPartitiongetPartition()
Returns
Type Description
com.google.cloud.spanner.Partition

getTransactionId()

publicBatchTransactionIdgetTransactionId()
Returns
Type Description
com.google.cloud.spanner.BatchTransactionId

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.