@Experimental(value=SCHEMAS) public class FieldTypeDescriptors extends java.lang.Object
Schema field types and TypeDescriptors that
define Java objects which can represent these field types.| Constructor and Description |
|---|
FieldTypeDescriptors() |
| Modifier and Type | Method and Description |
|---|---|
static Schema.FieldType |
fieldTypeForJavaType(TypeDescriptor typeDescriptor)
Get a
Schema.FieldType from a TypeDescriptor. |
static TypeDescriptor |
javaTypeForFieldType(Schema.FieldType fieldType)
Get a
TypeDescriptor from a Schema.FieldType. |
public static TypeDescriptor javaTypeForFieldType(Schema.FieldType fieldType)
TypeDescriptor from a Schema.FieldType.public static Schema.FieldType fieldTypeForJavaType(TypeDescriptor typeDescriptor)
Schema.FieldType from a TypeDescriptor.