com.gauce.db
Interface GauceStatement

All Superinterfaces:
java.sql.PreparedStatement, java.sql.Statement

public interface GauceStatement
extends java.sql.PreparedStatement

java.sql.PrepredStatement¸¦ »ó¼Ó¹Þ¾Æ ¸¸µç Ŭ·¡½ºÀÌ´Ù. ±âÁ¸ÀÇ ±â´É¿Ü¿¡ Gauce¿¡¼­ CustomizingµÈ ±â´ÉµéÀ» Á¦°øÇÑ´Ù.

Since:
Gauce 2.9
Version:
1.0 2002.10
Author:
Shift Information & Communication CO.

Field Summary
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Method Summary
 void bindColumn(int idx, int colIdx)
          µî·ÏµÈ GauceDataRowÀÇ Column°ú query¹®ÀÇ ÁöÁ¤µÈ À妽º¸¦ ¹ÙÀεù ½ÃŲ´Ù.
 GauceDataRow[] executeQuery(GauceDataColumn[] cols)
          statement¿¡¼­ ÁöÁ¤µÈ query¹®À» ½ÇÇà½ÃŰ°í °á°ú¸¦ GauceDataRow¹è¿­·Î ¹ÝȯÇÑ´Ù.
 void executeQuery(GauceDataSet dSet)
          statement¿¡¼­ ÁöÁ¤µÈ query¹®À» ½ÇÇà½ÃŰ°í °á°ú¸¦ ÁöÁ¤µÈ GauceDataSet¿¡ ÀúÀå½ÃŲ´Ù.
 void setGauceDataRow(GauceDataRow row)
          query¹®ÀÇ ÁöÁ¤µÈ Ä÷³ÀÇ °ªÀ» ¹ÙÀεùÇϱâÀ§ÇØ GauceDataRow¸¦ µî·ÏÇÑ´Ù.
 
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Method Detail

executeQuery

public GauceDataRow[] executeQuery(GauceDataColumn[] cols)
                            throws java.sql.SQLException
statement¿¡¼­ ÁöÁ¤µÈ query¹®À» ½ÇÇà½ÃŰ°í °á°ú¸¦ GauceDataRow¹è¿­·Î ¹ÝȯÇÑ´Ù.

Parameters:
cols - GauceDataRow¸¦ »ý¼ºÇϱâ À§ÇÑ ColumnÁ¤º¸
Returns:
»ý¼ºµÈ GauceDataRow¹è¾ó
Throws:
java.sql.SQLException - query¹®À» »ýÇàÇÏ´Â µ¿¾È ¹ß»ýÇÏ´Â ¿À·ù
Since:
Gauce 2.9

executeQuery

public void executeQuery(GauceDataSet dSet)
                  throws java.sql.SQLException
statement¿¡¼­ ÁöÁ¤µÈ query¹®À» ½ÇÇà½ÃŰ°í °á°ú¸¦ ÁöÁ¤µÈ GauceDataSet¿¡ ÀúÀå½ÃŲ´Ù. ¸¸¾à GauceDataSetÀÌ first row°¡ Áö¿øµÇ´Â DataSetÀ̸é first row°¡ áÀ»¶§ Component·Î Àü¼ÛµÈ´Ù.

Parameters:
dSet - ÀúÀåÇÒ GauceDataSet
Throws:
java.sql.SQLException - query¹®À» ½ÇÇàÇÏ´Â µ¿¾È ¹ß»ýÇÏ´Â ¿À·ù
Since:
Gauce 2.9

setGauceDataRow

public void setGauceDataRow(GauceDataRow row)
query¹®ÀÇ ÁöÁ¤µÈ Ä÷³ÀÇ °ªÀ» ¹ÙÀεùÇϱâÀ§ÇØ GauceDataRow¸¦ µî·ÏÇÑ´Ù.

Parameters:
row - µî·ÏÇÒ GauceDataRow
Since:
Gauce 2.9

bindColumn

public void bindColumn(int idx,
                       int colIdx)
                throws java.sql.SQLException
µî·ÏµÈ GauceDataRowÀÇ Column°ú query¹®ÀÇ ÁöÁ¤µÈ À妽º¸¦ ¹ÙÀεù ½ÃŲ´Ù.

Parameters:
idx - query¹®ÀÇ À妽º
colIdx - GauceDataRowÀÇ ColumnÀ妽º
Throws:
java.sql.SQLException
Since:
Gauce 2.9