public Collection getXMLTempGroups(Object groupID) throws TeiidComponentException, QueryMetadataException{ if(groupID instanceof TempMetadataID) { return Collections.EMPTY_SET; } return this.actualMetadata.getXMLTempGroups(groupID); }
public Collection getXMLTempGroups(Object groupID) throws TeiidComponentException, QueryMetadataException { return actualMetadata.getXMLTempGroups(groupID); }
public static Collection<ElementSymbol> collectTempElements(GroupSymbol group, QueryMetadataInterface metadata) throws QueryMetadataException, TeiidComponentException { ArrayList<ElementSymbol> validElements = new ArrayList<ElementSymbol>(); // Create GroupSymbol for temp groups and add to groups Collection<?> tempGroups = metadata.getXMLTempGroups(group.getMetadataID()); for (Object tempGroupID : tempGroups) { String name = metadata.getFullName(tempGroupID); GroupSymbol tempGroup = new GroupSymbol(name); tempGroup.setMetadataID(tempGroupID); validElements.addAll(ResolverUtil.resolveElementsInGroup(tempGroup, metadata)); } return validElements; }