Serialized Form


Package DSRG.MKB

Class DSRG.MKB.Condition implements Serializable

Serialized Fields

myA1

Attribute myA1

myA2

Attribute myA2

myExtent

java.lang.String myExtent

Class DSRG.MKB.JoinConstraint implements Serializable

Serialized Fields

joinSelectivity

double joinSelectivity

myConditions

java.util.Vector myConditions

myR1

Relation myR1

myR2

Relation myR2

Class DSRG.MKB.MKB implements Serializable

Serialized Fields

DerivedPC

java.util.Vector DerivedPC

IS_List

java.util.Vector IS_List

JC_List

java.util.Vector JC_List

LC_List

java.util.Vector LC_List

localIS

IS localIS

mainVSA

VSA mainVSA
we need a handle to the VSA to notify it of schema changes, too. (currently only need after delete-operations. This cannot be passed in the constructor since it is not known at construction time.

PC_List

java.util.Vector PC_List

Class DSRG.MKB.ParseException implements Serializable

Serialized Fields

currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.

eol

java.lang.String eol
The end of line string for this machine.

expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).

tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

Class DSRG.MKB.PCConstraint implements Serializable

Serialized Fields

Derived

boolean Derived

IterationNum

int IterationNum

myExt

java.lang.String myExt

myPC_Pairs

java.util.Vector myPC_Pairs

myR1

Relation myR1

myR2

Relation myR2

reverse

boolean reverse

Class DSRG.MKB.PCPair implements Serializable

Serialized Fields

myA1

Attribute myA1

myA2

Attribute myA2

Class DSRG.MKB.TokenMgrError implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package DSRG.MW

Class DSRG.MW.DBMAccess implements Serializable

Serialized Fields

className

java.lang.String className

DB

java.lang.String DB

instance

DBMAccess instance

passwd

java.lang.String passwd

url

java.lang.String url

user

java.lang.String user

Class DSRG.MW.DBMOracle implements Serializable

Serialized Fields

date_datatype

java.lang.String date_datatype

numeric_datatype

java.lang.String numeric_datatype
Oracle specific data types.


Package DSRG.VKB

Class DSRG.VKB.ArrayConvert implements Serializable

Class DSRG.VKB.ArrayStore implements Serializable

Class DSRG.VKB.Attribute_Component implements Serializable

Serialized Fields

attr

Attribute attr
Reference of this Attribute. It stored in MKB.

Class DSRG.VKB.Compare implements Serializable

Class DSRG.VKB.Condition implements Serializable

Serialized Fields

left

Attribute left
First operand

op

Operator op
Operator of condition

Class DSRG.VKB.Condition_Component implements Serializable

Serialized Fields

cond

Condition cond

Class DSRG.VKB.Condition_index implements Serializable

Class DSRG.VKB.Initialize implements Serializable

Class DSRG.VKB.Join_Condition implements Serializable

Serialized Fields

right

Attribute right
Second Operand

Class DSRG.VKB.Local_Condition implements Serializable

Serialized Fields

right

Primitive_Value right
Second Operand

Class DSRG.VKB.NoSuchMonthException implements Serializable

Class DSRG.VKB.Operator implements Serializable

Serialized Fields

Value

java.lang.String Value
Current Value of the Operator

Class DSRG.VKB.Primitive_Value implements Serializable

Serialized Fields

BooleanValue

boolean BooleanValue

doubleValue

double doubleValue

longValue

long longValue

StringValue

java.lang.String StringValue

type

int type

Class DSRG.VKB.Relation_Component implements Serializable

Serialized Fields

rel

Relation rel
Relation reference stored in MKB. I have stub class for it.

Class DSRG.VKB.Type implements Serializable

Serialized Fields

currentType

int currentType

Class DSRG.VKB.ValueClassCA implements Serializable

Serialized Fields

a1

int a1

c1

int c1

Class DSRG.VKB.ValueClassRA implements Serializable

Serialized Fields

a1

int a1

r1

int r1

Class DSRG.VKB.ValueClassRC implements Serializable

Serialized Fields

c1

int c1

r1

int r1

Class DSRG.VKB.View_Component implements Serializable

Serialized Fields

Dispensable

