Interface SchemaUtil.SchemaProvider

Enclosing class:
com.streambase.sb.SchemaUtil

public static interface SchemaUtil.SchemaProvider
A schema provider
  • Method Summary

    Modifier and Type
    Method
    Description
    A request to provide a Schema for the given name.
    getSchemaByHash(byte[] hash)
    request a schema by hash
  • Method Details

    • getNamedSchema

      Schema getNamedSchema(String name)
      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

      Schema getSchemaByHash(byte[] hash) throws StreamBaseException
      request a schema by hash
      Parameters:
      hash - schema hash value
      Returns:
      schema or null
      Throws:
      StreamBaseException - error finding schema by hash