Package org.apache.flink.formats.avro
Interface SchemaCoder
-
public interface SchemaCoderSchema coder that allows reading schema that is somehow embedded into serialized record. Used byRegistryAvroDeserializationSchemaandRegistryAvroSerializationSchema.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSchemaCoder.SchemaCoderProviderProvider forSchemaCoder.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.avro.SchemareadSchema(InputStream in)voidwriteSchema(org.apache.avro.Schema schema, OutputStream out)
-
-
-
Method Detail
-
readSchema
org.apache.avro.Schema readSchema(InputStream in) throws IOException
- Throws:
IOException
-
writeSchema
void writeSchema(org.apache.avro.Schema schema, OutputStream out) throws IOException- Throws:
IOException
-
-