boolean Dispensable
Evolution parameter. True: component can be dropped, False: cannot be dropped.

Replaceable

boolean Replaceable
Evolution parameter. True: component can be replaced, False: cannot be replaced.

Class DSRG.VKB.View_Definition implements Serializable

Serialized Fields

from

java.util.Vector from
Vector of FROM clause. The elements are objects of class Relation_Component.

name

java.lang.String name
Name of this ViewDefinition.

select

java.util.Vector select
it will keep the order of the select clause. It stores a vector of Attribute_Component

versions

java.util.Vector versions
A Vector of Versions of this View-Definition. To be used for selecting a version out of some suggestions after a view synchronization.

VExtent

int VExtent
VE parameter of this View Definition

where

Condition_index where
Vector of Condition clause. It's a list of conditions. Each elememt is an object of Condition_Component.

Class DSRG.VKB.VKB implements Serializable

Serialized Fields

mkb

MKB mkb
The reference of MKB this VKB based on.

View_index

java.util.Hashtable View_index
Index of view definition on View Name.


Package DSRG.VKB.E_SQL

Class DSRG.VKB.E_SQL.ParseException implements Serializable

Serialized Fields

currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.

eol

java.lang.String eol
The end of line string for this machine.

expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).

tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

Class DSRG.VKB.E_SQL.TokenMgrError implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package DSRG.VSA

Class DSRG.VSA.Replacement implements Serializable

Serialized Fields

attr_pairs

java.util.Hashtable attr_pairs
It's a hashtable of attribute paires. It index on the reference of affected attribute in MKB, and the element of it is the reference of substitute attribute in MKB.

rel

Relation rel
Reference of Relation in MKB. It is the substituted relation.

Class DSRG.VSA.Schema_Change implements Serializable

Serialized Fields

Attr_name

java.lang.String Attr_name
Attribute name of this Change

IS_name

java.lang.String IS_name
Information source name of this Change

new_name

java.lang.String new_name
New name of relaiton of attribute

Rel_name

java.lang.String Rel_name
Relation name of this Change

type

int type
Current Type of this Change

Class DSRG.VSA.Subset implements Serializable

Serialized Fields

subsets

java.util.Vector subsets

Class DSRG.VSA.VSA implements Serializable

Serialized Fields

cost_IO

double cost_IO
the tradeoff parameters for the costs (unit costs)

cost_M

double cost_M
the tradeoff parameters for the costs (unit costs)

cost_T

double cost_T
the tradeoff parameters for the costs (unit costs)

mkb

MKB mkb
The MKB this VSA working on. That's the place where VSA can get meta-knowledge.

rho_attr

double rho_attr
the tradeoff parameter for the attributes (therefore also for the extent). Used for creating QC-Objects

rho_quality

double rho_quality
the tradeoff parameter for the quality (therefore also for the cost). Used for creating QC-Objects

vkb

VKB vkb
The VKB this VSA working on. That's the object VSA will modify. It stores view definitions in an internal format.


Package EVEDemo.ISChangeApplet

Class EVEDemo.ISChangeApplet.addAttFrame implements Serializable

Serialized Fields

buttons

com.sun.java.swing.JPanel buttons

cancel

com.sun.java.swing.JButton cancel

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

name

com.sun.java.swing.JLabel name

nameStuff

com.sun.java.swing.JPanel nameStuff

nameTF

com.sun.java.swing.JTextField nameTF

ok

com.sun.java.swing.JButton ok

type

com.sun.java.swing.JLabel type

typeCB

com.sun.java.swing.JComboBox typeCB

typeStuff

com.sun.java.swing.JPanel typeStuff

Class EVEDemo.ISChangeApplet.addRelFrame implements Serializable

Serialized Fields

attInfo

com.sun.java.swing.JComboBox attInfo

atts

com.sun.java.swing.JLabel atts

attStuff

com.sun.java.swing.JPanel attStuff

buttons

com.sun.java.swing.JPanel buttons

cancel

com.sun.java.swing.JButton cancel

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

name

com.sun.java.swing.JLabel name

nameStuff

com.sun.java.swing.JPanel nameStuff

nameTF

com.sun.java.swing.JTextField nameTF

ok

com.sun.java.swing.JButton ok

Class EVEDemo.ISChangeApplet.delFrame implements Serializable

Serialized Fields

buttons

com.sun.java.swing.JPanel buttons

confirm

com.sun.java.swing.JLabel confirm

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

no

com.sun.java.swing.JButton no

yes

com.sun.java.swing.JButton yes

Class EVEDemo.ISChangeApplet.evolveFrame implements Serializable

Serialized Fields

allViews

java.util.Vector allViews
local copy of allViews

data

java.lang.Object[][] data

disExtDif

com.sun.java.swing.JButton disExtDif

edFrame

extDifFrame edFrame

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

lblView

com.sun.java.swing.JLabel lblView

lblViewDefNew

com.sun.java.swing.JLabel lblViewDefNew

lblViewDefOld

com.sun.java.swing.JLabel lblViewDefOld

mwMain

Main mwMain

ok

com.sun.java.swing.JButton ok

stuff

java.lang.Object[][] stuff

tempView

View tempView

tempViewOld

View tempViewOld

viewDefNewModel

MyTableModel viewDefNewModel

viewDefNewSP

com.sun.java.swing.JScrollPane viewDefNewSP

viewDefNewTable

com.sun.java.swing.JTable viewDefNewTable

viewDefOldModel

MyTableModel viewDefOldModel

viewDefOldSP

com.sun.java.swing.JScrollPane viewDefOldSP

viewDefOldTable

com.sun.java.swing.JTable viewDefOldTable

viewItems

java.util.Vector viewItems

viewList

com.sun.java.swing.JList viewList

viewsScrollPane

com.sun.java.swing.JScrollPane viewsScrollPane

Class EVEDemo.ISChangeApplet.extDifFrame implements Serializable

Serialized Fields

allAttr

java.util.Vector allAttr

data

java.lang.Object[][] data

defScrollPane

com.sun.java.swing.JScrollPane defScrollPane

edOK

com.sun.java.swing.JButton edOK

extentLabel

com.sun.java.swing.JLabel extentLabel

extentModel

MyTableModel extentModel

extentOldLabel

com.sun.java.swing.JLabel extentOldLabel

extentOldModel

MyTableModel extentOldModel

extentOldScrollPane

com.sun.java.swing.JScrollPane extentOldScrollPane

extentOldTable

com.sun.java.swing.JTable extentOldTable

extentScrollPane

com.sun.java.swing.JScrollPane extentScrollPane

extentTable

com.sun.java.swing.JTable extentTable

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

lblViewDef

com.sun.java.swing.JLabel lblViewDef

numCols

int numCols

numRows

int numRows

viewDefModel

MyTableModel viewDefModel

viewDefTable

com.sun.java.swing.JTable viewDefTable

Class EVEDemo.ISChangeApplet.ISChange implements Serializable

Serialized Fields

addAtt

com.sun.java.swing.JButton addAtt
Button for adding attributes

addRel

com.sun.java.swing.JButton addRel
Button for adding relation

allISObjects

java.util.Vector allISObjects
local copy of allISObjects, used in building mkb tree

buttons

com.sun.java.swing.JPanel buttons
Panel to contain buttons

dataUpd

com.sun.java.swing.JButton dataUpd
Button for data updates

delAtt

com.sun.java.swing.JButton delAtt
Button for deleting attribute

delRel

com.sun.java.swing.JButton delRel
Button for deleting relation

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

fullPath

com.sun.java.swing.tree.TreePath fullPath
Path of a node in the tree

heading

com.sun.java.swing.JLabel heading

mkbTree

com.sun.java.swing.JTree mkbTree
Tree structure for the mkb

ok

com.sun.java.swing.JButton ok
Button for being done making changes

renAtt

com.sun.java.swing.JButton renAtt
Button for renaming attribute

renRel

com.sun.java.swing.JButton renRel
Button for renaming relation

scrollPaneTree

com.sun.java.swing.JScrollPane scrollPaneTree
scroll pane to contain the mkb

selPath

java.lang.String selPath
Selected Path

treeModel

com.sun.java.swing.tree.DefaultTreeModel treeModel
Tree model for the mkbTree

Class EVEDemo.ISChangeApplet.ISMaster implements Serializable

Serialized Fields

a

Alive a

