接口的使用
com.mysql.cj.Query
-
使用Query的程序包 程序包 说明 com.mysql.cj com.mysql.cj.interceptors com.mysql.cj.jdbc com.mysql.cj.jdbc.ha com.mysql.cj.jdbc.result com.mysql.cj.log com.mysql.cj.protocol com.mysql.cj.protocol.a -
-
com.mysql.cj中Query的使用
com.mysql.cj中Query的子接口 修饰符和类型 接口 说明 interfacePreparedQuery<T extends QueryBindings<?>>实现Query的com.mysql.cj中的类 修饰符和类型 类 说明 classAbstractPreparedQuery<T extends QueryBindings<?>>classAbstractQueryclassClientPreparedQueryclassServerPreparedQueryclassServerPreparedQueryTestcaseGeneratorclassSimpleQuery返回Query的com.mysql.cj中的方法 修饰符和类型 方法 说明 QueryCancelQueryTask. getQueryToCancel()QueryCancelQueryTaskImpl. getQueryToCancel()参数类型为Query的com.mysql.cj中的方法 修饰符和类型 方法 说明 <T extends Resultset>
TNativeSession. execSQL(Query callingQuery, String query, int maxRows, NativePacketPayload packet, boolean streamResults, ProtocolEntityFactory<T,NativePacketPayload> resultSetFactory, ColumnDefinition cachedMetadata, boolean isBatch)Send a query to the server.<T extends Resultset>
TNativeSession. invokeQueryInterceptorsPost(Supplier<String> sql, Query interceptedQuery, T originalResultSet, boolean forceExecute)<T extends Resultset>
TNativeSession. invokeQueryInterceptorsPre(Supplier<String> sql, Query interceptedQuery, boolean forceExecute)<T extends Resultset>
TNoSubInterceptorWrapper. postProcess(Supplier<String> sql, Query interceptedQuery, T originalResultSet, ServerSession serverSession)<T extends Resultset>
TNoSubInterceptorWrapper. preProcess(Supplier<String> sql, Query interceptedQuery)voidCancelQueryTask. setQueryToCancel(Query queryToCancel)voidCancelQueryTaskImpl. setQueryToCancel(Query queryToCancel)CancelQueryTaskAbstractQuery. startQueryTimer(Query stmtToCancel, int timeout)CancelQueryTaskQuery. startQueryTimer(Query stmtToCancel, int timeout)参数类型为Query的com.mysql.cj中的构造器 构造器 说明 CancelQueryTaskImpl(Query cancellee) -
com.mysql.cj.interceptors中Query的使用
参数类型为Query的com.mysql.cj.interceptors中的方法 修饰符和类型 方法 说明 <T extends Resultset>
TQueryInterceptor. postProcess(Supplier<String> sql, Query interceptedQuery, T originalResultSet, ServerSession serverSession)Called after the given query has been sent to the server for processing.<T extends Resultset>
TQueryInterceptor. preProcess(Supplier<String> sql, Query interceptedQuery)Called before the given query is going to be sent to the server for processing. -
com.mysql.cj.jdbc中Query的使用
com.mysql.cj.jdbc中Query的子接口 修饰符和类型 接口 说明 interfaceJdbcPreparedStatementinterfaceJdbcStatementThis interface contains methods that are considered the "vendor extension" to the JDBC API for MySQL's implementation of java.sql.Statement.实现Query的com.mysql.cj.jdbc中的类 修饰符和类型 类 说明 classCallableStatementRepresentation of stored procedures for JDBCclassClientPreparedStatementA SQL Statement is pre-compiled and stored in a PreparedStatement object.classServerPreparedStatementJDBC Interface for MySQL-4.1 and newer server-side PreparedStatements.classStatementImplA Statement object is used for executing a static SQL statement and obtaining the results produced by it.声明为Query的com.mysql.cj.jdbc中的字段 修饰符和类型 字段 说明 protected QueryStatementImpl. query返回Query的com.mysql.cj.jdbc中的方法 修饰符和类型 方法 说明 QueryJdbcStatement. getQuery()QueryStatementImpl. getQuery()参数类型为Query的com.mysql.cj.jdbc中的方法 修饰符和类型 方法 说明 CancelQueryTaskStatementImpl. startQueryTimer(Query stmtToCancel, int timeout) -
com.mysql.cj.jdbc.ha中Query的使用
参数类型为Query的com.mysql.cj.jdbc.ha中的方法 修饰符和类型 方法 说明 <T extends Resultset>
TLoadBalancedAutoCommitInterceptor. postProcess(Supplier<String> sql, Query interceptedQuery, T originalResultSet, ServerSession serverSession)<T extends Resultset>
TLoadBalancedAutoCommitInterceptor. preProcess(Supplier<String> sql, Query interceptedQuery) -
com.mysql.cj.jdbc.result中Query的使用
返回Query的com.mysql.cj.jdbc.result中的方法 修饰符和类型 方法 说明 QueryResultSetImpl. getOwningQuery() -
com.mysql.cj.log中Query的使用
参数类型为Query的com.mysql.cj.log中的方法 修饰符和类型 方法 说明 voidProfilerEventHandler. processEvent(byte eventType, Session session, Query query, Resultset resultSet, long eventDuration, Throwable eventCreationPoint, String message) -
com.mysql.cj.protocol中Query的使用
返回Query的com.mysql.cj.protocol中的方法 修饰符和类型 方法 说明 QueryResultsetRowsOwner. getOwningQuery() -
com.mysql.cj.protocol.a中Query的使用
参数类型为Query的com.mysql.cj.protocol.a中的方法 修饰符和类型 方法 说明 <T extends Resultset>
TNativeProtocol. invokeQueryInterceptorsPost(Supplier<String> sql, Query interceptedQuery, T originalResultSet, boolean forceExecute)<T extends Resultset>
TNativeProtocol. invokeQueryInterceptorsPre(Supplier<String> sql, Query interceptedQuery, boolean forceExecute)<T extends Resultset>
TNativeProtocol. sendQueryPacket(Query callingQuery, NativePacketPayload queryPacket, int maxRows, boolean streamResults, ColumnDefinition cachedMetadata, ProtocolEntityFactory<T,NativePacketPayload> resultSetFactory)Send a query stored in a packet to the server.<T extends Resultset>
TNativeProtocol. sendQueryString(Query callingQuery, String query, String characterEncoding, int maxRows, boolean streamResults, ColumnDefinition cachedMetadata, ProtocolEntityFactory<T,NativePacketPayload> resultSetFactory)Build a query packet from the given string and send it to the server.
-