Interface Metadata
public interface Metadata
-
Method Details
-
artifactReference
ArtifactReference artifactReference() -
explicitSchemaContent
Returns the explicit schema content provided for this record, if any. When a schema is explicitly provided (e.g., via message headers), it takes precedence over schema inference from the data payload.- Returns:
- the explicit schema content as a string, or null if no explicit schema is provided
-
explicitSchemaType
Returns the type of the explicit schema provided for this record, if any. The type should match one of the artifact types (e.g., "AVRO", "PROTOBUF", "JSON").- Returns:
- the schema type, or null if no explicit schema type is provided
-