TypeCode

com.google.spanner.v1.`type`.TypeCode
See theTypeCode companion object
sealed abstract class TypeCode(val value: Int) extends GeneratedEnum

TypeCode is used as part of [Type][google.spanner.v1.Type] to indicate the type of a Cloud Spanner value.

Each legal value of a type can be encoded to or decoded from a JSON value, using the encodings described below. All Cloud Spanner values can be null, regardless of type; nulls are always encoded as a JSON null.

Attributes

Companion
object
Source
TypeCode.scala
Graph
Supertypes
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
trait Recognized
object STRING.type
object STRUCT.type
object TIMESTAMP.type
object TYPE_CODE_UNSPECIFIED.type
class Unrecognized
Show all

Members list

Type members

Types

Attributes

Source
TypeCode.scala

Value members

Concrete methods

final def asRecognized: Option[Recognized]

Attributes

Source
TypeCode.scala
def companion: GeneratedEnumCompanion[TypeCode]

Attributes

Source
TypeCode.scala
def isArray: Boolean

Attributes

Source
TypeCode.scala
def isBool: Boolean

Attributes

Source
TypeCode.scala
def isBytes: Boolean

Attributes

Source
TypeCode.scala
def isDate: Boolean

Attributes

Source
TypeCode.scala
def isFloat64: Boolean

Attributes

Source
TypeCode.scala
def isInt64: Boolean

Attributes

Source
TypeCode.scala
def isJson: Boolean

Attributes

Source
TypeCode.scala
def isNumeric: Boolean

Attributes

Source
TypeCode.scala
def isString: Boolean

Attributes

Source
TypeCode.scala
def isStruct: Boolean

Attributes

Source
TypeCode.scala
def isTimestamp: Boolean

Attributes

Source
TypeCode.scala
def isTypeCodeUnspecified: Boolean

Attributes

Source
TypeCode.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def index: Int

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def isUnrecognized: Boolean

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def name: String

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala

Concrete fields

val value: Int

Attributes

Source
TypeCode.scala