public abstract static class LogicalTypes.JdbcLogicalType<T> extends java.lang.Object implements Schema.LogicalType<T,T>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
argument |
protected Schema.FieldType |
baseType |
protected java.lang.String |
identifier |
| Modifier | Constructor and Description |
|---|---|
protected |
JdbcLogicalType(java.lang.String identifier,
Schema.FieldType baseType,
java.lang.String argument) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getArgument()
An optional argument to configure the type.
|
Schema.FieldType |
getBaseType()
The base
Schema.FieldType used to store values of this type. |
java.lang.String |
getIdentifier()
The unique identifier for this type.
|
int |
hashCode() |
T |
toBaseType(T input)
Convert the input Java type to one appropriate for the base
Schema.FieldType. |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoInputTypeprotected final java.lang.String identifier
protected final Schema.FieldType baseType
protected final java.lang.String argument
protected JdbcLogicalType(java.lang.String identifier,
Schema.FieldType baseType,
java.lang.String argument)
public java.lang.String getIdentifier()
Schema.LogicalTypegetIdentifier in interface Schema.LogicalType<T,T>public java.lang.String getArgument()
Schema.LogicalTypegetArgument in interface Schema.LogicalType<T,T>public Schema.FieldType getBaseType()
Schema.LogicalTypeSchema.FieldType used to store values of this type.getBaseType in interface Schema.LogicalType<T,T>public T toBaseType(T input)
Schema.LogicalTypeSchema.FieldType.toBaseType in interface Schema.LogicalType<T,T>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object