TypeAnnotationCode

com.google.spanner.v1.`type`.TypeAnnotationCode
See theTypeAnnotationCode companion class
object TypeAnnotationCode extends GeneratedEnumCompanion[TypeAnnotationCode]

Attributes

Companion
class
Source
TypeAnnotationCode.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[TypeAnnotationCode]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

case object PG_JSONB extends TypeAnnotationCode, Recognized

PostgreSQL compatible JSONB type.

PostgreSQL compatible JSONB type. This annotation needs to be applied to [Type][google.spanner.v1.Type] instances having [JSON][google.spanner.v1.TypeCode.JSON] type code to specify that values of this type should be treated as PostgreSQL JSONB values. Currently this annotation is always needed for [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled Spanner databases.

Attributes

Source
TypeAnnotationCode.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PG_JSONB.type

PostgreSQL compatible NUMERIC type.

PostgreSQL compatible NUMERIC type. This annotation needs to be applied to [Type][google.spanner.v1.Type] instances having [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] type code to specify that values of this type should be treated as PostgreSQL NUMERIC values. Currently this annotation is always needed for [NUMERIC][google.spanner.v1.TypeCode.NUMERIC] when a client interacts with PostgreSQL-enabled Spanner databases.

Attributes

Source
TypeAnnotationCode.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PG_NUMERIC.type
case object PG_OID extends TypeAnnotationCode, Recognized

PostgreSQL compatible OID type.

PostgreSQL compatible OID type. This annotation can be used by a client interacting with PostgreSQL-enabled Spanner database to specify that a value should be treated using the semantics of the OID type.

Attributes

Source
TypeAnnotationCode.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
PG_OID.type
sealed trait Recognized extends TypeAnnotationCode

Attributes

Source
TypeAnnotationCode.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object PG_JSONB.type
object PG_NUMERIC.type
object PG_OID.type

Not specified.

Not specified.

Attributes

Source
TypeAnnotationCode.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
final case class Unrecognized(unrecognizedValue: Int) extends TypeAnnotationCode, UnrecognizedEnum

Attributes

Source
TypeAnnotationCode.scala
Supertypes
trait UnrecognizedEnum
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
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:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def fromValue(`__value`: Int): TypeAnnotationCode

Attributes

Source
TypeAnnotationCode.scala
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum.

Returns the Java descriptors for this enum. 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
TypeAnnotationCode.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source
TypeAnnotationCode.scala

Inherited methods

def fromName(name: String): Option[A]

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[ValueType]

Attributes

Source
TypeAnnotationCode.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[TypeAnnotationCode]

Attributes

Source
TypeAnnotationCode.scala