aaFrame

addAttFrame aaFrame
Intance of addAttFrame for adding an attribute

aaTreePath

com.sun.java.swing.tree.TreePath aaTreePath
the selected path when aaFrame was shown

allViews

java.util.Vector allViews
Vector of all Views. MAYA: Now including a vector of "version" objects

arFrame

addRelFrame arFrame
Instance of addRelFrame for adding a relation

arTreePath

com.sun.java.swing.tree.TreePath arTreePath
the selected path when arFrame was shown

attName

java.lang.String attName
Used in calling delete, change name, and add methods in simulating changes

currIS

IS currIS
Used in calling delete, change name, and add methods in simulating changes

delTreePath

com.sun.java.swing.tree.TreePath delTreePath
the selected path when dFrame was shown

dFrame

delFrame dFrame
Instance of delFrame for deleting attributes and relations

eFrame

evolveFrame eFrame
Instance of evolveFrame for showing evolution of view definitions

ISchangeButton

com.sun.java.swing.JButton ISchangeButton
Button on applet

isFrame

ISChange isFrame
Instance of ISChange for choosing which changes to make

ISName

java.lang.String ISName
Used in calling delete, change name, and add methods in simulating changes

lblWelcome

com.sun.java.swing.JLabel lblWelcome
Label on applet

messageTime

myMessageBox messageTime
Instance of myMessageBox for displaying messages to the user

mwMain

Main mwMain
The handle to the server

relName

java.lang.String relName
Used in calling delete, change name, and add methods in simulating changes

renTreePath

com.sun.java.swing.tree.TreePath renTreePath
the selected path when rFrame was shown

rFrame

renFrame rFrame
Instance of renFrame for renaming attributes and relations

theMKB

MKB theMKB
a reference to the MKB, replaces the InformationSource Vector

Class EVEDemo.ISChangeApplet.myMessageBox implements Serializable

Serialized Fields

buttons

com.sun.java.swing.JPanel buttons

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

ok

com.sun.java.swing.JButton ok

Class EVEDemo.ISChangeApplet.MyTableModel implements Serializable

Serialized Fields

columnNames

java.lang.String[] columnNames

data

java.lang.Object[][] data

Class EVEDemo.ISChangeApplet.MyTreeCellRenderer implements Serializable

Serialized Fields

selected

boolean selected
Whether or not the item that was last configured is selected.

Class EVEDemo.ISChangeApplet.QCFrame implements Serializable

Serialized Fields

costTextColor

java.awt.Color costTextColor

firstLevelBGC

java.awt.Color firstLevelBGC

gridbag

java.awt.GridBagLayout gridbag

jp

com.sun.java.swing.JPanel jp

myQC

QC myQC

qualityTextColor

java.awt.Color qualityTextColor

secondLevelBGC

java.awt.Color secondLevelBGC

sumTextColor

java.awt.Color sumTextColor

thirdLevelBGC

java.awt.Color thirdLevelBGC

Class EVEDemo.ISChangeApplet.renFrame implements Serializable

Serialized Fields

buttons

com.sun.java.swing.JPanel buttons

cancel

com.sun.java.swing.JButton cancel

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

newName

com.sun.java.swing.JLabel newName

newStuff

com.sun.java.swing.JPanel newStuff

newTF

com.sun.java.swing.JTextField newTF

ok

com.sun.java.swing.JButton ok

oldName

com.sun.java.swing.JLabel oldName

oldStuff

com.sun.java.swing.JPanel oldStuff

oldTF

com.sun.java.swing.JTextField oldTF

Class EVEDemo.ISChangeApplet.versionFrame implements Serializable

Serialized Fields

allViews

java.util.Vector allViews

aSymMouse

versionFrame.SymMouse aSymMouse

currentQC

QC currentQC

lblVersion

com.sun.java.swing.JLabel lblVersion

lblView

com.sun.java.swing.JLabel lblView

lblViewDefNew

com.sun.java.swing.JLabel lblViewDefNew

myPane

com.sun.java.swing.JPanel myPane

myParent

ISMaster myParent

myself

versionFrame myself

ok

com.sun.java.swing.JButton ok

pickedVersions

int[] pickedVersions

QC

com.sun.java.swing.JButton QC

