|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
public interface RowSetMetaData
RowSet 객체의 열에 관한 정보를 포함하는 객체입니다. 이 인터페이스는,RowSetMetaData 객체의 값을 설정하는 메소드로 ResultSetMetaData 인터페이스를 확장합니다. RowSetReader 객체에 의해 RowSet 객체에 데이터가 읽히면(자),RowSetMetaData 객체가 작성되어RowSetMetaData 인터페이스의 메소드를 사용해 초기화됩니다. 그리고 리더에 의해 RowSetMetaData 객체가 행 세트에게 건네집니다.
어플리케이션이 RowSet.execute 메소드를 호출했을 때에, 이 인터페이스의 메소드가 내부적으로 불려 갑니다. 어플리케이션 프로그래머가 직접 사용할 것은 없습니다.
| 필드의 개요 |
|---|
| 인터페이스 java.sql. ResultSetMetaData 로부터 상속된 필드 |
|---|
columnNoNulls , columnNullable , columnNullableUnknown |
| 메소드의 개요 | |
|---|---|
void |
setAutoIncrement (int columnIndex,
boolean property)
지정한 열에 자동적으로 번호가 할당해질지 어떨지를 설정합니다. |
void |
setCaseSensitive (int columnIndex,
boolean property)
지정한 열로 대문자·소문자를 구별할지 어떨지를 설정합니다. |
void |
setCatalogName (int columnIndex,
String catalogName)
지정한 열의 테이블의 카탈로그명을, 지정된 String 로 설정합니다 (존재하는 경우). |
void |
setColumnCount (int columnCount)
이 RowSet 객체의 렬수를, 지정한 수로 설정합니다. |
void |
setColumnDisplaySize (int columnIndex,
int size)
지정된 열의 일반적으로의 최대폭 (문자수)을, 지정된 int 로 설정합니다. |
void |
setColumnLabel (int columnIndex,
String label)
인쇄와 표시로 사용하는 추천열의 타이틀을, 지정한 String 로 설정합니다 (존재하는 경우). |
void |
setColumnName (int columnIndex,
String columnName)
지정한 열의 이름을, 지정된 String 로 설정합니다. |
void |
setColumnType (int columnIndex,
int SQLType)
지정된 열의 SQL 형을, 지정한 형태로 설정합니다. |
void |
setColumnTypeName (int columnIndex,
String typeName)
지정한 열의, 데이터 소스에 고유의 형명을, 지정된 String 로 설정합니다 (존재하는 경우). |
void |
setCurrency (int columnIndex,
boolean property)
지정한 열이 금액을 나타낼지 어떨지를 설정합니다. |
void |
setNullable (int columnIndex,
int property)
지정한 열의 값을 NULL 로 설정할 수 있을지 어떨지를 설정합니다. |
void |
setPrecision (int columnIndex,
int precision)
지정된 열의 10 진자리수를, 지정된 int 로 설정합니다. |
void |
setScale (int columnIndex,
int scale)
지정된 열의 소수점 이하의 자리수를, 지정된 int 로 설정합니다. |
void |
setSchemaName (int columnIndex,
String schemaName)
지정한 열의 테이블 schema의 이름을, 지정된 String 로 설정합니다 (존재하는 경우). |
void |
setSearchable (int columnIndex,
boolean property)
지정된 열을 where 절로 사용할 수 있을지 어떨지를 설정합니다. |
void |
setSigned (int columnIndex,
boolean property)
지정한 열이 부호 첨부수일지 어떨지를 설정합니다. |
void |
setTableName (int columnIndex,
String tableName)
지정한 열의 테이블명을, 지정된 String 로 설정합니다 (존재하는 경우). |
| 인터페이스 java.sql. ResultSetMetaData 로부터 상속된 메소드 |
|---|
getCatalogName , getColumnClassName , getColumnCount , getColumnDisplaySize , getColumnLabel , getColumnName , getColumnType , getColumnTypeName , getPrecision , getScale , getSchemaName , getTableName , isAutoIncrement , isCaseSensitive , isCurrency , isDefinitelyWritable , isNullable , isReadOnly , isSearchable , isSigned , isWritable |
| 인터페이스 java.sql. Wrapper 로부터 상속된 메소드 |
|---|
isWrapperFor , unwrap |
| 메소드의 상세 |
|---|
void setColumnCount(int columnCount)
throws SQLException
RowSet 객체의 렬수를, 지정한 수로 설정합니다.
columnCount - 이 RowSet 객체의 렬수
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setAutoIncrement(int columnIndex,
boolean property)
throws SQLException
RowSet 객체의 열에는 번호는 자동적으로 할당해지지 않습니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는property - 열에 자동적으로 번호가 할당해지는 경우는 true, 할당해지지 않은 경우는 false
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setCaseSensitive(int columnIndex,
boolean property)
throws SQLException
false 입니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는property - 열로 대문자와 소문자가 구별되는 경우는 true, 구별되지 않는 경우는 false
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setSearchable(int columnIndex,
boolean property)
throws SQLException
false 입니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는property - 열이 WHERE 절로 사용할 수 있는 경우는 true, 사용할 수 없는 경우는 false
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setCurrency(int columnIndex,
boolean property)
throws SQLException
false 입니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는property - 열이 금액을 나타내는 경우는 true, 나타내지 않는 경우는 false
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setNullable(int columnIndex,
int property)
throws SQLException
NULL 로 설정할 수 있을지 어떨지를 설정합니다. 디폴트는 ResultSetMetaData.columnNullableUnknown 입니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는property - 다음의 정수의 언젠가.
ResultSetMetaData.columnNoNulls,
ResultSetMetaData.columnNullable, 또는
ResultSetMetaData.columnNullableUnknown
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setSigned(int columnIndex,
boolean property)
throws SQLException
false 입니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는property - 열이 부호 첨부의 수인 경우는 true, 부호 첨부의 수가 아닌 경우는 false
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setColumnDisplaySize(int columnIndex,
int size)
throws SQLException
int 로 설정합니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는size - 지정한 열의, 일반적으로의 최대 문자수
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setColumnLabel(int columnIndex,
String label)
throws SQLException
String 로 설정합니다 (존재하는 경우).
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는label - 열의 타이틀
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setColumnName(int columnIndex,
String columnName)
throws SQLException
String 로 설정합니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는columnName - 지정된 열의 이름
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setSchemaName(int columnIndex,
String schemaName)
throws SQLException
String 로 설정합니다 (존재하는 경우).
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는schemaName - schema명
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setPrecision(int columnIndex,
int precision)
throws SQLException
int 로 설정합니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는precision - 10 진자리수의 총수
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setScale(int columnIndex,
int scale)
throws SQLException
int 로 설정합니다.
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는scale - 소수점 이하의 자리수
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setTableName(int columnIndex,
String tableName)
throws SQLException
String 로 설정합니다 (존재하는 경우).
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는tableName - 열의 테이블명
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setCatalogName(int columnIndex,
String catalogName)
throws SQLException
String 로 설정합니다 (존재하는 경우).
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는catalogName - 열의 카탈로그명
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
void setColumnType(int columnIndex,
int SQLType)
throws SQLException
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는SQLType - 열의 SQL 형
SQLException - 데이타베이스 액세스 에러가 발생했을 경우Types
void setColumnTypeName(int columnIndex,
String typeName)
throws SQLException
String 로 설정합니다 (존재하는 경우).
columnIndex - 최초의 열은 1, 2 번째의 열은 2,... 되는typeName - 데이터 소스 고유의 형명
SQLException - 데이타베이스 액세스 에러가 발생했을 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.