Class Type (2.16.1)

public final class Type implements Serializable

Inheritance

Object > Type

Implements

Serializable

Static Methods

array(Type arg0)

public static Type array(Type arg0)
Parameter
NameDescription
arg0Type
Returns
TypeDescription
Type

bool()

public static Type bool()
Returns
TypeDescription
Type

bytes()

public static Type bytes()
Returns
TypeDescription
Type

date()

public static Type date()
Returns
TypeDescription
Type

float32()

public static Type float32()
Returns
TypeDescription
Type

float64()

public static Type float64()
Returns
TypeDescription
Type

int64()

public static Type int64()
Returns
TypeDescription
Type

json()

public static Type json()
Returns
TypeDescription
Type

numeric()

public static Type numeric()
Returns
TypeDescription
Type

pgJsonb()

public static Type pgJsonb()
Returns
TypeDescription
Type

pgNumeric()

public static Type pgNumeric()
Returns
TypeDescription
Type

proto(String arg0)

public static Type proto(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Type

protoEnum(String arg0)

public static Type protoEnum(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Type

string()

public static Type string()
Returns
TypeDescription
Type

struct(Type.StructField[] arg0)

public static Type struct(Type.StructField[] arg0)
Parameter
NameDescription
arg0StructField[]
Returns
TypeDescription
Type

struct(Iterable<Type.StructField> arg0)

public static Type struct(Iterable<Type.StructField> arg0)
Parameter
NameDescription
arg0Iterable<StructField>
Returns
TypeDescription
Type

timestamp()

public static Type timestamp()
Returns
TypeDescription
Type

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
NameDescription
arg0Object
Returns
TypeDescription
boolean
Overrides

getArrayElementType()

public Type getArrayElementType()
Returns
TypeDescription
Type

getCode()

public Type.Code getCode()
Returns
TypeDescription
Code

getFieldIndex(String arg0)

public int getFieldIndex(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
int

getProtoTypeFqn()

public String getProtoTypeFqn()
Returns
TypeDescription
String

getSpannerTypeName(Dialect arg0)

public String getSpannerTypeName(Dialect arg0)
Parameter
NameDescription
arg0Dialect
Returns
TypeDescription
String

getStructFields()

public List<Type.StructField> getStructFields()
Returns
TypeDescription
List<StructField>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides