TypeCode

com.google.spanner.v1.`type`.TypeCode
See theTypeCode companion class
object TypeCode extends GeneratedEnumCompanion[TypeCode]

Attributes

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

Members list

Type members

Classlikes

case object ARRAY extends TypeCode, Recognized

Encoded as list, where the list elements are represented according to [array_element_type][google.spanner.v1.Type.array_element_type].

Encoded as list, where the list elements are represented according to [array_element_type][google.spanner.v1.Type.array_element_type].

Attributes

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

Encoded as JSON true or false.

Encoded as JSON true or false.

Attributes

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

Encoded as a base64-encoded string, as described in RFC 4648, section 4.

Encoded as a base64-encoded string, as described in RFC 4648, section 4.

Attributes

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

Encoded as string in RFC 3339 date format.

Encoded as string in RFC 3339 date format.

Attributes

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

Encoded as number, or the strings "NaN", "Infinity", or "-Infinity".

Encoded as number, or the strings "NaN", "Infinity", or "-Infinity".

Attributes

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

Encoded as string, in decimal format.

Encoded as string, in decimal format.

Attributes

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

Encoded as a JSON-formatted string as described in RFC 7159. The following rules are applied when parsing JSON input:

Encoded as a JSON-formatted string as described in RFC 7159. The following rules are applied when parsing JSON input:

  • Whitespace characters are not preserved.
  • If a JSON object has duplicate keys, only the first key is preserved.
  • Members of a JSON object are not guaranteed to have their order preserved.
  • JSON array elements will have their order preserved.

Attributes

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

Encoded as string, in decimal format or scientific notation format. <br>Decimal format: <br>[+-]Digits[.[Digits]] or <br>[+-][Digits].Digits

Encoded as string, in decimal format or scientific notation format. <br>Decimal format: <br>[+-]Digits[.[Digits]] or <br>[+-][Digits].Digits

Scientific notation: <br>[+-]Digits[.[Digits]][ExponentIndicator[+-]Digits] or <br>[+-][Digits].Digits[ExponentIndicator[+-]Digits] <br>(ExponentIndicator is "e" or "E")

Attributes

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

Attributes

Source
TypeCode.scala
Supertypes
class TypeCode
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object ARRAY.type
object BOOL.type
object BYTES.type
object DATE.type
object FLOAT64.type
object INT64.type
object JSON.type
object NUMERIC.type
object STRING.type
object STRUCT.type
object TIMESTAMP.type
object TYPE_CODE_UNSPECIFIED.type
Show all
case object STRING extends TypeCode, Recognized

Encoded as string.

Encoded as string.

Attributes

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

Encoded as list, where list element i is represented according to [struct_type.fields[i]][google.spanner.v1.StructType.fields].

Encoded as list, where list element i is represented according to [struct_type.fields[i]][google.spanner.v1.StructType.fields].

Attributes

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

Encoded as string in RFC 3339 timestamp format. The time zone must be present, and must be "Z".

Encoded as string in RFC 3339 timestamp format. The time zone must be present, and must be "Z".

If the schema has the column option allow_commit_timestamp=true, the placeholder string "spanner.commit_timestamp()" can be used to instruct the system to insert the commit timestamp associated with the transaction commit.

Attributes

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

Not specified.

Not specified.

Attributes

Source
TypeCode.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
class TypeCode
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 TypeCode, UnrecognizedEnum

Attributes

Source
TypeCode.scala
Supertypes
trait UnrecognizedEnum
class TypeCode
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): TypeCode

Attributes

Source
TypeCode.scala
def javaDescriptor: EnumDescriptor

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.

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
TypeCode.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source
TypeCode.scala

Inherited methods

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

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[TypeCode]

Attributes

Source
TypeCode.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[TypeCode]

Attributes

Source
TypeCode.scala