Interface ParsedSchema<S>
-
- Type Parameters:
S
- The type of the underlying schema.
public interface ParsedSchema<S>
An interface representing a parsed schema.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getRawSchema()
Retrieves the schema as raw bytes.Map<String,SchemaReference>
getReferencesByName()
Retrieves a map of direct references.S
getSchema()
Retrieves the underlying schema object.SchemaReference
getSchemaReference()
Retrieves the schema reference for this parsed schema.List<ParsedSchema<S>>
getSchemaReferenceContext()
Retrieves all transitive references in the order to upload.
-
-
-
Method Detail
-
getSchema
S getSchema()
Retrieves the underlying schema object.- Returns:
- The schema object of type S.
-
getRawSchema
byte[] getRawSchema()
Retrieves the schema as raw bytes.- Returns:
- The schema as raw bytes.
-
getSchemaReferenceContext
List<ParsedSchema<S>> getSchemaReferenceContext()
Retrieves all transitive references in the order to upload.- Returns:
- A list of ParsedSchema objects representing all transitive references.
-
getReferencesByName
Map<String,SchemaReference> getReferencesByName()
Retrieves a map of direct references. The key is the reference name, and the value is the corresponding SchemaReference.- Returns:
- A map of direct references, with reference names as keys and SchemaReference objects as values.
-
getSchemaReference
SchemaReference getSchemaReference()
Retrieves the schema reference for this parsed schema.- Returns:
- The SchemaReference object for this parsed schema.
-
-