@Test public void testGetCharacterVDBResource() throws Exception { assertEquals("ResourceContents", runtimeMetadata.getCharacterVDBResource(MY_RESOURCE_PATH)); }
public String getCharacterVDBResource(String resourcePath) throws TranslatorException { try { return metadata.getCharacterVDBResource(resourcePath); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30472, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30473, e); } }
RuntimeMetadataImpl implements RuntimeMetadata { public String getCharacterVDBResource(String resourcePath) throws TranslatorException { try { return metadata.getCharacterVDBResource(resourcePath); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30472, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30473, e); } } }
RuntimeMetadataImpl implements RuntimeMetadata { public String getCharacterVDBResource(String resourcePath) throws TranslatorException { try { return metadata.getCharacterVDBResource(resourcePath); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30472, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30473, e); } } RuntimeMetadataImpl(QueryMetadataInterface metadata); }
RuntimeMetadataImpl implements RuntimeMetadata { public String getCharacterVDBResource(String resourcePath) throws TranslatorException { try { return metadata.getCharacterVDBResource(resourcePath); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30472, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30473, e); } } RuntimeMetadataImpl(QueryMetadataInterface metadata); @Override Column getColumn(String schema, String table, String name); @Override Procedure getProcedure(String schema, String name); @Override Table getTable(String schema, String name); @Override Column getColumn(String fullName); Column getElement(Object elementId); @Override Table getTable(String fullName); Table getGroup(Object groupId); @Override Procedure getProcedure(String fullName); Procedure getProcedure(StoredProcedureInfo sp); ProcedureParameter getParameter(SPParameter param); byte[] getBinaryVDBResource(String resourcePath); String getCharacterVDBResource(String resourcePath); String[] getVDBResourcePaths(); QueryMetadataInterface getMetadata(); }
RuntimeMetadataImpl implements RuntimeMetadata { public String getCharacterVDBResource(String resourcePath) throws TranslatorException { try { return metadata.getCharacterVDBResource(resourcePath); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30472, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30473, e); } } RuntimeMetadataImpl(QueryMetadataInterface metadata); @Override Column getColumn(String schema, String table, String name); @Override Procedure getProcedure(String schema, String name); @Override Table getTable(String schema, String name); @Override Column getColumn(String fullName); Column getElement(Object elementId); @Override Table getTable(String fullName); Table getGroup(Object groupId); @Override Procedure getProcedure(String fullName); Procedure getProcedure(StoredProcedureInfo sp); ProcedureParameter getParameter(SPParameter param); byte[] getBinaryVDBResource(String resourcePath); String getCharacterVDBResource(String resourcePath); String[] getVDBResourcePaths(); QueryMetadataInterface getMetadata();  }