qcFrame

QCFrame qcFrame

stuff

java.lang.Object[][] stuff

textArea

com.sun.java.swing.JTextArea textArea

versionList

com.sun.java.swing.JList versionList

versions

java.util.Vector versions

Versions

java.util.Vector Versions

versionScrollPane

com.sun.java.swing.JScrollPane versionScrollPane

versionTable

com.sun.java.swing.JTable versionTable

versionTableModel

MyTableModel versionTableModel

viewDefNewModel

MyTableModel viewDefNewModel

viewDefNewSP

com.sun.java.swing.JScrollPane viewDefNewSP

ViewDefNewText

com.sun.java.swing.JTextField ViewDefNewText

viewItems

java.util.Vector viewItems

viewList

com.sun.java.swing.JList viewList

viewScrollPane

com.sun.java.swing.JScrollPane viewScrollPane


Package EVEDemo.MKBVKBApplet

Class EVEDemo.MKBVKBApplet.mkbFrame implements Serializable

Serialized Fields

condVec

java.util.Vector condVec

fComponentsAdjusted

boolean fComponentsAdjusted
(generated by Visual Cafe)
Used for addNotify check.

jspJ

com.sun.java.swing.JScrollPane jspJ

jspP

com.sun.java.swing.JScrollPane jspP

jspT

com.sun.java.swing.JScrollPane jspT

lblJoin

java.awt.Label lblJoin

lblPC

java.awt.Label lblPC

lblSelectedNode

java.awt.Label lblSelectedNode

lblType

java.awt.Label lblType

mkbOK

com.sun.java.swing.JButton mkbOK

mkbShowExtent

com.sun.java.swing.JButton mkbShowExtent

mkbTree

com.sun.java.swing.JTree mkbTree

mwMain

Main mwMain
Added by Andreas Koeller. The reference of mwMain

panJoin

java.awt.Panel panJoin

panLeft

java.awt.Panel panLeft

panPC

java.awt.Panel panPC

panRight

java.awt.Panel panRight

panType

java.awt.Panel panType

pcpairVec

java.util.Vector pcpairVec

scrollPaneTree

com.sun.java.swing.JScrollPane scrollPaneTree

selectedRelation

java.lang.String selectedRelation

tableJ

com.sun.java.swing.JTable tableJ

tableP

com.sun.java.swing.JTable tableP

tableT

com.sun.java.swing.JTable tableT

tempIS

IS tempIS

tempView

View tempView

thisCond

Condition thisCond

thisJC

JoinConstraint thisJC

thisPC

PCConstraint thisPC

thisPCPair

PCPair thisPCPair

Class EVEDemo.MKBVKBApplet.mkbvkb implements Serializable

Serialized Fields

allISObjects

java.util.Vector allISObjects
A Vector to contain all of the ISObjects

allViews

java.util.Vector allViews
A Vector to contain all of the Views

init_status

boolean init_status

lblWelcome

com.sun.java.swing.JLabel lblWelcome

mFrame

mkbFrame mFrame

mkbBrowse

com.sun.java.swing.JButton mkbBrowse

mwMain

Main mwMain
An instance of the main class.

props

java.util.Properties props
handle to eve.properties

refreshTimer

com.sun.java.swing.Timer refreshTimer
Timer to refresh automatically when necessary

vFrame

vkbFrame vFrame

vkbBrowse

com.sun.java.swing.JButton vkbBrowse

Class EVEDemo.MKBVKBApplet.MyTableModel implements Serializable

Serialized Fields

columnNames

java.lang.String[] columnNames

data

java.lang.Object[][] data

Class EVEDemo.MKBVKBApplet.MyTreeCellRenderer implements Serializable

Serialized Fields

selected

boolean selected
Whether or not the item that was last configured is selected.

Class EVEDemo.MKBVKBApplet.relExtentFrame implements Serializable

Serialized Fields

allAttr

java.util.Vector allAttr

extentModel

MyTableModel extentModel

extentScrollPane

com.sun.java.swing.JScrollPane extentScrollPane

extentTable

com.sun.java.swing.JTable extentTable

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

myMain

Main myMain

myView

View myView

veOK

com.sun.java.swing.JButton veOK

