com.streambase.sb

## Interface SchemaUtil.SchemaProvider

- Enclosing class:
    SchemaUtil

      public static interface SchemaUtil.SchemaProvider

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Schema` | `getNamedSchema(String name)` A request to provide a Schema for the given name.
    `Schema` | `getSchemaByHash(byte[] hash)` request a schema by hash

- - ### Method Detail

    - #### 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` -
      Returns:
        schema or null
      Throws:
        `StreamBaseException`

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.