org.axiondb.engine.commands
Class DMLWhenClause

java.lang.Object
  extended by org.axiondb.engine.commands.DMLWhenClause

public class DMLWhenClause
extends Object

A WHEN clause in insert, update and merge statements.


Constructor Summary
DMLWhenClause(Selectable whenCondition)
           
 
Method Summary
 boolean evaluate(RowDecorator dec)
           
 Selectable getCondition()
           
 void resolve(Database db, TableIdentifier[] tables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMLWhenClause

public DMLWhenClause(Selectable whenCondition)
Method Detail

evaluate

public boolean evaluate(RowDecorator dec)
                 throws AxionException
Throws:
AxionException

resolve

public void resolve(Database db,
                    TableIdentifier[] tables)
             throws AxionException
Throws:
AxionException

getCondition

public Selectable getCondition()