Uses of Class
com.mckoi.database.jdbc.SQLQuery
-
Packages that use SQLQuery Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.interpret com.mckoi.database.jdbc The JDBC interface to Mckoi.com.mckoi.database.jdbcserver Implementation of the DatabaseInterface interface, including classes to handle local (embedded) mode and remote (client/server) mode. -
-
Uses of SQLQuery in com.mckoi.database
Methods in com.mckoi.database with parameters of type SQLQuery Modifier and Type Method Description void
DatabaseConnection. createView(SQLQuery query, ViewDef view)
Creates a new view.void
ViewManager. defineView(ViewDef view, SQLQuery query, User user)
Defines a view. -
Uses of SQLQuery in com.mckoi.database.interpret
Fields in com.mckoi.database.interpret declared as SQLQuery Modifier and Type Field Description protected SQLQuery
Statement. query
The SQLQuery object that was used to produce this statement.Methods in com.mckoi.database.interpret with parameters of type SQLQuery Modifier and Type Method Description Table
SQLQueryExecutor. execute(DatabaseConnection connection, SQLQuery query)
Executes the given SQLQuery object on the given DatabaseConnection object.void
Statement. init(DatabaseConnection db, StatementTree stree, SQLQuery query)
Sets up internal variables for this statement for derived classes to use. -
Uses of SQLQuery in com.mckoi.database.jdbc
Fields in com.mckoi.database.jdbc declared as SQLQuery Modifier and Type Field Description private SQLQuery
MPreparedStatement. statement
The SQLQuery object constructed for this statement.Methods in com.mckoi.database.jdbc that return SQLQuery Modifier and Type Method Description SQLQuery
SQLQuery. copy()
Creates an exact copy of this object.static SQLQuery
SQLQuery. deserializeFromBlob(ByteLongObject ob)
Deserializes an SQLQuery object from a ByteLongObject.static SQLQuery
SQLQuery. readFrom(java.io.DataInputStream in)
Reads an SQLQuery object from the data input stream.Methods in com.mckoi.database.jdbc with parameters of type SQLQuery Modifier and Type Method Description protected void
MStatement. addBatch(SQLQuery query)
Adds a query to the batch of queries executed by this statement.QueryResponse
DatabaseInterface. execQuery(SQLQuery sql)
Executes the query and returns a QueryResponse object that describes the result of the query.QueryResponse
RemoteDatabaseInterface. execQuery(SQLQuery sql)
(package private) void
MConnection. executeQueries(SQLQuery[] queries, MResultSet[] results)
Sends the batch of SQLQuery objects to the database to be executed.protected MResultSet[]
MStatement. executeQueries(SQLQuery[] queries)
Executes a batch of SQL queries as listed as an array.(package private) void
MConnection. executeQuery(SQLQuery sql, MResultSet result_set)
Sends the SQL string to the database to be executed.protected MResultSet
MStatement. executeQuery(SQLQuery query)
Executes the given SQLQuery object and fill's in at most the top 10 entries of the result set.(package private) int
RemoteDatabaseInterface.ConnectionThread. executeQuery(SQLQuery sql)
Sends a command to the server to process a query.private void
MConnection. uploadStreamableObjects(SQLQuery sql)
Uploads any streamable objects found in an SQLQuery into the database. -
Uses of SQLQuery in com.mckoi.database.jdbcserver
Fields in com.mckoi.database.jdbcserver declared as SQLQuery Modifier and Type Field Description private SQLQuery
AbstractJDBCDatabaseInterface.ResultSetInfo. query
The SQLQuery that was executed to produce this result.Methods in com.mckoi.database.jdbcserver that return SQLQuery Modifier and Type Method Description (package private) SQLQuery
AbstractJDBCDatabaseInterface.ResultSetInfo. getSQLQuery()
Returns the SQLQuery that was used to produce this result.Methods in com.mckoi.database.jdbcserver with parameters of type SQLQuery Modifier and Type Method Description QueryResponse
AbstractJDBCDatabaseInterface. execQuery(SQLQuery query)
QueryResponse
JDBCDatabaseInterface. execQuery(SQLQuery query)
protected java.sql.SQLException
AbstractJDBCDatabaseInterface. handleExecuteThrowable(java.lang.Throwable e, SQLQuery query)
Wraps a Throwable thrown by the execution of a query in DatabaseConnection with an SQLException and puts the appropriate error messages to the debug log.Constructors in com.mckoi.database.jdbcserver with parameters of type SQLQuery Constructor Description ResultSetInfo(SQLQuery query, Table table)
Constructs the result set.
-