Package org.teiid.query.sql.visitor
Class GroupsUsedByElementsVisitor
- java.lang.Object
-
- org.teiid.query.sql.visitor.GroupsUsedByElementsVisitor
-
public class GroupsUsedByElementsVisitor extends Object
-
-
Constructor Summary
Constructors Constructor Description GroupsUsedByElementsVisitor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<GroupSymbol>
getGroups(Collection<? extends LanguageObject> objects)
static void
getGroups(Collection<? extends LanguageObject> objects, Set<GroupSymbol> groups)
static Set<GroupSymbol>
getGroups(LanguageObject obj)
Helper to quickly get the groups from obj in a collection.static void
getGroups(LanguageObject obj, Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the elements collection
-
-
-
Method Detail
-
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 objectgroups
- 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)
-
-