com.caucho.amber.query
Class UpdateQuery

java.lang.Object
  extended by com.caucho.amber.query.AbstractQuery
      extended by com.caucho.amber.query.UpdateQuery

public class UpdateQuery
extends AbstractQuery

Represents an Amber select query


Field Summary
 
Fields inherited from class com.caucho.amber.query.AbstractQuery
_embeddedAliases, _fromList
 
Method Summary
 void complete(UserQuery userQuery, AmberConnection aConn)
          Adds any completion info.
 java.util.ArrayList<AmberExpr> getFieldList()
          Returns the field list.
 java.lang.String getSQL()
          Returns the id load sql
 java.util.ArrayList<AmberExpr> getValueList()
          Returns the field list.
 void prepare(UserQuery userQuery, AmberConnection aConn)
          Adds any completion info.
 java.lang.String toString()
          Debug view.
 
Methods inherited from class com.caucho.amber.query.AbstractQuery
addEmbeddedAlias, createDependentFromItem, createFromItem, createFromItem, exists, getArgList, getCacheMaxAge, getEmbeddedAliases, getFromList, getParentQuery, getPreparedMapping, getQueryString, hasSubQuery, setHasSubQuery, usesFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFieldList

public java.util.ArrayList<AmberExpr> getFieldList()
Returns the field list.


getValueList

public java.util.ArrayList<AmberExpr> getValueList()
Returns the field list.


getSQL

public java.lang.String getSQL()
Returns the id load sql

Specified by:
getSQL in class AbstractQuery

prepare

public void prepare(UserQuery userQuery,
                    AmberConnection aConn)
             throws java.sql.SQLException
Adds any completion info.

Overrides:
prepare in class AbstractQuery
Throws:
java.sql.SQLException

complete

public void complete(UserQuery userQuery,
                     AmberConnection aConn)
              throws java.sql.SQLException
Adds any completion info.

Overrides:
complete in class AbstractQuery
Throws:
java.sql.SQLException

toString

public java.lang.String toString()
Debug view.

Overrides:
toString in class java.lang.Object