Class Partition

java.lang.Object
com.google.cloud.spanner.Partition
All Implemented Interfaces:
Serializable

public class Partition extends Object implements Serializable
Defines the segments of data to be read in a batch read/query context. They can be serialized and processed across several different machines or processes.
See Also:
  • Method Details

    • getPartitionToken

      public com.google.protobuf.ByteString getPartitionToken()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object