Interface SchemaSource
-
- All Known Implementing Classes:
HDFSSchemaSource
public interface SchemaSource
A high-level interface as a source specifically for RmdSchema. Each RMD Schema is uniquely identified byRmdVersionId
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.avro.Schema
fetchKeySchema()
java.util.Map<RmdVersionId,org.apache.avro.Schema>
fetchRmdSchemas()
java.util.Map<java.lang.Integer,org.apache.avro.Schema>
fetchValueSchemas()
-
-
-
Method Detail
-
fetchRmdSchemas
java.util.Map<RmdVersionId,org.apache.avro.Schema> fetchRmdSchemas() throws java.io.IOException
- Throws:
java.io.IOException
-
fetchValueSchemas
java.util.Map<java.lang.Integer,org.apache.avro.Schema> fetchValueSchemas() throws java.io.IOException
- Throws:
java.io.IOException
-
fetchKeySchema
org.apache.avro.Schema fetchKeySchema() throws java.io.IOException
- Throws:
java.io.IOException
-
-