Class EVEDemo.MKBVKBApplet.viewExtentFrame implements Serializable

Serialized Fields

allAttr

java.util.Vector allAttr

defScrollPane

com.sun.java.swing.JScrollPane defScrollPane

extentModel

MyTableModel extentModel

extentScrollPane

com.sun.java.swing.JScrollPane extentScrollPane

extentTable

com.sun.java.swing.JTable extentTable

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

lblViewDef

com.sun.java.swing.JLabel lblViewDef

myMain

Main myMain

myView

View myView

space

com.sun.java.swing.JLabel space

veOK

com.sun.java.swing.JButton veOK

veRefresh

com.sun.java.swing.JButton veRefresh

viewDefModel

MyTableModel viewDefModel

viewDefTable

com.sun.java.swing.JTable viewDefTable

Class EVEDemo.MKBVKBApplet.vkbFrame implements Serializable

Serialized Fields

allViews

java.util.Vector allViews
A local copy of allViews

disExtButton

com.sun.java.swing.JButton disExtButton
Used to trigger showing of extent of currently selected view.

extentFrame

viewExtentFrame extentFrame

fComponentsAdjusted

boolean fComponentsAdjusted
Used for addNotify check.

lblView

com.sun.java.swing.JLabel lblView

lblViewDef

com.sun.java.swing.JLabel lblViewDef

mwMain

Main mwMain
Added by Xin Zhang. The reference of mwMain

stuff

java.lang.Object[][] stuff

tempView

View tempView

viewDefModel

MyTableModel viewDefModel

viewDefSP

com.sun.java.swing.JScrollPane viewDefSP

viewDefTable

com.sun.java.swing.JTable viewDefTable

viewDefTableESQL

com.sun.java.swing.JTable viewDefTableESQL

viewDefTableSQL

com.sun.java.swing.JTable viewDefTableSQL

viewItems

java.util.Vector viewItems

viewList

com.sun.java.swing.JList viewList

viewsScrollPane

com.sun.java.swing.JScrollPane viewsScrollPane

vkbOK

com.sun.java.swing.JButton vkbOK


Package EVEDemo.PSWEEP

Class EVEDemo.PSWEEP.AssignTimeStamp implements Serializable

Serialized Fields

timestamp

long timestamp
The local time stamp of Data warehouse.

Class EVEDemo.PSWEEP.DWProcess implements Serializable

Serialized Fields

currentDW

ViewDefinition currentDW
the View definition of current DW. From the algorithm, the View should be same as the Relation type. But, from the View is a SQL definition, and PSJ model is different with the Relation. So, I need to create a new ViewDefinition class as the sub class of Relation class.

currentLogUpdates

AssignTimeStamp currentLogUpdates
this process will monitor the public FIFO channel and get elements from public FIFO channel to Update Message Queue

currentUpdateView

UpdateView currentUpdateView
this process will monitor the private Update Message Queue and process the (Delta R, i)

publicFIFOChannel

MultiQueue publicFIFOChannel
public FIFO channel that connect IS and DW

UpdateMessageQueue

MessageQueue UpdateMessageQueue
private Queue for holding all IS Updates

Class EVEDemo.PSWEEP.PPUSet implements Serializable

Serialized Fields

SizeOfSet

int SizeOfSet
The size of this set.

Class EVEDemo.PSWEEP.PSWEEP implements Serializable

Serialized Fields

dur

DataUpdateReceiver dur
DataUpdateReceiver of this PSWEEP Object. The object will be used by Andreas from the middle layer to send the DU down.

dw

DWProcess dw
Data warehouse process of this view definition. It should be the PSWEEP.DWProcess here. :)

FifoChannel

MultiQueue FifoChannel
FifoChannel used to create communication between ISs and DW.

ISnum

int ISnum
Number of ISs.

isps

ISProcess[] isps
Array of ISProcess

Class EVEDemo.PSWEEP.RPUSet implements Serializable

Class EVEDemo.PSWEEP.UpdateDataSet implements Serializable

Serialized Fields

enum

java.util.Enumeration enum

Set

java.util.Vector Set
In order to synchronize, I am going to use the Vector.

Class EVEDemo.PSWEEP.UpdateView implements Serializable

Serialized Fields

JCAttrs

