Send feedback
Class Type (2.20.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.20.2 keyboard_arrow_down
public final class 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 )
Returns
Type
Description
Type
struct(Iterable<Type.StructField> arg0)
public static Type struct ( Iterable<Type . StructField > arg0 )
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
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 ()
hashCode()
Returns
Type
Description
int
Overrides
toString()
Returns
Type
Description
String
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]