Send feedback
Class PartitionId (6.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.54.0 keyboard_arrow_down
public class PartitionId implements Serializable
Contains a reference to a BatchTransactionId and a Partition . The combination of
these two are needed to execute a partition of a partitioned query on a Connection . A
PartitionId can safely be given to a different connection and/or host to be executed
there.
Inheritance
Object >
PartitionId
Static Methods
decodeFromString(String id)
public static PartitionId decodeFromString ( String id )
Parameter Name Description id
String
encodeToString(BatchTransactionId transactionId, Partition partition)
public static String encodeToString ( BatchTransactionId transactionId , Partition partition )
Returns Type Description String
A string-encoded version of this PartitionId . This encoded version can be sent
to any other Connection to be executed there, including connections on different
hosts than the current host.
Methods
equals(Object o)
public boolean equals ( Object o )
Parameter Name Description o
Object
Overrides
getPartition()
public Partition getPartition ()
getTransactionId()
public BatchTransactionId getTransactionId ()
hashCode()
Returns Type Description int
Overrides
Send feedback
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 2024-08-21 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"last_modified": "Last updated 2024-08-21 UTC.",
"state": ""
}