PartitionOptions

com.google.spanner.v1.spanner.PartitionOptions
See thePartitionOptions companion object
final case class PartitionOptions(partitionSizeBytes: Long, maxPartitions: Long, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PartitionOptions]

Options for a PartitionQueryRequest and PartitionReadRequest.

Value parameters

maxPartitions

Note: This hint is currently ignored by PartitionQuery and PartitionRead requests. The desired maximum number of partitions to return. For example, this may be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned may be smaller or larger than this maximum count request.

partitionSizeBytes

Note: This hint is currently ignored by PartitionQuery and PartitionRead requests. The desired data size for each partition generated. The default for this option is currently 1 GiB. This is only a hint. The actual size of each partition may be smaller or larger than this size request.

Attributes

Companion
object
Source
PartitionOptions.scala
Graph
Supertypes
trait Updatable[PartitionOptions]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
PartitionOptions.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
PartitionOptions.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
PartitionOptions.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
PartitionOptions.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
PartitionOptions.scala

Attributes

Source
PartitionOptions.scala

Attributes

Source
PartitionOptions.scala
def withUnknownFields(`__v`: UnknownFieldSet): PartitionOptions

Attributes

Source
PartitionOptions.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
PartitionOptions.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala