public interface OracleResultSetMetaData
extends java.sql.ResultSetMetaData
Modifier and Type | Interface and Description |
---|---|
static class |
OracleResultSetMetaData.SecurityAttribute
eXtensible Data Security (XDS) attribute.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAnnotations(int column)
Since 23ai, annotations can be specified to schema objects such as tables, views and
columns.
|
java.lang.String |
getDomainName(int column)
Gets the domain name for input column index.
|
java.lang.String |
getDomainSchema(int column)
Gets the domain schema for input column index.
|
int |
getScale(int column)
Gets the designated column's number of digits to the right of the decimal point.
|
OracleResultSetMetaData.SecurityAttribute |
getSecurityAttribute(int indexOfColumnInResultSet)
Returns the eXtensible Data Security (XDS)
attribute of this column.
|
VectorMetaData |
getVectorMetaData(int column)
Returns the metadata for a VECTOR column, or
null if the column
is not a VECTOR. |
boolean |
isColumnInvisible(int indexOfColumnInResultSet)
Returns the column visibility information of the specified column.
|
boolean |
isColumnJSON(int column)
Returns true if the specified column contains JSON data otherwise returns false.
|
boolean |
isNCHAR(int index)
isNCHAR (int)
|
boolean |
isVariableScale(int column)
If the scale of Oracle NUMBER, FLOAT, DECIMAL and DOUBLE database datatype
is unspecified this method returns
true . |
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable
boolean isNCHAR(int index) throws java.sql.SQLException
index
- the column indexjava.sql.SQLException
OracleResultSetMetaData.SecurityAttribute getSecurityAttribute(int indexOfColumnInResultSet) throws java.sql.SQLException
java.sql.SQLException
OracleResultSet.getAuthorizationIndicator
boolean isColumnInvisible(int indexOfColumnInResultSet) throws java.sql.SQLException
An invisible column is a user defined/specified hidden column which can be later changed to visible.
It is created as:
create table test_tab (col1 integer invisible, col2 integer);It can be modified later by using:
alter table test_tab modify (col1 visible);
indexOfColumnInResultSet
- the column indexjava.sql.SQLException
boolean isVariableScale(int column) throws java.sql.SQLException
true
. Oracle database
returns -127 if scale is unspecified.column
- the first column is 1, the second is 2, ...java.sql.SQLException
boolean isColumnJSON(int column) throws java.sql.SQLException
A columns that always contains JSON data is a textual (VARCHAR2 or CLOB) or binary (BLOB) table column with an IS JSON check constraint or a view column that has an underlying JSON generation function .
column
- the column indexjava.sql.SQLException
int getScale(int column) throws java.sql.SQLException
An Oracle NUMBER data type can be defined with a scale that ranges from -84 to 127. When the scale is not specified, the special value -127 will be returned by this method. It has no other meaning than to indicate that the scale isn't set.
For data types that don't have a scale, the value 0 is returned.
getScale
in interface java.sql.ResultSetMetaData
column
- the first column is 1, the second is 2, ...java.sql.SQLException
- if a database access error occursjava.lang.String getDomainName(int column) throws java.sql.SQLException
column
- the column indexjava.sql.SQLException
java.lang.String getDomainSchema(int column) throws java.sql.SQLException
column
- the column indexjava.sql.SQLException
java.util.Map<java.lang.String,java.lang.String> getAnnotations(int column) throws java.sql.SQLException
getAnnotations(int)
is used for getting annotation associated with column.
Please refer OracleDatabaseMetaData
for table and view annotations.column
- the column indexannotations
associated for the given column index.annotations
then returns null
.java.sql.SQLException
AdditionalDatabaseMetaData.getAnnotations(String, String, String)
,
AdditionalDatabaseMetaData.getAnnotations(String, String, String, String)
VectorMetaData getVectorMetaData(int column) throws java.sql.SQLException
null
if the column
is not a VECTOR.column
- the first column is 1, the second is 2, ...null
if the column is not a
VECTOR.java.sql.SQLException
- if a database access error occurs