parser
Class AST_Update

java.lang.Object
  extended by parser.SimpleNode
      extended by parser.AST_Update
All Implemented Interfaces:
Node

public class AST_Update
extends SimpleNode

AST node for UPDATE statements.


Field Summary
protected  java.lang.String fileName
          Name of the table to update.
 
Fields inherited from class parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
AST_Update(int id)
           
AST_Update(MiniSql p, int id)
           
 
Method Summary
 java.lang.String[] getColumns()
          Gets the names of the columns to update.
 java.lang.String getFileName()
          Gets the name of the table to update.
 Predicate[][] getPredicates()
          Gets the WHERE clause predicates in Conjunctive Normal Form (a.k.a.
 java.lang.Object[] getValues()
          Gets the parsed values to update.
 
Methods inherited from class parser.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileName

protected java.lang.String fileName
Name of the table to update.

Constructor Detail

AST_Update

public AST_Update(int id)

AST_Update

public AST_Update(MiniSql p,
                  int id)
Method Detail

getFileName

public java.lang.String getFileName()
Gets the name of the table to update.


getColumns

public java.lang.String[] getColumns()
Gets the names of the columns to update.


getValues

public java.lang.Object[] getValues()
Gets the parsed values to update.


getPredicates

public Predicate[][] getPredicates()
Gets the WHERE clause predicates in Conjunctive Normal Form (a.k.a. product of sums, i.e. AND expression of OR expressions).