java.util.Hashtable[] JCAttrs
The Join Condition for the Local Compensation

PPU

PPUSet PPU

RPU

RPUSet RPU

threads

int threads
The counter of threads of view changes

UPRLock

Lock UPRLock
Actually, we have three kinds of transactions between UMQ, PPU, and RPU. 1. move UMQ to PPU. 2. move PPU to RPU. 3. take snapeshot of UMQ and PPU and RPU. They are all locked each other. in this case, I created one global lock called UPR(UMQ, PPU, RPU) lock.


Package EVEDemo.SWEEP

Class EVEDemo.SWEEP.Attribute implements Serializable

Serialized Fields

Name

java.lang.String Name

R

Relation R

size

int size

type

Type type

Class EVEDemo.SWEEP.CreateUpdateFile implements Serializable

Serialized Fields

DeltaR

Relation DeltaR
Update of Relation R

Index

int Index
Information Source Index

OriginalRelation

Relation OriginalRelation
Snap Shot to the Relation R

Class EVEDemo.SWEEP.DatabaseInterface implements Serializable

Class EVEDemo.SWEEP.DataUpdateReceiver implements Serializable

Serialized Fields

DUQueues

Queue[] DUQueues
Data Update Queue Array for each Information Sources

dus

int dus
count how many data updates received.

Index

Relation[] Index
Use relation as index.

Class EVEDemo.SWEEP.DWProcess implements Serializable

Serialized Fields

currentDW

ViewDefinition currentDW

currentLogUpdates

LogUpdates currentLogUpdates

currentUpdateView

UpdateView currentUpdateView

publicFIFOChannel

MultiQueue publicFIFOChannel

UpdateMessageQueue

MessageQueue UpdateMessageQueue

Class EVEDemo.SWEEP.Element implements Serializable

Class EVEDemo.SWEEP.ISProcess implements Serializable

Serialized Fields

currentQuery

ProcessQuery currentQuery

currentUpdates

SendUpdates currentUpdates

MyIndex

int MyIndex

publicFIFOChannel

MultiQueue publicFIFOChannel

theRelaiton

Relation theRelaiton

Class EVEDemo.SWEEP.JCAttrPair implements Serializable

Serialized Fields

lat

java.lang.String lat
Local Attribute Name

rat

java.lang.String rat
Remote Attribute Name

Class EVEDemo.SWEEP.JoinCondition implements Serializable

Serialized Fields

Op

Operator Op

Oprand1

Attribute Oprand1

Oprand2

Attribute Oprand2

Class EVEDemo.SWEEP.JoinConditionList implements Serializable

Serialized Fields

JCList

java.util.Vector JCList

Class EVEDemo.SWEEP.JoinList implements Serializable

Serialized Fields

JCList

JoinConditionList JCList

RList

RelationList RList

Class EVEDemo.SWEEP.LocalCondition implements Serializable

Serialized Fields

Op

Operator Op

Operand1

Attribute Operand1

Operand2

PrimitiveValue Operand2

Class EVEDemo.SWEEP.LogUpdates implements Serializable

Serialized Fields

finished

boolean finished

publicFIFOChannel

MultiQueue publicFIFOChannel

UpdateMessageQueue

Queue UpdateMessageQueue

Class EVEDemo.SWEEP.MessageQueue implements Serializable

Class EVEDemo.SWEEP.MultiQueue implements Serializable

Serialized Fields

QueryQueues

Queue[] QueryQueues

QueryResultQueues

Queue[] QueryResultQueues

QueueNumber

int QueueNumber

UpdateDataQueue

Queue UpdateDataQueue

Class EVEDemo.SWEEP.NoSuchMonthException implements Serializable

Class EVEDemo.SWEEP.NotFoundException implements Serializable

Class EVEDemo.SWEEP.NotMatchException implements Serializable

Class EVEDemo.SWEEP.NoUpdateException implements Serializable

Class EVEDemo.SWEEP.Operator implements Serializable

Serialized Fields

Value

java.lang.String Value

Class EVEDemo.SWEEP.ParaNullException implements Serializable

Class EVEDemo.SWEEP.PrimitiveValue implements Serializable

Serialized Fields

StringValue

java.lang.String StringValue

type

