dsql.parser
Class ASTSysdate

java.lang.Object
  extended bydsql.parser.SimpleNode
      extended bydsql.parser.DMNode
          extended bydsql.parser.ASTFunction
              extended bydsql.parser.ASTSysdate
All Implemented Interfaces:
Node

public class ASTSysdate
extends ASTFunction

Returns current date/time as a record


Field Summary
protected static java.lang.String[] DATELABELS
           
 
Fields inherited from class dsql.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTSysdate(int id)
          Constructor for Parser
ASTSysdate(Parser p, int id)
          Constructor for Parser
 
Method Summary
 Value execute()
          Execute a Node
 
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
 

Field Detail

DATELABELS

protected static java.lang.String[] DATELABELS
Constructor Detail

ASTSysdate

public ASTSysdate(int id)
Constructor for Parser


ASTSysdate

public ASTSysdate(Parser p,
                  int id)
Constructor for Parser

Method Detail

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