|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.flattened.sasmdx.FlattenResultSetMetadata
public class FlattenResultSetMetadata
FlattenResultSetMetadata class surfaces the column information for the Flatten ResultSet. An instance of this class can be used to get information about the types and properties of the columns in a ResultSet object.
Method Summary | ||
---|---|---|
void |
close()
|
|
java.lang.String |
getCatalogName(int columnNumber)
Get the Catalog name of the specified column |
|
java.lang.String |
getColumnClassName(int columnNumber)
Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column. |
|
int |
getColumnCount()
Returns the number of columns in this resultset |
|
int |
getColumnDisplaySize(int columnNumber)
Get the maximum width in characters of the specified column |
|
int |
getColumnIndex(java.lang.String columnName)
|
|
java.lang.String |
getColumnLabel(int columnNumber)
Gets the designated column's suggested title for use. |
|
java.lang.String |
getColumnName(int columnNumber)
Get the column name of the specified column |
|
int |
getColumnType(int columnNumber)
Retrieves the designated column's SQL type. |
|
java.lang.String |
getColumnTypeName(int columnNumber)
Retrieves the designated column's database-specific type name. |
|
int |
getPrecision(int columnNumber)
Get the specified column's, number of decimal digits |
|
int |
getScale(int columnNumber)
Gets the specified column's number of digits to right of the decimal point. |
|
java.lang.String |
getSchemaName(int p1)
|
|
java.lang.String |
getTableName(int columnNumber)
Get the table name for the specified columnNumber |
|
boolean |
isAutoIncrement(int columnNumber)
Return if the specified column is automatically numbered, that is readOnly |
|
boolean |
isCaseSensitive(int columnNumber)
Indicates whether the specified column's case matters |
|
boolean |
isCurrency(int columnNumber)
Indicates whether the designated column is a cash value. |
|
boolean |
isDefinitelyWritable(int columnNumber)
Specifies if a write on the specified column will definitely succeed |
|
int |
isNullable(int columnNumber)
Indicates the nullability of values in the designated column. |
|
boolean |
isReadOnly(int columnNumber)
Indicates wheteher this column is read only |
|
boolean |
isSearchable(int columnNumber)
Indicates whether this column can be used in where clause |
|
boolean |
isSigned(int columnNumber)
Indicates whether values in the designated column are signed numbers. |
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
|
|
boolean |
isWritable(int columnNumber)
Return if it is possible to write to the specified column |
|
|
unwrap(java.lang.Class<T> iface)
|
Method Detail |
---|
public void close()
public java.lang.String getSchemaName(int p1) throws java.sql.SQLException
getSchemaName
in interface java.sql.ResultSetMetaData
java.sql.SQLException
public boolean isSearchable(int columnNumber) throws java.sql.SQLException
isSearchable
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public int getPrecision(int columnNumber) throws java.sql.SQLException
getPrecision
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public boolean isAutoIncrement(int columnNumber) throws java.sql.SQLException
isAutoIncrement
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public boolean isWritable(int columnNumber) throws java.sql.SQLException
isWritable
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public java.lang.String getCatalogName(int columnNumber) throws java.sql.SQLException
getCatalogName
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public int getColumnDisplaySize(int columnNumber) throws java.sql.SQLException
getColumnDisplaySize
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public java.lang.String getColumnName(int columnNumber) throws java.sql.SQLException
getColumnName
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public java.lang.String getTableName(int columnNumber) throws java.sql.SQLException
getTableName
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public boolean isDefinitelyWritable(int columnNumber) throws java.sql.SQLException
isDefinitelyWritable
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public java.lang.String getColumnTypeName(int columnNumber) throws java.sql.SQLException
getColumnTypeName
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public boolean isCaseSensitive(int columnNumber) throws java.sql.SQLException
isCaseSensitive
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public boolean isReadOnly(int columnNumber) throws java.sql.SQLException
isReadOnly
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public int getScale(int columnNumber) throws java.sql.SQLException
getScale
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public boolean isSigned(int columnNumber) throws java.sql.SQLException
isSigned
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public int isNullable(int columnNumber) throws java.sql.SQLException
isNullable
in interface java.sql.ResultSetMetaData
java.sql.SQLException
public boolean isCurrency(int columnNumber) throws java.sql.SQLException
isCurrency
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public int getColumnCount() throws java.sql.SQLException
getColumnCount
in interface java.sql.ResultSetMetaData
SQLEXception
java.sql.SQLException
public java.lang.String getColumnClassName(int columnNumber) throws java.sql.SQLException
getColumnClassName
in interface java.sql.ResultSetMetaData
columnNumber
-
java.sql.SQLException
public java.lang.String getColumnLabel(int columnNumber) throws java.sql.SQLException
getColumnLabel
in interface java.sql.ResultSetMetaData
java.sql.SQLException
public int getColumnType(int columnNumber) throws java.sql.SQLException
getColumnType
in interface java.sql.ResultSetMetaData
java.sql.SQLException
Types
public int getColumnIndex(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |