org.teiid.query.sql.visitor
Class GroupsUsedByElementsVisitor
java.lang.Object
org.teiid.query.sql.visitor.GroupsUsedByElementsVisitor
public class GroupsUsedByElementsVisitor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupsUsedByElementsVisitor
public GroupsUsedByElementsVisitor()
getGroups
public static final void getGroups(LanguageObject obj,
Collection<GroupSymbol> groups)
- Helper to quickly get the groups from obj in the elements collection
- Parameters:
obj
- Language objectelements
- Collection to collect groups in
getGroups
public static final Set<GroupSymbol> getGroups(LanguageObject obj)
- Helper to quickly get the groups from obj in a collection. Duplicates
are removed.
- Parameters:
obj
- Language object
- Returns:
- Collection of
GroupSymbol
getGroups
public static Set<GroupSymbol> getGroups(Collection<? extends LanguageObject> objects)
getGroups
public static void getGroups(Collection<? extends LanguageObject> objects,
Set<GroupSymbol> groups)
Copyright © 2011. All Rights Reserved.