/** * Define the {@link Schema} used in the {@link FieldName#SOURCE} field. * * @param sourceSchema the schema of the {@link FieldName#SOURCE} field; may not be null * @return this builder so methods can be chained; never null */ default Builder withSource(Schema sourceSchema) { return withSchema(sourceSchema, FieldName.SOURCE); }
/** * Define the {@link Schema} used in the {@link FieldName#BEFORE} and {@link FieldName#AFTER} fields. * * @param schema the schema of the records, used in the {@link FieldName#BEFORE} and {@link FieldName#AFTER} fields; may * not be null * @return this builder so methods can be chained; never null */ default Builder withRecord(Schema schema) { return withSchema(schema, FieldName.BEFORE, FieldName.AFTER); }
/** * Define the {@link Schema} used in the {@link FieldName#SOURCE} field. * * @param sourceSchema the schema of the {@link FieldName#SOURCE} field; may not be null * @return this builder so methods can be chained; never null */ default Builder withSource(Schema sourceSchema) { return withSchema(sourceSchema, FieldName.SOURCE); }
/** * Define the {@link Schema} used in the {@link FieldName#BEFORE} and {@link FieldName#AFTER} fields. * * @param schema the schema of the records, used in the {@link FieldName#BEFORE} and {@link FieldName#AFTER} fields; may * not be null * @return this builder so methods can be chained; never null */ default Builder withRecord(Schema schema) { return withSchema(schema, FieldName.BEFORE, FieldName.AFTER); }