|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--EVEDemo.SWEEP.SWEEP
SWEEP object will maintain one view in it. It will provide a data update receiver to outside, where you can send data update to the SWEEP 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 | |
(package private) DataUpdateReceiver |
dur
DataUpdateReceiver of this SWEEP 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 |
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
SWEEP(View_Definition vd)
Create a SWEEP object from View_definition class in EVEDemo.VKB package. |
|
SWEEP(View v,
MKB mkb)
Create a SWEEP 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 SWEEP from the AttrList (Vector) of SWEEP 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 SWEEP 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 SWEEP. |
(package private) Relation |
getRelation(Relation[] rels,
java.lang.String Rname)
Get the SWEEP 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 SWEEP object. |
void |
run()
Run the CreateUpdateFile part. |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
DataUpdateReceiver dur
MultiQueue FifoChannel
DWProcess dw
ISProcess[] isps
int ISnum
Constructor Detail |
public SWEEP(View v, MKB mkb) throws java.lang.Exception
public SWEEP(View_Definition vd) throws java.lang.Exception
Method Detail |
public void run()
public DataUpdateReceiver getReceiver()
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 SWEEP Attributes.String
- Attribute Name in format "R.A"
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |