| java.lang.Object com.sqlmagic.tinysql.tinySQLDatabaseMetaData com.sqlmagic.tinysql.dbfFileDatabaseMetaData
dbfFileDatabaseMetaData | public class dbfFileDatabaseMetaData extends tinySQLDatabaseMetaData (Code) | | dBase read/write access
author: Brian Jepson author: Marcel Ruff Added DatabaseMetaData with JDK 2 support author: Thomas Morgner Changed DatabaseMetaData to use java.sql.Types. |
dbfFileDatabaseMetaData | public dbfFileDatabaseMetaData(Connection connection)(Code) | | |
getColumns | public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)(Code) | | Gets a description of table columns available in
the specified catalog.
Only column descriptions matching the catalog, schema, table
and column name criteria are returned. They are ordered by
TABLE_SCHEM, TABLE_NAME and ORDINAL_POSITION.
Each column description has the following columns:
- TABLE_CAT String => table catalog (may be null)
- TABLE_SCHEM String => table schema (may be null)
- TABLE_NAME String => table name
- COLUMN_NAME String => column name
- DATA_TYPE short => SQL type from java.sql.Types
- TYPE_NAME String => Data source dependent type name,
for a UDT the type name is fully qualified
- COLUMN_SIZE int => column size. For char or date
types this is the maximum number of characters, for numeric or
decimal types this is precision.
- BUFFER_LENGTH is not used.
- DECIMAL_DIGITS int => the number of fractional digits
- NUM_PREC_RADIX int => Radix (typically either 10 or 2)
- NULLABLE int => is NULL allowed?
- columnNoNulls - might not allow NULL values
- columnNullable - definitely allows NULL values
- columnNullableUnknown - nullability unknown
- REMARKS String => comment describing column (may be null)
- COLUMN_DEF String => default value (may be null)
- SQL_DATA_TYPE int => unused
- SQL_DATETIME_SUB int => unused
- CHAR_OCTET_LENGTH int => for char types the
maximum number of bytes in the column
- ORDINAL_POSITION int => index of column in table
(starting at 1)
- IS_NULLABLE String => "NO" means column definitely
does not allow NULL values; "YES" means the column might
allow NULL values. An empty string means nobody knows.
Parameters: catalog - a catalog name; "" retrieves those without acatalog; null means drop catalog name from the selection criteria Parameters: schemaPattern - a schema name pattern; "" retrieves thosewithout a schema Parameters: tableNamePattern - a table name pattern Parameters: columnNamePattern - a column name pattern ResultSet - each row is a column description exception: SQLException - if a database access error occurs See Also: dbfFileDatabaseMetaData.getSearchStringEscape |
getDatabaseProductName | public String getDatabaseProductName()(Code) | | |
getDatabaseProductVersion | public String getDatabaseProductVersion()(Code) | | |
getTypeInfo | public ResultSet getTypeInfo() throws SQLException(Code) | | Gets a description of all the standard SQL types supported by
this database. They are ordered by DATA_TYPE and then by how
closely the data type maps to the corresponding JDBC SQL type.
Each type description has the following columns:
- TYPE_NAME String => Type name
- DATA_TYPE short => SQL data type from java.sql.Types
- PRECISION int => maximum precision
- LITERAL_PREFIX String => prefix used to quote a literal
(may be null)
- LITERAL_SUFFIX String => suffix used to quote a literal
(may be null)
- CREATE_PARAMS String => parameters used in creating
the type (may be null)
- NULLABLE short => can you use NULL for this type?
- typeNoNulls - does not allow NULL values
- typeNullable - allows NULL values
- typeNullableUnknown - nullability unknown
- CASE_SENSITIVE boolean=> is it case sensitive?
- SEARCHABLE short => can you use "WHERE" based on this type:
- typePredNone - No support
- typePredChar - Only supported with WHERE .. LIKE
- typePredBasic - Supported except for WHERE .. LIKE
- typeSearchable - Supported for all WHERE ..
- UNSIGNED_ATTRIBUTE boolean => is it unsigned?
- FIXED_PREC_SCALE boolean => can it be a money value?
- AUTO_INCREMENT boolean => can it be used for an
auto-increment value?
- LOCAL_TYPE_NAME String => localized version of type name
(may be null)
- MINIMUM_SCALE short => minimum scale supported
- MAXIMUM_SCALE short => maximum scale supported
- SQL_DATA_TYPE int => unused
- SQL_DATETIME_SUB int => unused
- NUM_PREC_RADIX int => usually 2 or 10
ResultSet - each row is a SQL type description exception: SQLException - if a database access error occurs |
Methods inherited from com.sqlmagic.tinysql.tinySQLDatabaseMetaData | public boolean allProceduresAreCallable()(Code)(Java Doc) public boolean allTablesAreSelectable()(Code)(Java Doc) public boolean dataDefinitionCausesTransactionCommit()(Code)(Java Doc) public boolean dataDefinitionIgnoredInTransactions() throws SQLException(Code)(Java Doc) public boolean deletesAreDetected(int type)(Code)(Java Doc) public boolean doesMaxRowSizeIncludeBlobs()(Code)(Java Doc) public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException(Code)(Java Doc) public String getCatalogSeparator() throws SQLException(Code)(Java Doc) public String getCatalogTerm() throws SQLException(Code)(Java Doc) public ResultSet getCatalogs() throws SQLException(Code)(Java Doc) public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException(Code)(Java Doc) public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)(Code)(Java Doc) public Connection getConnection()(Code)(Java Doc) public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException(Code)(Java Doc) public String getDatabaseProductName()(Code)(Java Doc) public String getDatabaseProductVersion()(Code)(Java Doc) public int getDefaultTransactionIsolation() throws SQLException(Code)(Java Doc) public int getDriverMajorVersion()(Code)(Java Doc) public int getDriverMinorVersion()(Code)(Java Doc) public String getDriverName()(Code)(Java Doc) public String getDriverVersion()(Code)(Java Doc) public ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException(Code)(Java Doc) public String getExtraNameCharacters()(Code)(Java Doc) public String getIdentifierQuoteString()(Code)(Java Doc) public ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException(Code)(Java Doc) public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException(Code)(Java Doc) public int getMaxBinaryLiteralLength()(Code)(Java Doc) public int getMaxCatalogNameLength()(Code)(Java Doc) public int getMaxCharLiteralLength()(Code)(Java Doc) public int getMaxColumnNameLength()(Code)(Java Doc) public int getMaxColumnsInGroupBy()(Code)(Java Doc) public int getMaxColumnsInIndex()(Code)(Java Doc) public int getMaxColumnsInOrderBy()(Code)(Java Doc) public int getMaxColumnsInSelect()(Code)(Java Doc) public int getMaxColumnsInTable()(Code)(Java Doc) public int getMaxConnections()(Code)(Java Doc) public int getMaxCursorNameLength()(Code)(Java Doc) public int getMaxIndexLength()(Code)(Java Doc) public int getMaxProcedureNameLength()(Code)(Java Doc) public int getMaxRowSize()(Code)(Java Doc) public int getMaxSchemaNameLength()(Code)(Java Doc) public int getMaxStatementLength()(Code)(Java Doc) public int getMaxStatements()(Code)(Java Doc) public int getMaxTableNameLength()(Code)(Java Doc) public int getMaxTablesInSelect()(Code)(Java Doc) public int getMaxUserNameLength()(Code)(Java Doc) public String getNumericFunctions()(Code)(Java Doc) public ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException(Code)(Java Doc) public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)(Code)(Java Doc) public String getProcedureTerm() throws SQLException(Code)(Java Doc) public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern)(Code)(Java Doc) public String getSQLKeywords()(Code)(Java Doc) public String getSchemaTerm() throws SQLException(Code)(Java Doc) public ResultSet getSchemas() throws SQLException(Code)(Java Doc) public String getSearchStringEscape()(Code)(Java Doc) public String getStringFunctions()(Code)(Java Doc) public String getSystemFunctions()(Code)(Java Doc) public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException(Code)(Java Doc) public ResultSet getTableTypes()(Code)(Java Doc) public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String types)(Code)(Java Doc) public String getTimeDateFunctions()(Code)(Java Doc) public ResultSet getTypeInfo() throws SQLException(Code)(Java Doc) public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException(Code)(Java Doc) public String getURL()(Code)(Java Doc) public String getUserName()(Code)(Java Doc) public ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException(Code)(Java Doc) public boolean insertsAreDetected(int type)(Code)(Java Doc) public boolean isCatalogAtStart()(Code)(Java Doc) public boolean isReadOnly()(Code)(Java Doc) public boolean nullPlusNonNullIsNull()(Code)(Java Doc) public boolean nullsAreSortedAtEnd()(Code)(Java Doc) public boolean nullsAreSortedAtStart()(Code)(Java Doc) public boolean nullsAreSortedHigh()(Code)(Java Doc) public boolean nullsAreSortedLow()(Code)(Java Doc) public boolean othersDeletesAreVisible(int type)(Code)(Java Doc) public boolean othersInsertsAreVisible(int type)(Code)(Java Doc) public boolean othersUpdatesAreVisible(int type)(Code)(Java Doc) public boolean ownDeletesAreVisible(int type)(Code)(Java Doc) public boolean ownInsertsAreVisible(int type)(Code)(Java Doc) public boolean ownUpdatesAreVisible(int type)(Code)(Java Doc) public boolean storesLowerCaseIdentifiers()(Code)(Java Doc) public boolean storesLowerCaseQuotedIdentifiers()(Code)(Java Doc) public boolean storesMixedCaseIdentifiers()(Code)(Java Doc) public boolean storesMixedCaseQuotedIdentifiers()(Code)(Java Doc) public boolean storesUpperCaseIdentifiers()(Code)(Java Doc) public boolean storesUpperCaseQuotedIdentifiers()(Code)(Java Doc) public boolean supportsANSI92EntryLevelSQL()(Code)(Java Doc) public boolean supportsANSI92FullSQL()(Code)(Java Doc) public boolean supportsANSI92IntermediateSQL()(Code)(Java Doc) public boolean supportsAlterTableWithAddColumn()(Code)(Java Doc) public boolean supportsAlterTableWithDropColumn()(Code)(Java Doc) public boolean supportsBatchUpdates()(Code)(Java Doc) public boolean supportsCatalogsInDataManipulation()(Code)(Java Doc) public boolean supportsCatalogsInIndexDefinitions()(Code)(Java Doc) public boolean supportsCatalogsInPrivilegeDefinitions()(Code)(Java Doc) public boolean supportsCatalogsInProcedureCalls()(Code)(Java Doc) public boolean supportsCatalogsInTableDefinitions()(Code)(Java Doc) public boolean supportsColumnAliasing()(Code)(Java Doc) public boolean supportsConvert()(Code)(Java Doc) public boolean supportsConvert(int fromType, int toType)(Code)(Java Doc) public boolean supportsCoreSQLGrammar()(Code)(Java Doc) public boolean supportsCorrelatedSubqueries()(Code)(Java Doc) public boolean supportsDataDefinitionAndDataManipulationTransactions()(Code)(Java Doc) public boolean supportsDataManipulationTransactionsOnly()(Code)(Java Doc) public boolean supportsDifferentTableCorrelationNames()(Code)(Java Doc) public boolean supportsExpressionsInOrderBy()(Code)(Java Doc) public boolean supportsExtendedSQLGrammar()(Code)(Java Doc) public boolean supportsFullOuterJoins()(Code)(Java Doc) public boolean supportsGroupBy()(Code)(Java Doc) public boolean supportsGroupByBeyondSelect()(Code)(Java Doc) public boolean supportsGroupByUnrelated()(Code)(Java Doc) public boolean supportsIntegrityEnhancementFacility()(Code)(Java Doc) public boolean supportsLikeEscapeClause()(Code)(Java Doc) public boolean supportsLimitedOuterJoins()(Code)(Java Doc) public boolean supportsMinimumSQLGrammar()(Code)(Java Doc) public boolean supportsMixedCaseIdentifiers()(Code)(Java Doc) public boolean supportsMixedCaseQuotedIdentifiers()(Code)(Java Doc) public boolean supportsMultipleResultSets()(Code)(Java Doc) public boolean supportsMultipleTransactions()(Code)(Java Doc) public boolean supportsNonNullableColumns()(Code)(Java Doc) public boolean supportsOpenCursorsAcrossCommit()(Code)(Java Doc) public boolean supportsOpenCursorsAcrossRollback()(Code)(Java Doc) public boolean supportsOpenStatementsAcrossCommit()(Code)(Java Doc) public boolean supportsOpenStatementsAcrossRollback()(Code)(Java Doc) public boolean supportsOrderByUnrelated()(Code)(Java Doc) public boolean supportsOuterJoins()(Code)(Java Doc) public boolean supportsPositionedDelete()(Code)(Java Doc) public boolean supportsPositionedUpdate()(Code)(Java Doc) public boolean supportsResultSetConcurrency(int type, int concurrency)(Code)(Java Doc) public boolean supportsResultSetType(int type)(Code)(Java Doc) public boolean supportsSchemasInDataManipulation()(Code)(Java Doc) public boolean supportsSchemasInIndexDefinitions()(Code)(Java Doc) public boolean supportsSchemasInPrivilegeDefinitions()(Code)(Java Doc) public boolean supportsSchemasInProcedureCalls()(Code)(Java Doc) public boolean supportsSchemasInTableDefinitions()(Code)(Java Doc) public boolean supportsSelectForUpdate()(Code)(Java Doc) public boolean supportsStatementPooling()(Code)(Java Doc) public boolean supportsStoredProcedures()(Code)(Java Doc) public boolean supportsSubqueriesInComparisons()(Code)(Java Doc) public boolean supportsSubqueriesInExists()(Code)(Java Doc) public boolean supportsSubqueriesInIns()(Code)(Java Doc) public boolean supportsSubqueriesInQuantifieds()(Code)(Java Doc) public boolean supportsTableCorrelationNames()(Code)(Java Doc) public boolean supportsTransactionIsolationLevel(int level)(Code)(Java Doc) public boolean supportsTransactions()(Code)(Java Doc) public boolean supportsUnion()(Code)(Java Doc) public boolean supportsUnionAll()(Code)(Java Doc) public boolean updatesAreDetected(int type)(Code)(Java Doc) public boolean usesLocalFilePerTable()(Code)(Java Doc) public boolean usesLocalFiles()(Code)(Java Doc)
|
|
|