| java.lang.Object ch.ethz.prose.query.QueryManager
QueryManager | public class QueryManager (Code) | | Class
version: $Revision: 1.1.1.1 $ author: Andrei Popovici |
Inner Class :static class TupleComparator implements Comparator | |
Method Summary | |
protected Tuple | createTuple(AspectSurrogate as, CrosscutSurrogate cs, JoinPointRequest jpr, int selectFields) | protected Tuple | createTuple(Aspect a, Crosscut c, JoinPointRequestSurrogate jprs, int selectFields) | public List | queryAllAspects() | public List | queryAllJoinpoints() | public List | queryAspects(List aspectList, int selectFields, int groupBy) This method processes the system (of its AspectManager ) for finding a duplicate free
result List consisting of three columns:
Aspect
Crosscut
JoinPointRequest
As input it takes a List of Aspect and two int 's indicating
which columns are selected and by which column the result is grouped.
Through the logical OR combination of the three member constants SELECT_ASPECT ,
SELECT_CROSSCUT and SELECT_JOINPOINT every possible opportunity of selecting the columns is
reached.
The value of the groupBy variable should be in accordance with one of the codes GROUP_BY_ASPECT ,
GROUP_BY_CROSSCUT or GROUP_BY_JOINPOINT . | public List | queryCrosscuts(List crosscutList, int selectFields, int groupBy) | public List | queryJoinpoints(List jpList, int selectFields, int groupBy) | public Aspect | reconstructAspect(AspectSurrogate as) | protected Crosscut | reconstructCrosscut(CrosscutSurrogate cs) | protected JoinPointRequest | reconstructRequest(JoinPointRequestSurrogate jprs) Returns a JoinPointRequest Object that is represented by this
JoinPointRequestSurrogate . |
GROUP_BY_ASPECT | final public static int GROUP_BY_ASPECT(Code) | | |
GROUP_BY_CROSSCUT | final public static int GROUP_BY_CROSSCUT(Code) | | |
GROUP_BY_JOINPOINT | final public static int GROUP_BY_JOINPOINT(Code) | | |
SELECT_ALL | final public static int SELECT_ALL(Code) | | |
SELECT_ASPECT | final public static int SELECT_ASPECT(Code) | | |
SELECT_CROSSCUT | final public static int SELECT_CROSSCUT(Code) | | |
SELECT_JOINPOINT | final public static int SELECT_JOINPOINT(Code) | | |
queryAllAspects | public List queryAllAspects()(Code) | | |
queryAllJoinpoints | public List queryAllJoinpoints()(Code) | | |
queryAspects | public List queryAspects(List aspectList, int selectFields, int groupBy)(Code) | | This method processes the system (of its AspectManager ) for finding a duplicate free
result List consisting of three columns:
Aspect
Crosscut
JoinPointRequest
As input it takes a List of Aspect and two int 's indicating
which columns are selected and by which column the result is grouped.
Through the logical OR combination of the three member constants SELECT_ASPECT ,
SELECT_CROSSCUT and SELECT_JOINPOINT every possible opportunity of selecting the columns is
reached.
The value of the groupBy variable should be in accordance with one of the codes GROUP_BY_ASPECT ,
GROUP_BY_CROSSCUT or GROUP_BY_JOINPOINT . If the value differs from one of these member constants, the
default constant GROUP_BY_ASPECT is assigned.
Parameters: aspectList - The list that is processed for searching all corresponding crosscuts and their joinpoints. Parameters: selectFields - The constant that indicates which columns are selected in the result. The non-selectedcolumns are set to null . An input value other than explained above raises an Exception. Parameters: groupBy - Indicates if the result table is grouped by aspects, crosscuts or joinpoints. By defaultthey are grouped by aspects. |
queryCrosscuts | public List queryCrosscuts(List crosscutList, int selectFields, int groupBy)(Code) | | |
queryJoinpoints | public List queryJoinpoints(List jpList, int selectFields, int groupBy)(Code) | | |
|
|