@ Override public Schema getById ( MD5Digest id ) throws IOException , SchemaRegistryException { if ( _schemaHashMap . containsKey ( id ) ) { return _schemaHashMap . get ( id ) ; } else { throw new SchemaRegistryException ( "Could not find schema with id : " + id . asString ( ) ) ; } }
Get a schema given an id