@Experimental(value=SCHEMAS) public class POJOUtils extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<org.apache.beam.sdk.schemas.utils.ReflectUtils.ClassWithSchema,java.util.List<FieldValueGetter>> |
CACHED_GETTERS |
Constructor and Description |
---|
POJOUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<FieldValueGetter> |
getGetters(java.lang.Class<?> clazz,
Schema schema) |
static java.util.List<FieldValueSetter> |
getSetters(java.lang.Class<?> clazz,
Schema schema) |
static Schema |
schemaFromPojoClass(java.lang.Class<?> clazz) |
public static final java.util.Map<org.apache.beam.sdk.schemas.utils.ReflectUtils.ClassWithSchema,java.util.List<FieldValueGetter>> CACHED_GETTERS
public static Schema schemaFromPojoClass(java.lang.Class<?> clazz)
public static java.util.List<FieldValueGetter> getGetters(java.lang.Class<?> clazz, Schema schema)
public static java.util.List<FieldValueSetter> getSetters(java.lang.Class<?> clazz, Schema schema)