亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rowdatadynamic.java

?? 基于java的oa系統
?? JAVA
字號:
/* Copyright (C) 2002-2004 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.  There are special exceptions to the terms and conditions of the GPL  as it is applied to this software. View the full text of the  exception exception in file EXCEPTIONS-CONNECTOR-J in the directory of this  software distribution. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package com.mysql.jdbc;import java.io.IOException;import java.sql.SQLException;/** * Allows streaming of MySQL data. * * @author dgan * @version $Id: RowDataDynamic.java,v 1.8.2.9 2004/08/09 22:15:10 mmatthew Exp $ */public class RowDataDynamic implements RowData {    private MysqlIO io;    private byte[][] nextRow;    private boolean isAfterEnd = false;    private boolean isAtEnd = false;    private boolean streamerClosed = false;    private int columnCount;    private int index = -1;    private long lastSuccessfulReadTimeMs = 0;    private long netWriteTimeoutMs = 0;    private ResultSet owner;    /**     * Creates a new RowDataDynamic object.     *     * @param io DOCUMENT ME!     * @param colCount DOCUMENT ME!     *     * @throws SQLException DOCUMENT ME!     */    public RowDataDynamic(MysqlIO io, int colCount) throws SQLException {        this.io = io;        this.columnCount = colCount;        nextRecord();    }    /**     * Returns true if we got the last element.     *     * @return true if after last row     *     * @throws SQLException if a database error occurs     */    public boolean isAfterLast() throws SQLException {        return isAfterEnd;    }    /**     * Only works on non dynamic result sets.     *     * @param index row number to get at     *     * @return row data at index     *     * @throws SQLException if a database error occurs     */    public byte[][] getAt(int index) throws SQLException {        notSupported();        return null;    }    /**     * Returns if iteration has not occured yet.     *     * @return true if before first row     *     * @throws SQLException if a database error occurs     */    public boolean isBeforeFirst() throws SQLException {        return index < 0;    }    /**     * Moves the current position in the result set to the given row number.     *     * @param rowNumber row to move to     *     * @throws SQLException if a database error occurs     */    public void setCurrentRow(int rowNumber) throws SQLException {        notSupported();    }    	/**	 * @see com.mysql.jdbc.RowData#setOwner(com.mysql.jdbc.ResultSet)	 */	public void setOwner(ResultSet rs) {		this.owner = rs;	}		/**	 * @see com.mysql.jdbc.RowData#getOwner()	 */	public ResultSet getOwner() {		return this.owner;	}    /**     * Returns the current position in the result set as a row number.     *     * @return the current row number     *     * @throws SQLException if a database error occurs     */    public int getCurrentRowNumber() throws SQLException {        notSupported();        return -1;    }    /**     * Returns true if the result set is dynamic. This means that move back and     * move forward won't work because we do not hold on to the records.     *     * @return true if this result set is streaming from the server     */    public boolean isDynamic() {        return true;    }    /**     * Has no records.     *     * @return true if no records     *     * @throws SQLException if a database error occurs     */    public boolean isEmpty() throws SQLException {        notSupported();        return false;    }    /**     * Are we on the first row of the result set?     *     * @return true if on first row     *     * @throws SQLException if a database error occurs     */    public boolean isFirst() throws SQLException {        notSupported();        return false;    }    /**     * Are we on the last row of the result set?     *     * @return true if on last row     *     * @throws SQLException if a database error occurs     */    public boolean isLast() throws SQLException {        notSupported();        return false;    }    /**     * Adds a row to this row data.     *     * @param row the row to add     *     * @throws SQLException if a database error occurs     */    public void addRow(byte[][] row) throws SQLException {        notSupported();    }    /**     * Moves to after last.     *     * @throws SQLException if a database error occurs     */    public void afterLast() throws SQLException {        notSupported();    }    /**     * Moves to before first.     *     * @throws SQLException if a database error occurs     */    public void beforeFirst() throws SQLException {        notSupported();    }    /**     * Moves to before last so next el is the last el.     *     * @throws SQLException if a database error occurs     */    public void beforeLast() throws SQLException {        notSupported();    }    /**     * We're done.     *     * @throws SQLException if a database error occurs     */    public void close() throws SQLException {        //drain the rest of the records.        int count = 0;                while (this.hasNext()) {            this.next();                        count++;                        if (count == 100) {            	Thread.yield();            	count = 0;            }        }    }    /**     * Returns true if another row exsists.     *     * @return true if more rows     *     * @throws SQLException if a database error occurs     */    public boolean hasNext() throws SQLException {        boolean hasNext = (nextRow != null);        if (!hasNext && !streamerClosed) {            io.closeStreamer(this);            streamerClosed = true;        }        return hasNext;    }    /**     * Moves the current position relative 'rows' from the current position.     *     * @param rows the relative number of rows to move     *     * @throws SQLException if a database error occurs     */    public void moveRowRelative(int rows) throws SQLException {        notSupported();    }    /**     * Returns the next row.     *     * @return the next row value     *     * @throws SQLException if a database error occurs     */    public byte[][] next() throws SQLException {        index++;        byte[][] ret = nextRow;        nextRecord();        return ret;    }    /**     * Removes the row at the given index.     *     * @param index the row to move to     *     * @throws SQLException if a database error occurs     */    public void removeRow(int index) throws SQLException {        notSupported();    }    /**     * Only works on non dynamic result sets.     *     * @return the size of this row data     */    public int size() {        return RESULT_SET_SIZE_UNKNOWN;    }    private void nextRecord() throws SQLException {        try {            if (!isAtEnd) {                nextRow = io.nextRow((int) columnCount);                if (nextRow == null) {                    isAtEnd = true;                }                                this.lastSuccessfulReadTimeMs = System.currentTimeMillis();            } else {                isAfterEnd = true;            }        } catch (SQLException sqlEx) {            // don't wrap SQLExceptions            throw sqlEx;        } catch (IOException ioEx) {        	long timeSinceLastReadMs = System.currentTimeMillis() - this.lastSuccessfulReadTimeMs;        	            String exceptionType = ioEx.getClass().getName();            String exceptionMessage = ioEx.getMessage();            exceptionMessage += "\n\nNested Stack Trace:\n";            exceptionMessage += Util.stackTraceToString(ioEx);            throw new java.sql.SQLException(                "IOException while retrieving next record in streaming result set."                + "(Check for deadlock "                + " or retrieval exceeding 'net_write_timeout' seconds. Last "                + "successful record read was " + timeSinceLastReadMs + " ms ago, and"
                + "'net_write_timeout' is configured in the server as " + this.netWriteTimeoutMs                 + " ms.) : "                + exceptionType + " message given: " + exceptionMessage, SQLError.SQL_STATE_GENERAL_ERROR);        } catch (Exception ex) {            String exceptionType = ex.getClass().getName();            String exceptionMessage = ex.getMessage();            exceptionMessage += "\n\nNested Stack Trace:\n";            exceptionMessage += Util.stackTraceToString(ex);            throw new java.sql.SQLException(                "Error retrieving record: Unexpected Exception: "                + exceptionType + " message given: " + exceptionMessage, SQLError.SQL_STATE_GENERAL_ERROR);        }    }    private void notSupported() throws SQLException {        throw new OperationNotSupportedException();    }    class OperationNotSupportedException extends SQLException {        OperationNotSupportedException() {            super("Operation not supported for streaming result sets", SQLError.SQL_STATE_ILLEGAL_ARGUMENT);        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷精品久久二区二区蜜臂av| 久久伊人中文字幕| 日韩免费一区二区| 亚洲欧美国产高清| 国产麻豆精品在线| 91精品国产91久久久久久一区二区| 国产亚洲成av人在线观看导航| 香蕉成人伊视频在线观看| av欧美精品.com| 欧美精品一区二区三区视频| 午夜精品久久久久久久蜜桃app| 成人av在线播放网站| 精品久久五月天| 日韩福利视频网| 欧美亚洲自拍偷拍| 亚洲乱码精品一二三四区日韩在线| 九九久久精品视频| 91精品国产综合久久久久| 亚洲乱码日产精品bd| www.久久久久久久久| 国产三级欧美三级| 亚洲国产高清aⅴ视频| 日韩国产精品久久| 欧美三级视频在线| 一区二区三区在线视频观看| 99国产精品国产精品毛片| 国产日韩欧美制服另类| 紧缚奴在线一区二区三区| 日韩欧美国产综合在线一区二区三区 | 青青草精品视频| 制服丝袜亚洲网站| 琪琪久久久久日韩精品| 91麻豆精品91久久久久同性| 亚洲va欧美va人人爽| 欧美日免费三级在线| 亚洲风情在线资源站| 欧美色手机在线观看| 性久久久久久久久| 日韩一级视频免费观看在线| 日本成人超碰在线观看| 日韩欧美一级特黄在线播放| 蜜臀久久99精品久久久画质超高清| 在线播放欧美女士性生活| 婷婷六月综合网| 日韩亚洲欧美在线| 激情综合网最新| 国产精品每日更新在线播放网址| av亚洲精华国产精华精| 亚洲综合色区另类av| 欧美日韩aaaaaa| 久久国产精品色| 国产亚洲1区2区3区| 成人动漫中文字幕| 一区二区三区视频在线看| 欧美日韩精品欧美日韩精品| 精品一区二区三区在线观看国产| 久久久精品tv| 色香色香欲天天天影视综合网 | 日本一区二区免费在线观看视频 | 亚洲国产精品成人综合| 色综合久久中文综合久久牛| 天天色综合成人网| 久久久精品天堂| 日本道色综合久久| 久久99最新地址| 中文字幕一区二区三区精华液| 欧美午夜精品一区二区三区| 久久狠狠亚洲综合| 1000部国产精品成人观看| 欧美日韩久久久| 国产99久久久久| 天堂影院一区二区| 中文文精品字幕一区二区| 欧美亚洲高清一区| 国产99久久精品| 婷婷亚洲久悠悠色悠在线播放| 国产欧美日韩精品a在线观看| 欧美日免费三级在线| 国产盗摄一区二区三区| 午夜激情久久久| 中文字幕日韩一区| 欧美大白屁股肥臀xxxxxx| 99国产精品久久| 国产激情精品久久久第一区二区| 亚洲综合视频网| 中文字幕高清不卡| 精品日韩欧美在线| 欧美日本一区二区三区四区| www.日韩大片| 国产一区二区视频在线| 日韩精品电影在线观看| 一区二区三国产精华液| 中文字幕av一区二区三区免费看| 91精品婷婷国产综合久久性色| av在线综合网| 国产福利91精品一区| 美女一区二区三区在线观看| 亚洲成av人片| 一区二区三区四区不卡在线| 国产精品免费久久久久| 久久久美女毛片| 精品国产一二三| 这里只有精品免费| 欧美日韩五月天| 91精品福利在线| 日本高清免费不卡视频| 色综合久久99| 91女人视频在线观看| www.亚洲激情.com| 国产成人免费av在线| 久久69国产一区二区蜜臀| 日本不卡一区二区三区| 日韩高清在线电影| 日韩高清一区二区| 毛片基地黄久久久久久天堂| 日韩电影免费一区| 免费观看在线色综合| 久久成人av少妇免费| 理论片日本一区| 精品一区二区三区在线观看 | 亚洲成a人片综合在线| 亚洲一区免费视频| 五月激情综合婷婷| 美日韩一区二区| 韩国三级在线一区| 国产成人av福利| 91麻豆swag| 欧美片在线播放| 欧美大片在线观看一区| 2020国产精品| 国产精品久久看| 亚洲激情在线播放| 全部av―极品视觉盛宴亚洲| 久草热8精品视频在线观看| 国产一区二区在线电影| 成人禁用看黄a在线| 在线看不卡av| 日韩亚洲欧美在线观看| 久久久久久亚洲综合影院红桃| 国产精品区一区二区三| 亚洲国产日产av| 国产一区二区中文字幕| 99精品视频在线观看| 在线免费不卡视频| xnxx国产精品| 亚洲同性同志一二三专区| 亚洲h在线观看| 高清国产一区二区| 欧洲另类一二三四区| 欧美mv日韩mv| 亚洲欧美成人一区二区三区| 日韩激情中文字幕| 国产91富婆露脸刺激对白| 欧美性猛交xxxx乱大交退制版| 日韩欧美国产麻豆| 亚洲三级小视频| 精品亚洲欧美一区| 色噜噜狠狠色综合中国| 日韩丝袜美女视频| 亚洲综合无码一区二区| 国产乱码精品一品二品| 欧美日韩免费一区二区三区| 中文字幕不卡在线观看| 日本网站在线观看一区二区三区| 成av人片一区二区| 欧美一级精品大片| 一区二区三区四区在线播放 | 亚洲国产高清在线| 青青草国产成人av片免费| 99精品久久只有精品| 日韩欧美黄色影院| 五月婷婷综合在线| 97精品久久久午夜一区二区三区| 精品三级在线看| 午夜一区二区三区视频| 成人18视频日本| 国产亚洲一区二区在线观看| 日本不卡视频一二三区| 日本高清无吗v一区| 综合在线观看色| 成+人+亚洲+综合天堂| 久久美女艺术照精彩视频福利播放 | 欧美怡红院视频| 国产精品国产三级国产a| 国模套图日韩精品一区二区| 欧美一卡2卡三卡4卡5免费| 亚洲综合视频网| 色呦呦网站一区| 国产精品国产三级国产aⅴ入口 | 亚洲欧美日韩一区| 成人黄色软件下载| 欧美激情在线看| 国产精品69久久久久水密桃| 精品99一区二区| 久久成人久久爱| 亚洲精品在线三区| 国产乱码精品一区二区三区av | 国产欧美精品国产国产专区| 国产一区二区三区观看| 26uuu色噜噜精品一区二区|