Package com.streambase.sb
Interface SchemaUtil.SchemaProvider
- Enclosing class:
- com.streambase.sb.SchemaUtil
public static interface SchemaUtil.SchemaProvider
A schema provider
-
Method Summary
Modifier and TypeMethodDescriptiongetNamedSchema
(String name) A request to provide a Schema for the given name.getSchemaByHash
(byte[] hash) request a schema by hash
-
Method Details
-
getNamedSchema
A request to provide a Schema for the given name.- Parameters:
name
- may be null- Returns:
- a Schema, or null if there is no named schema in this provider with this name
-
getSchemaByHash
request a schema by hash- Parameters:
hash
- schema hash value- Returns:
- schema or null
- Throws:
StreamBaseException
- error finding schema by hash
-