com.caucho.db.sql
Class CreateQuery

java.lang.Object
  extended by com.caucho.db.sql.Query
      extended by com.caucho.db.sql.CreateQuery

public class CreateQuery
extends Query


Field Summary
 
Fields inherited from class com.caucho.db.sql.Query
_whereExpr
 
Method Summary
 void execute(QueryContext queryContext, DbTransaction xa)
          Executes the query.
 TableFactory getFactory()
          Returns the factory.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.db.sql.Query
bind, bind, executeCursor, freeRows, generateWhere, getDatabase, getDataFields, getFromItems, getParamExprs, getParent, getSubSelect, getWhereExprs, isGroup, isReadOnly, isSelect, nextTuple, setDataFields, setFromItems, setFromItems, setGroup, setLimit, setParams, setParent, setSubSelect, setWhereExpr, setWhereExprs, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFactory

public TableFactory getFactory()
Returns the factory.


execute

public void execute(QueryContext queryContext,
                    DbTransaction xa)
             throws java.sql.SQLException
Executes the query.

Specified by:
execute in class Query
Throws:
java.sql.SQLException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object