Package org.apache.beam.sdk.schemas.annotations
@DefaultAnnotation(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.apache.beam.sdk.schemas.annotations
-
ClassDescriptionThe
DefaultSchema
annotation specifies aSchemaProvider
class to handle obtaining a schema and row for the specified class.SchemaProvider
for default schemas.Registrar for default schemas.Can be put on a constructor or a static method, in which case that constructor or method will be used to created instance of the class by Beam's schema code.When used on a POJO field or a JavaBean getter, that field or getter is ignored from the inferred schema.