StructType

com.google.spanner.v1.`type`.StructType
See theStructType companion class
object StructType extends GeneratedMessageCompanion[StructType]

Attributes

Companion
class
Source
StructType.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[StructType]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
StructType.type

Members list

Type members

Classlikes

final case class Field(name: String, `type`: Option[Type], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Field]

Message representing a single field of a struct.

Message representing a single field of a struct.

Value parameters

name

The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., "Word" in the query "SELECT 'hello' AS Word"), or the column name (e.g., "ColName" in the query "SELECT ColName FROM Table"). Some columns might have an empty name (e.g., "SELECT UPPER(ColName)"). Note that a query result can contain multiple fields with the same name.

type

The type of the field.

Attributes

Companion
object
Source
StructType.scala
Supertypes
trait Updatable[Field]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Field extends GeneratedMessageCompanion[Field]

Attributes

Companion
class
Source
StructType.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Field]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Field.type
implicit class StructTypeLens[UpperPB](_l: Lens[UpperPB, StructType]) extends ObjectLens[UpperPB, StructType]

Attributes

Source
StructType.scala
Supertypes
class ObjectLens[UpperPB, StructType]
trait Lens[UpperPB, StructType]
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]

Attributes

Source
StructType.scala
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
StructType.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source
StructType.scala
def of(fields: Seq[Field]): StructType

Attributes

Source
StructType.scala
def parseFrom(`_input__`: CodedInputStream): StructType

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
StructType.scala
def scalaDescriptor: Descriptor

Attributes

Source
StructType.scala

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def merge(a: StructType, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def toByteArray(a: StructType): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

final val FIELDS_FIELD_NUMBER: 1

Attributes

Source
StructType.scala

Attributes

Source
StructType.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source
StructType.scala

Implicits

Implicits

final implicit def StructTypeLens[UpperPB](_l: Lens[UpperPB, StructType]): StructTypeLens[UpperPB]

Attributes

Source
StructType.scala
implicit def messageCompanion: GeneratedMessageCompanion[StructType]

Attributes

Source
StructType.scala
implicit def messageReads: Reads[StructType]

Attributes

Source
StructType.scala