|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--EVEDemo.PSWEEP.PSWEEP
PSWEEP object will maintain one view in it. It will provide a data update receiver to outside, where you can send data update to the PSWEEP object. It requires: 1. View Definition either in ESQL format, or an object of ViewDefinition in VKB. 2. Data update which will affect this view. It will provice: 1. a DataUpdateReceiver to accept the data update. It will DO: Maintain the real extend of that view in the database.
| Field Summary | |
private static boolean |
DEBUG
|
(package private) DataUpdateReceiver |
dur
DataUpdateReceiver of this PSWEEP Object. |
(package private) DWProcess |
dw
Data warehouse process of this view definition. |
(package private) MultiQueue |
FifoChannel
FifoChannel used to create communication between ISs and DW. |
(package private) int |
ISnum
Number of ISs. |
(package private) ISProcess[] |
isps
Array of ISProcess |
static int |
step
The sleep timer for all the threads. |
| Constructor Summary | |
PSWEEP(View_Definition vd)
Create a PSWEEP object from View_definition class in EVEDemo.VKB package. |
|
PSWEEP(View v,
MKB mkb)
Create a PSWEEP object from View object in EVEDemo.MW package. |
|
| Method Summary | |
(package private) Attribute |
checkAttrList(java.util.Vector attrlist,
java.lang.String aname)
check if a specific attribute is already in an vector of attribute |
(package private) Attribute |
getAttribute(java.util.Vector AttrList,
java.lang.String attrName)
Get Attribute object of PSWEEP from the AttrList (Vector) of PSWEEP Attribute of has the specific name in format R.A |
(package private) java.util.Vector |
getAttrs(java.util.Vector project,
Relation rel)
Get the Attributes of one relation in the project list. |
(package private) java.util.Vector |
getJCs(JoinList JL,
Relation rel)
Get a list of join conditions related to a specific relation from the current viewdefinition of this PSWEEP object. |
(package private) java.lang.String |
getLocalAttrName(JoinCondition jc,
Relation rel)
Get Local Attribute Name of this join condition of specific relation name. |
DataUpdateReceiver |
getReceiver()
Get Receiver from PSWEEP. |
(package private) Relation |
getRelation(Relation[] rels,
java.lang.String Rname)
Get the PSWEEP Relation object from a list of relations. |
(package private) java.lang.String |
getRemoteAttrName(JoinCondition jc,
Relation rel)
Get Remote Attribute Name of this join condition of specific relation name. |
(package private) java.lang.String |
getRemoteRelName(JoinCondition jc,
Relation rel)
Get Remote Relation Name of this Join Condition of Specific Relation name. |
(package private) void |
init(View_Definition vd)
Init the PSWEEP object. |
void |
start()
Start the UpdateView of PSWEEP DWProcess. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static final boolean DEBUG
public static final int step
DataUpdateReceiver dur
MultiQueue FifoChannel
DWProcess dw
ISProcess[] isps
int ISnum
| Constructor Detail |
public PSWEEP(View v,
MKB mkb)
throws java.lang.Exception
public PSWEEP(View_Definition vd)
throws java.lang.Exception
| Method Detail |
public DataUpdateReceiver getReceiver()
public void start()
void init(View_Definition vd)
throws java.lang.Exception
java.util.Vector getJCs(JoinList JL,
Relation rel)
JL - join listrel - reference of relation.
java.lang.String getLocalAttrName(JoinCondition jc,
Relation rel)
jc - Join Conditoin.rel - relation's name.
java.lang.String getRemoteRelName(JoinCondition jc,
Relation rel)
jc - Join Condition.rel - Relation's Name.
java.lang.String getRemoteAttrName(JoinCondition jc,
Relation rel)
jc - Join Condition.rel - relation's name.
Attribute checkAttrList(java.util.Vector attrlist,
java.lang.String aname)
attrlist - vector of attributesaname - attribute name "R.A".
Relation getRelation(Relation[] rels,
java.lang.String Rname)
rels - array of relations.String - name of relation.
java.util.Vector getAttrs(java.util.Vector project,
Relation rel)
project - (Vector) Project list composed of attribute_componentrel - specific relation object in sweep package.
Attribute getAttribute(java.util.Vector AttrList,
java.lang.String attrName)
AttrList - vector of PSWEEP Attributes.String - Attribute Name in format "R.A"
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||