|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DSRG.VKB.E_SQL.SimpleNode
By browsing the syntax tree of SimpleNode, we can create two objects:
Field Summary | |
java.lang.String |
attr_name
Attribute Name of (Attribute_name) node |
boolean |
bool_value
Boolean value of this Node |
static int |
BOOLEAN
|
Node[] |
children
|
static int |
DOUBLE
|
boolean |
has_condition
has_condition for WHERE clause of view definition. |
boolean |
has_dispensable
has_dispensable of (Attribute, Relation, Condition) component |
boolean |
has_replaceable
has_replaceable of (Attribute, Relation, Condition) component |
boolean |
hasVExtent
Has VExtent is used to show whether a VD has VE parameter or not. |
protected int |
id
|
java.lang.String |
IS_name
Information Source Name of (Relation_name, Attribute_name) node |
static int |
LONG
|
(package private) static MKB |
mkb
Global MKB of current vkb used in following functions |
java.lang.String |
name
Name of this Node |
protected Node |
parent
|
protected E_SQL |
parser
|
java.lang.String |
rel_name
Relation Name of (Relation_name, Attribute_name) node |
static int |
STRING
|
int |
type
Type of Value node |
Constructor Summary | |
SimpleNode(E_SQL p,
int i)
|
|
SimpleNode(int i)
|
Method Summary | |
Attribute_Component |
createAttributeComponent()
Create Attribute Component object |
Condition |
createCondition()
Create Condition from Primitive_clause |
Condition_Component |
createConditionComponent()
Create Condition Component |
(package private) java.util.Vector |
createFromClause()
Create From Clause object |
void |
createMKB(MKB mkb)
Create a MKB object from the Parser Tree. |
Operator |
createOperator()
Create Operator object |
Relation_Component |
createRelationComponent()
Create Relation_Component Object |
(package private) java.util.Vector |
createSelectClause()
Create Select Clause object |
(package private) Primitive_Value |
createValue()
Create Value object. |
(package private) int |
createVExtent()
Create the ViewExtent parameter of View Definition. |
void |
createViewDefinition(View_Definition vd,
MKB ref)
Create a View_Definition Object from the Parser Tree. |
void |
createVKB(VKB vkb,
MKB ref)
Create a VKB object from the Parser Tree. |
(package private) Condition_index |
createWhereClause()
Create Where Clause |
void |
dump(java.lang.String prefix)
|
void |
jjtAddChild(Node n,
int i)
|
void |
jjtClose()
|
Node |
jjtGetChild(int i)
|
int |
jjtGetNumChildren()
|
Node |
jjtGetParent()
|
void |
jjtOpen()
|
void |
jjtSetParent(Node n)
|
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String prefix)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
protected Node parent
public Node[] children
protected int id
protected E_SQL parser
public java.lang.String name
public boolean bool_value
public java.lang.String IS_name
public java.lang.String rel_name
public java.lang.String attr_name
public int type
public static final int STRING
public static final int DOUBLE
public static final int LONG
public static final int BOOLEAN
public boolean has_dispensable
public boolean has_replaceable
public boolean has_condition
public boolean hasVExtent
static MKB mkb
Constructor Detail |
public SimpleNode(int i)
public SimpleNode(E_SQL p, int i)
Method Detail |
public void jjtOpen()
public void jjtClose()
public void jjtSetParent(Node n)
public Node jjtGetParent()
public void jjtAddChild(Node n, int i)
public Node jjtGetChild(int i)
public int jjtGetNumChildren()
public java.lang.String toString()
public java.lang.String toString(java.lang.String prefix)
public void dump(java.lang.String prefix)
public void createMKB(MKB mkb)
public void createVKB(VKB vkb, MKB ref)
vd
- reference of VKB needed to be created by this parserref
- reference of MKB which parser based on.public void createViewDefinition(View_Definition vd, MKB ref)
vd
- reference of view defintion needed to be created by this parserref
- reference of MKB which parser based on.int createVExtent()
java.util.Vector createSelectClause()
public Attribute_Component createAttributeComponent()
java.util.Vector createFromClause()
public Relation_Component createRelationComponent()
Condition_index createWhereClause()
public Condition_Component createConditionComponent()
public Condition createCondition()
public Operator createOperator()
Primitive_Value createValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |