-
- All Implemented Interfaces:
public final class BestRowIdentifierWrapper for results of getBestRowIdentifier method and represents the optimal set of columns that uniquely identify a Table's row
Note that per the documentation BUFFER_LENGTH is unused and has been left out of this class
-
-
Field Summary
Fields Modifier and Type Field Description private final BestRowIdentifierScopescopeprivate final StringcolumnNameprivate final JDBCTypedataTypeprivate final StringtypeNameprivate final IntegercolumnSizeprivate final IntegerdecimalDigitsprivate final BestRowColumnTypepseudoColumn
-
Constructor Summary
Constructors Constructor Description BestRowIdentifier(ResultSet rs)
-
Method Summary
Modifier and Type Method Description final BestRowIdentifierScopegetScope()Scope of result, converted to BestRowIdentifierScopeSource column: SCOPE final StringgetColumnName()Column nameSource column: COLUMN_NAME final JDBCTypegetDataType()SQL type from java.sql.Types, converted from intSource column: DATA_TYPE final StringgetTypeName()Data source dependent type name, for a UserDefinedType the type name is fully qualifiedSource column: TYPE_NAME final IntegergetColumnSize()PrecisionSource column: COLUMN_SIZE final IntegergetDecimalDigits()The number of fractional digitsSource column: DECIMAL_DIGITS final BestRowColumnTypegetPseudoColumn()Indicates whether this is a pseudo column like an Oracle ROWID, converted to BestRowColumnTypeSource column: PSEUDO_COLUMN -
-
Constructor Detail
-
BestRowIdentifier
BestRowIdentifier(ResultSet rs)
-
-
Method Detail
-
getScope
final BestRowIdentifierScope getScope()
Scope of result, converted to BestRowIdentifierScope
Source column: SCOPE
-
getColumnName
final String getColumnName()
Column name
Source column: COLUMN_NAME
-
getDataType
final JDBCType getDataType()
SQL type from java.sql.Types, converted from int
Source column: DATA_TYPE
-
getTypeName
final String getTypeName()
Data source dependent type name, for a UserDefinedType the type name is fully qualified
Source column: TYPE_NAME
-
getColumnSize
final Integer getColumnSize()
Precision
Source column: COLUMN_SIZE
-
getDecimalDigits
final Integer getDecimalDigits()
The number of fractional digits
Source column: DECIMAL_DIGITS
-
getPseudoColumn
final BestRowColumnType getPseudoColumn()
Indicates whether this is a pseudo column like an Oracle ROWID, converted to BestRowColumnType
Source column: PSEUDO_COLUMN
-
-
-
-