⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statementrequestinterface.java

📁 derby database source code.good for you.
💻 JAVA
字号:
/*   Derby - Class org.apache.derby.client.net.StatementRequestInterface   Copyright (c) 2001, 2005 The Apache Software Foundation or its licensors, where applicable.   Licensed under the Apache License, Version 2.0 (the "License");   you may not use this file except in compliance with the License.   You may obtain a copy of the License at      http://www.apache.org/licenses/LICENSE-2.0   Unless required by applicable law or agreed to in writing, software   distributed under the License is distributed on an "AS IS" BASIS,   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   See the License for the specific language governing permissions and   limitations under the License.*/package org.apache.derby.client.net;import org.apache.derby.client.am.ColumnMetaData;import org.apache.derby.client.am.Section;import org.apache.derby.client.am.SqlException;// In general, all required data is passed.// In addition, Material Statement objects are passed for convenient access to any material statement caches.// Implementations of this interface should not dereference common layer Statement state, as it is passed in,// but may dereference material layer Statement state if necessary for performance.public interface StatementRequestInterface {    public void writeExecuteImmediate(NetStatement materialStatement,                                      String sql,                                      Section section) throws SqlException;    public void writePrepareDescribeOutput(NetStatement materialStatement,                                           String sql,                                           Section section) throws SqlException;    public void writePrepare(NetStatement materialStatement,                             String sql,                             Section section) throws SqlException;    public void writeOpenQuery(NetStatement materialStatement,                               Section section,                               int fetchSize,                               int resultSetType) throws SqlException;    public void writeExecute(NetPreparedStatement materialPreparedStatement,                             Section section,                             org.apache.derby.client.am.ColumnMetaData parameterMetaData,                             Object[] inputs,                             int numInputColumns,                             boolean outputExpected,                             // This is a hint to the material layer that more write commands will follow.                             // It is ignored by the driver in all cases except when blob data is written,                             // in which case this boolean is used to optimize the implementation.                             // Otherwise we wouldn't be able to chain after blob data is sent.                             // If we could always chain a no-op DDM after every execute that writes blobs                             // then we could just always set the chaining flag to on for blob send data                             boolean chainedWritesFollowingSetLob) throws SqlException;    public void writeOpenQuery(NetPreparedStatement materialPreparedStatement,                               Section section,                               int fetchSize,                               int resultSetType,                               int numInputColumns,                               ColumnMetaData parameterMetaData,                               Object[] inputs) throws SqlException;    public void writeDescribeInput(NetPreparedStatement materialPreparedStatement,                                   Section section) throws SqlException;    public void writeDescribeOutput(NetPreparedStatement materialPreparedStatement,                                    Section section) throws SqlException;    public void writeExecuteCall(NetStatement materialStatement,                                 boolean outputExpected,                                 String procedureName,                                 Section section,                                 int fetchSize,                                 boolean suppressResultSets, // set to true for batched calls                                 int resultSetType,                                 ColumnMetaData parameterMetaData,                                 Object[] inputs) throws SqlException;    public void writeSetSpecialRegister(java.util.ArrayList sqlsttList) throws SqlException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -