Class BinaryTree
java.lang.Object
org.gvsig.remoteclient.wfs.filters.BinaryTree
This class implements a binary tree (not ordered) that is
used to build a sintactic tree for the SQL language.
- Author:
- Jorge Piera Llodrá (piera_jor@gva.es), Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BinaryTree
public BinaryTree()
-
-
Method Details
-
addTerm
This method is called for each term that is on the SQL query. It's supposed that the value is a valid expression, otherwise will launch an exception.- Parameters:
value- expression formatted
-
addTerm
Adds a new term to the tree- Parameters:
value-operationTree-name-operationPair-
-
printTree
public void printTree()Print all the tree -
getRoot
- Returns:
- Returns the root.
-