-
- All Implemented Interfaces:
public final class BestRowIdentifier
Wrapper 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 BestRowIdentifierScope
scope
private final String
columnName
private final JDBCType
dataType
private final String
typeName
private final Integer
columnSize
private final Integer
decimalDigits
private final BestRowColumnType
pseudoColumn
-
Constructor Summary
Constructors Constructor Description BestRowIdentifier(ResultSet rs)
-
Method Summary
Modifier and Type Method Description final BestRowIdentifierScope
getScope()
Scope of result, converted to BestRowIdentifierScopeSource column: SCOPE final String
getColumnName()
Column nameSource column: COLUMN_NAME final JDBCType
getDataType()
SQL type from java.sql.Types, converted from intSource column: DATA_TYPE final String
getTypeName()
Data source dependent type name, for a UserDefinedType the type name is fully qualifiedSource column: TYPE_NAME final Integer
getColumnSize()
PrecisionSource column: COLUMN_SIZE final Integer
getDecimalDigits()
The number of fractional digitsSource column: DECIMAL_DIGITS final BestRowColumnType
getPseudoColumn()
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
-
-
-
-