com.caucho.amber.query
Class DeleteQuery

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

public class DeleteQuery
extends AbstractQuery

Represents an Amber delete 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.lang.String getSQL()
          Returns the id load sql
 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

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