public abstract class GetterBasedSchemaProviderV2 extends GetterBasedSchemaProvider
GetterBasedSchemaProvider
, which works with TypeDescriptor
s,
and which by default delegates the old, Class
based methods, to the new ones.Constructor and Description |
---|
GetterBasedSchemaProviderV2() |
Modifier and Type | Method and Description |
---|---|
java.util.List<FieldValueGetter> |
fieldValueGetters(java.lang.Class<?> targetClass,
Schema schema)
Implementing class should override to return FieldValueGetters.
|
abstract <T> java.util.List<FieldValueGetter<T,java.lang.Object>> |
fieldValueGetters(TypeDescriptor<T> targetTypeDescriptor,
Schema schema)
Delegates to the
GetterBasedSchemaProvider.fieldValueGetters(Class, Schema) for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure. |
java.util.List<FieldValueTypeInformation> |
fieldValueTypeInformations(java.lang.Class<?> targetClass,
Schema schema)
Implementing class should override to return a list of type-informations.
|
abstract java.util.List<FieldValueTypeInformation> |
fieldValueTypeInformations(TypeDescriptor<?> targetTypeDescriptor,
Schema schema)
Delegates to the
GetterBasedSchemaProvider.fieldValueTypeInformations(Class, Schema) for backwards
compatibility, override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure. |
SchemaUserTypeCreator |
schemaTypeCreator(java.lang.Class<?> targetClass,
Schema schema)
Implementing class should override to return a constructor.
|
abstract SchemaUserTypeCreator |
schemaTypeCreator(TypeDescriptor<?> targetTypeDescriptor,
Schema schema)
Delegates to the
GetterBasedSchemaProvider.schemaTypeCreator(Class, Schema) for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor not subject to the type erasure. |
equals, fromRowFunction, hashCode, toRowFunction
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
schemaFor
public java.util.List<FieldValueGetter> fieldValueGetters(java.lang.Class<?> targetClass, Schema schema)
GetterBasedSchemaProvider
fieldValueGetters
in class GetterBasedSchemaProvider
public abstract <T> java.util.List<FieldValueGetter<T,java.lang.Object>> fieldValueGetters(TypeDescriptor<T> targetTypeDescriptor, Schema schema)
GetterBasedSchemaProvider
GetterBasedSchemaProvider.fieldValueGetters(Class, Schema)
for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor
not subject to the type erasure.fieldValueGetters
in class GetterBasedSchemaProvider
public java.util.List<FieldValueTypeInformation> fieldValueTypeInformations(java.lang.Class<?> targetClass, Schema schema)
GetterBasedSchemaProvider
fieldValueTypeInformations
in class GetterBasedSchemaProvider
public abstract java.util.List<FieldValueTypeInformation> fieldValueTypeInformations(TypeDescriptor<?> targetTypeDescriptor, Schema schema)
GetterBasedSchemaProvider
GetterBasedSchemaProvider.fieldValueTypeInformations(Class, Schema)
for backwards
compatibility, override it if you want to use the richer type signature contained in the TypeDescriptor
not subject to the type erasure.fieldValueTypeInformations
in class GetterBasedSchemaProvider
public SchemaUserTypeCreator schemaTypeCreator(java.lang.Class<?> targetClass, Schema schema)
GetterBasedSchemaProvider
schemaTypeCreator
in class GetterBasedSchemaProvider
public abstract SchemaUserTypeCreator schemaTypeCreator(TypeDescriptor<?> targetTypeDescriptor, Schema schema)
GetterBasedSchemaProvider
GetterBasedSchemaProvider.schemaTypeCreator(Class, Schema)
for backwards compatibility,
override it if you want to use the richer type signature contained in the TypeDescriptor
not subject to the type erasure.schemaTypeCreator
in class GetterBasedSchemaProvider