@Test public void testGetVDBResourcePaths() throws Exception { String[] expectedPaths = new String[] {MY_RESOURCE_PATH}; String[] mfPaths = runtimeMetadata.getVDBResourcePaths(); assertEquals(expectedPaths.length, mfPaths.length); for (int i = 0; i < expectedPaths.length; i++) { assertEquals(expectedPaths[i], mfPaths[i]); } }
public String[] getVDBResourcePaths() throws TranslatorException { try { return metadata.getVDBResourcePaths(); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30474, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30475, e); } }
RuntimeMetadataImpl implements RuntimeMetadata { public String[] getVDBResourcePaths() throws TranslatorException { try { return metadata.getVDBResourcePaths(); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30474, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30475, e); } } }
RuntimeMetadataImpl implements RuntimeMetadata { public String[] getVDBResourcePaths() throws TranslatorException { try { return metadata.getVDBResourcePaths(); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30474, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30475, e); } } RuntimeMetadataImpl(QueryMetadataInterface metadata); }
RuntimeMetadataImpl implements RuntimeMetadata { public String[] getVDBResourcePaths() throws TranslatorException { try { return metadata.getVDBResourcePaths(); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30474, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30475, 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[] getVDBResourcePaths() throws TranslatorException { try { return metadata.getVDBResourcePaths(); } catch (QueryMetadataException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30474, e); } catch (TeiidComponentException e) { throw new TranslatorException(QueryPlugin.Event.TEIID30475, 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();  }