int type

Class EVEDemo.SWEEP.ProcessQuery implements Serializable

Serialized Fields

currentRelation

Relation currentRelation

JCAttrs

java.util.Hashtable JCAttrs
Because there will be more than one Join Condition connects to one Relation, So, we use Hashtable stores all the Join Conditions, and ordered by the Relation. This is the Hashtable of Attribute Pairs. They are indexed on the Relation Name.

MyIndex

int MyIndex

publicFIFOChannel

MultiQueue publicFIFOChannel

Class EVEDemo.SWEEP.ProjectList implements Serializable

Serialized Fields

AttributeList

java.util.Vector AttributeList

Class EVEDemo.SWEEP.Query implements Serializable

Class EVEDemo.SWEEP.QueryResult implements Serializable

Serialized Fields

currentResult

Relation currentResult

Class EVEDemo.SWEEP.Queue implements Serializable

Serialized Fields

current

int current

head

int head
head of queue

index

Element[] index
index of elements

size

int size
default queue size is 10000

tail

int tail
tail of queue

wl

Lock wl
For the queue, not only the method to be synchronized that only one thread can access the method at one time, we also need all the methods need to be synchronized, that means only one modification methods can access the queue at one time.

Class EVEDemo.SWEEP.QueueFullException implements Serializable

Class EVEDemo.SWEEP.Relation implements Serializable

Serialized Fields

alias

java.lang.String alias
Alias of this Relation. It used for Join Condition to keep track of Where this Relation comes from.

theExtent

RelationExtent theExtent

theName

java.lang.String theName

theSchema

RelationSchema theSchema

Class EVEDemo.SWEEP.RelationExtent implements Serializable

Serialized Fields

theIterator

java.util.Enumeration theIterator
this enumaretion used for iterator

tuples

java.util.Vector tuples

Class EVEDemo.SWEEP.RelationList implements Serializable

Serialized Fields

RList

java.util.Vector RList

Class EVEDemo.SWEEP.RelationSchema implements Serializable

Serialized Fields

labels

java.util.Vector labels

Class EVEDemo.SWEEP.SelectList implements Serializable

Serialized Fields

LCList

java.util.Vector LCList

Class EVEDemo.SWEEP.SendUpdates implements Serializable

Serialized Fields

cuf

CreateUpdateFile cuf
used to detect the update.

MyIndex

int MyIndex
Global object for ISProcess. describes current IS's number

publicFIFOChannel

MultiQueue publicFIFOChannel
Global Object for ISProcess.

Receiver

DataUpdateReceiver Receiver
The Receiver where SendUpdates will get the Data Updates.

Class EVEDemo.SWEEP.StampedElement implements Serializable

Serialized Fields

TimeStamp

long TimeStamp

Class EVEDemo.SWEEP.SWEEP implements Serializable

Serialized Fields

dur

DataUpdateReceiver dur
DataUpdateReceiver of this SWEEP Object. The object will be used by Andreas from the middle layer to send the DU down.

dw

DWProcess dw
Data warehouse process of this view definition.

FifoChannel

MultiQueue FifoChannel
FifoChannel used to create communication between ISs and DW.

ISnum

int ISnum
Number of ISs.

isps

ISProcess[] isps
Array of ISProcess

Class EVEDemo.SWEEP.Tuple implements Serializable

Serialized Fields

fields

java.util.Vector fields

number

int number
String Arrays.

Class EVEDemo.SWEEP.Type implements Serializable

Serialized Fields

currentType

int currentType

Class EVEDemo.SWEEP.UpdateData implements Serializable

Serialized Fields

ISIndex

int ISIndex

UpdateRelation

Relation UpdateRelation

Class EVEDemo.SWEEP.UpdateReceiver implements Serializable

Class EVEDemo.SWEEP.UpdateView implements Serializable

Serialized Fields

EVEview

View EVEview

finished

boolean finished

n

int n

publicFIFOChannel

MultiQueue publicFIFOChannel

UpdateMessageQueue

MessageQueue UpdateMessageQueue

View

ViewDefinition View

Class EVEDemo.SWEEP.ViewDefinition implements Serializable

Serialized Fields

Join

JoinList Join

Project

ProjectList Project

Select

SelectList Select