Class PartitionId (0.24.0)

public class PartitionId implements Serializable

Inheritance

Object > PartitionId

Implements

Serializable

Static Methods

decodeFromString(String arg0)

public static PartitionId decodeFromString(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
PartitionId

encodeToString(BatchTransactionId arg0, Partition arg1)

public static String encodeToString(BatchTransactionId arg0, Partition arg1)
Parameters
NameDescription
arg0com.google.cloud.spanner.BatchTransactionId
arg1com.google.cloud.spanner.Partition
Returns
TypeDescription
String

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides

getPartition()

public Partition getPartition()
Returns
TypeDescription
com.google.cloud.spanner.Partition

getTransactionId()

public BatchTransactionId getTransactionId()
Returns
TypeDescription
com.google.cloud.spanner.BatchTransactionId

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides