| Modifier and Type | Field and Description |
|---|---|
| private ExceptionInterceptor | |
| private Field[] | |
| private Session | |
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | ResultSetMetaData(Session
this session, Field[] Sessionthe array of field descriptors fields, boolean 'useOldAliasMetadataBehavior' property value useOldAliasBehavior, boolean 'yearIsDateType' property value treatYearAsDate, ExceptionInterceptor exception interceptor exceptionInterceptor)Initialize for a result with a tuple set and a field descriptor set |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public String | getCatalogName(int
the first column is 1, the second is 2, ... column)Implements java. Gets the designated column's table's catalog name. |
| public String | Returns: the Java character encoding name for the given column, or null if no Java character encoding maps to the MySQL character set for the given column.the first column is 1, the second is 2, etc. column)What's the Java character encoding name for the given column? |
| public String | Returns: the MySQL character set name for the given columnthe first column is 1, the second is 2, etc. column)What's the MySQL character set name for the given column? |
| public String | getColumnClassName(int
the first column is 1, the second is 2, ... column)Implements java. Returns the fully-qualified name of the Java class whose instances
are manufactured if the method |
| public int | getColumnCount()
Implements java. Returns the number of columns in this |
| public int | getColumnDisplaySize(int
the first column is 1, the second is 2, ... column)Implements java. Indicates the designated column's normal maximum width in characters. |
| public String | getColumnLabel(int
the first column is 1, the second is 2, ... column)Implements java. Gets the designated column's suggested title for use in printouts and displays. |
| public String | getColumnName(int
the first column is 1, the second is 2, ... column)Implements java. Get the designated column's name. |
| public int | getColumnType(int
the first column is 1, the second is 2, ... column)Implements java. Retrieves the designated column's SQL type. |
| public String | getColumnTypeName(int
the first column is 1, the second is 2, ... column)Implements java. Retrieves the designated column's database-specific type name. |
| protected Field | Returns: the field instance for the given column indexthe column number to retrieve a field instance for columnIndex)Returns the field instance for the given column index |
| public Field[] | |
| public int | getPrecision(int
the first column is 1, the second is 2, ... column)Implements java. Get the designated column's specified column size. |
| public int | getScale(int
the first column is 1, the second is 2, ... column)Implements java. Gets the designated column's number of digits to right of the decimal point. |
| public String | getSchemaName(int
the first column is 1, the second is 2, ... column)Implements java. Get the designated column's table's schema. |
| public String | getTableName(int
the first column is 1, the second is 2, ... column)Implements java. Gets the designated column's table name. |
| public boolean | isAutoIncrement(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether the designated column is automatically numbered. |
| public boolean | isCaseSensitive(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether a column's case matters. |
| public boolean | isCurrency(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether the designated column is a cash value. |
| public boolean | isDefinitelyWritable(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether a write on the designated column will definitely succeed. |
| public int | isNullable(int
the first column is 1, the second is 2, ... column)Implements java. Indicates the nullability of values in the designated column. |
| public boolean | isReadOnly(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether the designated column is definitely not writable. |
| public boolean | isSearchable(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether the designated column can be used in a where clause. |
| public boolean | isSigned(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether values in the designated column are signed numbers. |
| public boolean | isWrapperFor(Class<?>
a Class defining an interface. iface)Implements java. Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
| public boolean | isWritable(int
the first column is 1, the second is 2, ... column)Implements java. Indicates whether it is possible for a write on the designated column to succeed. |
| public String | |
| public <T> T | unwrap(Class<T>
A Class defining an interface that the result must implement. iface)Implements java. Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
| exceptionInterceptor | back to summary |
|---|---|
| private ExceptionInterceptor exceptionInterceptor | |
| fields | back to summary |
|---|---|
| private Field[] fields | |
| session | back to summary |
|---|---|
| private Session session | |
| treatYearAsDate | back to summary |
|---|---|
| pack-priv boolean treatYearAsDate | |
| useOldAliasBehavior | back to summary |
|---|---|
| pack-priv boolean useOldAliasBehavior | |
| ResultSetMetaData | back to summary |
|---|---|
| public ResultSetMetaData(Session session, Field[] fields, boolean useOldAliasBehavior, boolean treatYearAsDate, ExceptionInterceptor exceptionInterceptor) Initialize for a result with a tuple set and a field descriptor set
| |
| clampedGetLength | back to summary |
|---|---|
| private static int clampedGetLength(Field f) | |
| getCatalogName | back to summary |
|---|---|
| public String getCatalogName(int column) throws SQLException Implements java. Doc from java. Gets the designated column's table's catalog name.
| |
| getColumnCharacterEncoding | back to summary |
|---|---|
| public String getColumnCharacterEncoding(int column) throws SQLException What's the Java character encoding name for the given column?
| |
| getColumnCharacterSet | back to summary |
|---|---|
| public String getColumnCharacterSet(int column) throws SQLException What's the MySQL character set name for the given column?
| |
| getColumnClassName | back to summary |
|---|---|
| public String getColumnClassName(int column) throws SQLException Implements java. Doc from java. Returns the fully-qualified name of the Java class whose instances
are manufactured if the method
| |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() throws SQLException Implements java. Doc from java. Returns the number of columns in this
| |
| getColumnDisplaySize | back to summary |
|---|---|
| public int getColumnDisplaySize(int column) throws SQLException Implements java. Doc from java. Indicates the designated column's normal maximum width in characters.
| |
| getColumnLabel | back to summary |
|---|---|
| public String getColumnLabel(int column) throws SQLException Implements java. Doc from java. Gets the designated column's suggested title for use in printouts and
displays. The suggested title is usually specified by the SQL
| |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int column) throws SQLException Implements java. Doc from java. Get the designated column's name.
| |
| getColumnType | back to summary |
|---|---|
| public int getColumnType(int column) throws SQLException Implements java. Doc from java. Retrieves the designated column's SQL type.
| |
| getColumnTypeName | back to summary |
|---|---|
| public String getColumnTypeName(int column) throws SQLException Implements java. Doc from java. Retrieves the designated column's database-specific type name.
| |
| getField | back to summary |
|---|---|
| protected Field getField(int columnIndex) throws SQLException Returns the field instance for the given column index
| |
| getFields | back to summary |
|---|---|
| public Field[] getFields() | |
| getPrecision | back to summary |
|---|---|
| public int getPrecision(int column) throws SQLException Implements java. Doc from java. Get the designated column's specified column size. For numeric data, this is the maximum precision. For character data, this is the length in characters. For datetime datatypes, this is the length in characters of the String representation (assuming the maximum allowed precision of the fractional seconds component). For binary data, this is the length in bytes. For the ROWID datatype, this is the length in bytes. 0 is returned for data types where the column size is not applicable.
| |
| getScale | back to summary |
|---|---|
| public int getScale(int column) throws SQLException Implements java. Doc from java. Gets the designated column's number of digits to right of the decimal point. 0 is returned for data types where the scale is not applicable.
| |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName(int column) throws SQLException Implements java. Doc from java. Get the designated column's table's schema.
| |
| getTableName | back to summary |
|---|---|
| public String getTableName(int column) throws SQLException Implements java. Doc from java. Gets the designated column's table name.
| |
| isAutoIncrement | back to summary |
|---|---|
| public boolean isAutoIncrement(int column) throws SQLException Implements java. Doc from java. Indicates whether the designated column is automatically numbered.
| |
| isCaseSensitive | back to summary |
|---|---|
| public boolean isCaseSensitive(int column) throws SQLException Implements java. Doc from java. Indicates whether a column's case matters.
| |
| isCurrency | back to summary |
|---|---|
| public boolean isCurrency(int column) throws SQLException Implements java. Doc from java. Indicates whether the designated column is a cash value.
| |
| isDefinitelyWritable | back to summary |
|---|---|
| public boolean isDefinitelyWritable(int column) throws SQLException Implements java. Doc from java. Indicates whether a write on the designated column will definitely succeed.
| |
| isNullable | back to summary |
|---|---|
| public int isNullable(int column) throws SQLException Implements java. Doc from java. Indicates the nullability of values in the designated column.
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(int column) throws SQLException Implements java. Doc from java. Indicates whether the designated column is definitely not writable.
| |
| isSearchable | back to summary |
|---|---|
| public boolean isSearchable(int column) throws SQLException Implements java. Doc from java. Indicates whether the designated column can be used in a where clause.
| |
| isSigned | back to summary |
|---|---|
| public boolean isSigned(int column) throws SQLException Implements java. Doc from java. Indicates whether values in the designated column are signed numbers.
| |
| isWrapperFor | back to summary |
|---|---|
| public boolean isWrapperFor(Class<?> iface) throws SQLException Implements java. Doc from java. Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does. Returns false otherwise. If this implements the interface then return true,
else if this is a wrapper then return the result of recursively calling
| |
| isWritable | back to summary |
|---|---|
| public boolean isWritable(int column) throws SQLException Implements java. Doc from java. Indicates whether it is possible for a write on the designated column to succeed.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> iface) throws SQLException Implements java. Doc from java. Returns an object that implements the given interface to allow access to
non-standard methods, or standard methods not exposed by the proxy.
If the receiver implements the interface then the result is the receiver
or a proxy for the receiver. If the receiver is a wrapper
and the wrapped object implements the interface then the result is the
wrapped object or a proxy for the wrapped object. Otherwise return the
the result of calling
| |