javax.sql
ÀÎÅÍÆäÀ̽º RowSetMetaData

¸ðµç ½´ÆÛ ÀÎÅÍÆäÀ̽º:
java.sql.ResultSetMetaData

public interface RowSetMetaData
extends java.sql.ResultSetMetaData

RowSetMetaData ÀÎÅÍÆäÀ̽º´Â, ¸ÞŸµ¥ÀÌŸ¿ÀºêÁ¦Å©Æ®¸¦ ÃʱâÈ­ÇÒ ¼ö ÀÖ´Â ¸Þ¼Òµå¸¦ ¸î°³Àΰ¡ »ç¿ëÇØ ResultSetMetaData ¸¦ È®ÀåÇÕ´Ï´Ù. RowSetReader ´Â, »õ·Î¿î µ¥ÀÌÅͰ¡ ÀоÁ³À» ¶§¿¡, RowSetMetaData ¸¦ ÀÛ¼ºÇØ, ±×°ÍÀ» Çà ¼¼Æ®¿¡ °Ç³×ÁÙ ¼öµµ ÀÖ½À´Ï´Ù.


ÀÎÅÍÆäÀ̽º java.sql.ResultSetMetaData ·ÎºÎÅÍ °è½ÂÇÑ Çʵå
columnNoNulls, columnNullable, columnNullableUnknown
 
¸Þ¼ÒµåÀÇ °³¿ä
 void setAutoIncrement (int columnIndex, boolean property)
          ¿­¿¡ ÀÚµ¿ÀûÀ¸·Î ¹øÈ£¸¦ ºÙÀÏ ¼ö ÀÖ¾î µ¶ÇØ Àü¿ëÀ¸·Î¼­ Ãë±ÞÇÏ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setCaseSensitive (int columnIndex, boolean property)
          ¿­ÀÇ ´ë¹®ÀÚ ¼Ò¹®ÀÚ¸¦ ±¸º°ÇÏ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setCatalogName (int columnIndex, java.lang.String catalogName)
          ¿­ÀÇ Å×À̺íÀÇ Ä«Å»·Î±×¸íÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
 void setColumnCount (int columnCount)
          RowSet ³»ÀÇ ·Ä¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setColumnDisplaySize (int columnIndex, int size)
          ¿­ÀÇ Åë»óÀÇ ÃÖ´ëÆø (ij¸¯Åͼö)À» ¼³Á¤ÇÕ´Ï´Ù.
 void setColumnLabel (int columnIndex, java.lang.String label)
          Àμâ¿Í Ç¥½Ã¿¡ »ç¿ëÇÏ´Â, ¿­ÀÇ Å¸ÀÌÆ²ÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
 void setColumnName (int columnIndex, java.lang.String columnName)
          ¿­ÀÇ À̸§À» ¼³Á¤ÇÕ´Ï´Ù.
 void setColumnType (int columnIndex, int SQLType)
          ¿­ÀÇ SQL ÇüÀ» ¼³Á¤ÇÕ´Ï´Ù.
 void setColumnTypeName (int columnIndex, java.lang.String typeName)
          ¿­ÀÇ µ¥ÀÌÅÍ ¼Ò½º °íÀ¯ÀÇ Çü¸íÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
 void setCurrency (int columnIndex, boolean property)
          ¿­ÀÌ ÅëÈ­¸¦ ³ªÅ¸³»´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setNullable (int columnIndex, int property)
          ¿­ÀÇ °ªÀ» NULL ·Î ¼³Á¤ÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setPrecision (int columnIndex, int precision)
          ¿­ÀÇ 10 ÁøÀÚ¸®¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setScale (int columnIndex, int scale)
          ¿­ÀÇ ¼Ò¼öÁ¡ ÀÌÇÏÀÇ ÀÚ¸®¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setSchemaName (int columnIndex, java.lang.String schemaName)
          ¿­ÀÇ Å×À̺íÀÇ schema°¡ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
 void setSearchable (int columnIndex, boolean property)
          ¿­À» where Àý·Î »ç¿ëÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setSigned (int columnIndex, boolean property)
          ¿­ÀÌ ºÎÈ£ ÷ºÎ ¼öÄ¡ÀÎÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 void setTableName (int columnIndex, java.lang.String tableName)
          ¿­ÀÇ Å×À̺í¸íÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
 
ÀÎÅÍÆäÀ̽º java.sql.ResultSetMetaData ·ÎºÎÅÍ °è½ÂÇÑ ¸Þ¼Òµå
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable
 

¸Þ¼ÒµåÀÇ »ó¼¼

setColumnCount

public void setColumnCount(int columnCount)
                    throws java.sql.SQLException
RowSet ³»ÀÇ ·Ä¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnCount - ·Ä¼ö
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setAutoIncrement

public void setAutoIncrement(int columnIndex,
                             boolean property)
                      throws java.sql.SQLException
¿­¿¡ ÀÚµ¿ÀûÀ¸·Î ¹øÈ£¸¦ ºÙÀÏ ¼ö ÀÖ¾î µ¶ÇØ Àü¿ëÀ¸·Î¼­ Ãë±ÞÇÏ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
property - true ¶Ç´Â false ÀÇ ¾î´À ÂÊÀÎÁö. µðÆúÆ®´Â false
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setCaseSensitive

public void setCaseSensitive(int columnIndex,
                             boolean property)
                      throws java.sql.SQLException
¿­ÀÇ ´ë¹®ÀÚ ¼Ò¹®ÀÚ¸¦ ±¸º°ÇÏ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
property - true ¶Ç´Â false ÀÇ ¾î´À ÂÊÀÎÁö. µðÆúÆ®´Â false
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setSearchable

public void setSearchable(int columnIndex,
                          boolean property)
                   throws java.sql.SQLException
¿­À» where Àý·Î »ç¿ëÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
property - true ¶Ç´Â false ÀÇ ¾î´À ÂÊÀÎÁö. µðÆúÆ®´Â false
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setCurrency

public void setCurrency(int columnIndex,
                        boolean property)
                 throws java.sql.SQLException
¿­ÀÌ ÅëÈ­¸¦ ³ªÅ¸³»´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
property - true ¶Ç´Â false ÀÇ ¾î´À ÂÊÀÎÁö. µðÆúÆ®´Â false
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setNullable

public void setNullable(int columnIndex,
                        int property)
                 throws java.sql.SQLException
¿­ÀÇ °ªÀ» NULL ·Î ¼³Á¤ÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
property - columnNoNulls, columnNullable, ¶Ç´Â columnNullableUnknown ÀÇ ¾ðÁ¨°¡. µðÆúÆ®´Â columnNullableUnknown
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setSigned

public void setSigned(int columnIndex,
                      boolean property)
               throws java.sql.SQLException
¿­ÀÌ ºÎÈ£ ÷ºÎ ¼öÄ¡ÀÎÁö ¾î¶²Áö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
property - true ¶Ç´Â false ÀÇ ¾î´À ÂÊÀÎÁö. µðÆúÆ®´Â false
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setColumnDisplaySize

public void setColumnDisplaySize(int columnIndex,
                                 int size)
                          throws java.sql.SQLException
¿­ÀÇ Åë»óÀÇ ÃÖ´ëÆø (ij¸¯Åͼö)À» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
size - ¿­ÀÇ »çÀÌÁî
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setColumnLabel

public void setColumnLabel(int columnIndex,
                           java.lang.String label)
                    throws java.sql.SQLException
Àμâ¿Í Ç¥½Ã¿¡ »ç¿ëÇÏ´Â, ¿­ÀÇ Å¸ÀÌÆ²ÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
label - ¿­ÀÇ Å¸ÀÌÆ²
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setColumnName

public void setColumnName(int columnIndex,
                          java.lang.String columnName)
                   throws java.sql.SQLException
¿­ÀÇ À̸§À» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
columnName - ·Ä¸í
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setSchemaName

public void setSchemaName(int columnIndex,
                          java.lang.String schemaName)
                   throws java.sql.SQLException
¿­ÀÇ Å×À̺íÀÇ schema°¡ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
schemaName - schema¸í
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setPrecision

public void setPrecision(int columnIndex,
                         int precision)
                  throws java.sql.SQLException
¿­ÀÇ 10 ÁøÀÚ¸®¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
precision - 10 ÁøÀÚ¸®¼ö
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setScale

public void setScale(int columnIndex,
                     int scale)
              throws java.sql.SQLException
¿­ÀÇ ¼Ò¼öÁ¡ ÀÌÇÏÀÇ ÀÚ¸®¼ö¸¦ ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
scale - ¼Ò¼öÁ¡ ÀÌÇÏÀÇ ÀÚ¸®¼ö
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setTableName

public void setTableName(int columnIndex,
                         java.lang.String tableName)
                  throws java.sql.SQLException
¿­ÀÇ Å×À̺í¸íÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
tableName - ¿­ÀÇ Å×À̺í¸í
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setCatalogName

public void setCatalogName(int columnIndex,
                           java.lang.String catalogName)
                    throws java.sql.SQLException
¿­ÀÇ Å×À̺íÀÇ Ä«Å»·Î±×¸íÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
catalogName - ¿­ÀÇ Ä«Å»·Î±×¸í
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì

setColumnType

public void setColumnType(int columnIndex,
                          int SQLType)
                   throws java.sql.SQLException
¿­ÀÇ SQL ÇüÀ» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
SQLType - ¿­ÀÇ SQL Çü
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
°ü·Ã Ç׸ñ:
Types

setColumnTypeName

public void setColumnTypeName(int columnIndex,
                              java.lang.String typeName)
                       throws java.sql.SQLException
¿­ÀÇ µ¥ÀÌÅÍ ¼Ò½º °íÀ¯ÀÇ Çü¸íÀÌ ÀÖÀ¸¸é, ±×°ÍÀ» ¼³Á¤ÇÕ´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
columnIndex - ÃÖÃÊÀÇ ¿­Àº 1, 2 ¹øÂ°ÀÇ ¿­Àº 2,... µÇ´Â
typeName - µ¥ÀÌÅÍ ¼Ò½º °íÀ¯ÀÇ Çü¸í
¿¹¿Ü:
java.sql.SQLException - µ¥ÀÌŸº£À̽º ¾×¼¼½º ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì


Copyright 2002 Sun Microsystems, Inc. All rights reserved.
»ç¿ë¿¡´Â»ç¿ë Çã¶ô °è¾àÀÌ Àû¿ëµË´Ï´Ù.