Class Type (2.20.2)

public final class Type implements Serializable

Inheritance

Object > Type

Implements

Serializable

Static Methods

array(Type arg0)

public static Type array(Type arg0)
Parameter
Name Description
arg0 Type
Returns
Type Description
Type

bool()

public static Type bool()
Returns
Type Description
Type

bytes()

public static Type bytes()
Returns
Type Description
Type

date()

public static Type date()
Returns
Type Description
Type

float32()

public static Type float32()
Returns
Type Description
Type

float64()

public static Type float64()
Returns
Type Description
Type

int64()

public static Type int64()
Returns
Type Description
Type

json()

public static Type json()
Returns
Type Description
Type

numeric()

public static Type numeric()
Returns
Type Description
Type

pgJsonb()

public static Type pgJsonb()
Returns
Type Description
Type

pgNumeric()

public static Type pgNumeric()
Returns
Type Description
Type

pgOid()

public static Type pgOid()
Returns
Type Description
Type

proto(String arg0)

public static Type proto(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Type

protoEnum(String arg0)

public static Type protoEnum(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
Type

string()

public static Type string()
Returns
Type Description
Type

struct(Type.StructField[] arg0)

public static Type struct(Type.StructField[] arg0)
Parameter
Name Description
arg0 StructField[]
Returns
Type Description
Type

struct(Iterable<Type.StructField> arg0)

public static Type struct(Iterable<Type.StructField> arg0)
Parameter
Name Description
arg0 Iterable<StructField>
Returns
Type Description
Type

timestamp()

public static Type timestamp()
Returns
Type Description
Type

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

getArrayElementType()

public Type getArrayElementType()
Returns
Type Description
Type

getCode()

public Type.Code getCode()
Returns
Type Description
Code

getFieldIndex(String arg0)

public int getFieldIndex(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
int

getProtoTypeFqn()

public String getProtoTypeFqn()
Returns
Type Description
String

getSpannerTypeName(Dialect arg0)

public String getSpannerTypeName(Dialect arg0)
Parameter
Name Description
arg0 Dialect
Returns
Type Description
String

getStructFields()

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides