dsql.parser
Class ASTInsert

java.lang.Object
  extended bydsql.parser.SimpleNode
      extended bydsql.parser.DMNode
          extended bydsql.parser.ASTTableUpdate
              extended bydsql.parser.ASTInsert
All Implemented Interfaces:
Node

public class ASTInsert
extends ASTTableUpdate


Field Summary
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTInsert(int id)
           
ASTInsert(Parser p, int id)
           
 
Method Summary
 Value execute()
          Execute a Node
 java.lang.String[] getLabels()
           
 java.lang.String[] getLabels(int size)
          in case labels are not set, construct some with size
 void setLabels(java.lang.String[] _labels)
           
 
Methods inherited from class dsql.parser.DMNode
executeArgument, executeArgumentAsClass, executeArgumentColumnHolder, executeArgumentNonNull, executeArgumentRecordHolder, executeArgumentTable, executeWithCatch, executeXML, getArgument, getCaller, getDsqlParent, getLine, getRoot, getString, hasArgument, jjtInsertFirstChild, jjtSetChild, setCaller, setLine
 
Methods inherited from class dsql.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
 

Constructor Detail

ASTInsert

public ASTInsert(int id)

ASTInsert

public ASTInsert(Parser p,
                 int id)
Method Detail

setLabels

public void setLabels(java.lang.String[] _labels)

getLabels

public java.lang.String[] getLabels()

getLabels

public java.lang.String[] getLabels(int size)
in case labels are not set, construct some with size


execute

public Value execute()
              throws ExecuteException
Description copied from class: DMNode
Execute a Node

Specified by:
execute in class DMNode
Throws:
ExecuteException - If an error occurs during execution