Package org.apache.drill.jdbc
Interface DrillDatabaseMetaData
- All Superinterfaces:
DatabaseMetaData
,Wrapper
- All Known Implementing Classes:
DrillDatabaseMetaDataImpl
Drill-specific
DatabaseMetaData
.-
Field Summary
Fields inherited from interface java.sql.DatabaseMetaData
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributes
(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) Drill: Currently, returns an empty (zero-row) result set.getBestRowIdentifier
(String catalog, String schema, String table, int scope, boolean nullable) Drill: Currently, returns an empty (zero-row) result set.Drill: Currently, returns an empty (zero-row) result set.getColumnPrivileges
(String catalog, String schema, String table, String columnNamePattern) Drill: Currently, returns an empty (zero-row) result set.getCrossReference
(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable) Drill: Currently, returns an empty (zero-row) result set.getExportedKeys
(String catalog, String schema, String table) Drill: Currently, returns an empty (zero-row) result set.getFunctionColumns
(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) Drill: Currently, returns an empty (zero-row) result set.getFunctions
(String catalog, String schemaPattern, String functionNamePattern) Drill: Currently, returns an empty (zero-row) result set.Drill: Reports current SQL identifier quoting character.getImportedKeys
(String catalog, String schema, String table) Drill: Currently, returns an empty (zero-row) result set.getIndexInfo
(String catalog, String schema, String table, boolean unique, boolean approximate) Drill: Currently, returns an empty (zero-row) result set.getPrimaryKeys
(String catalog, String schema, String table) Drill: Currently, returns an empty (zero-row) result set.getProcedureColumns
(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) Drill: Currently, returns an empty (zero-row) result set.getProcedures
(String catalog, String schemaPattern, String procedureNamePattern) Drill: Currently, returns an empty (zero-row) result set.getPseudoColumns
(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) Drill: Currently, returns an empty (zero-row) result set.getSuperTables
(String catalog, String schemaPattern, String tableNamePattern) Drill: Currently, returns an empty (zero-row) result set.getSuperTypes
(String catalog, String schemaPattern, String typeNamePattern) Drill: Currently, returns an empty (zero-row) result set.getTablePrivileges
(String catalog, String schemaPattern, String tableNamePattern) Drill: Currently, returns an empty (zero-row) result set.Drill: Currently, returns an empty (zero-row) result set.Drill: Currently, returns an empty (zero-row) result set.Drill: Currently, returns an empty (zero-row) result set.getVersionColumns
(String catalog, String schema, String table) Drill: Currently, returns an empty (zero-row) result set.boolean
Drill: Reports that NULL values are not sorted last.boolean
Drill: Reports that NULL values are not sorted first.boolean
Drill: Reports that NULL values are sorted high.boolean
Drill: Reports that NULL values are not sorted low.Methods inherited from interface java.sql.DatabaseMetaData
allProceduresAreCallable, allTablesAreSelectable, autoCommitFailureClosesAllResultSets, dataDefinitionCausesTransactionCommit, dataDefinitionIgnoredInTransactions, deletesAreDetected, doesMaxRowSizeIncludeBlobs, generatedKeyAlwaysReturned, getCatalogs, getCatalogSeparator, getCatalogTerm, getColumns, getConnection, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getDefaultTransactionIsolation, getDriverMajorVersion, getDriverMinorVersion, getDriverName, getDriverVersion, getExtraNameCharacters, getJDBCMajorVersion, getJDBCMinorVersion, getMaxBinaryLiteralLength, getMaxCatalogNameLength, getMaxCharLiteralLength, getMaxColumnNameLength, getMaxColumnsInGroupBy, getMaxColumnsInIndex, getMaxColumnsInOrderBy, getMaxColumnsInSelect, getMaxColumnsInTable, getMaxConnections, getMaxCursorNameLength, getMaxIndexLength, getMaxLogicalLobSize, getMaxProcedureNameLength, getMaxRowSize, getMaxSchemaNameLength, getMaxStatementLength, getMaxStatements, getMaxTableNameLength, getMaxTablesInSelect, getMaxUserNameLength, getNumericFunctions, getProcedureTerm, getResultSetHoldability, getRowIdLifetime, getSchemas, getSchemas, getSchemaTerm, getSearchStringEscape, getSQLKeywords, getSQLStateType, getStringFunctions, getSystemFunctions, getTables, getTimeDateFunctions, getURL, getUserName, insertsAreDetected, isCatalogAtStart, isReadOnly, locatorsUpdateCopy, nullPlusNonNullIsNull, othersDeletesAreVisible, othersInsertsAreVisible, othersUpdatesAreVisible, ownDeletesAreVisible, ownInsertsAreVisible, ownUpdatesAreVisible, storesLowerCaseIdentifiers, storesLowerCaseQuotedIdentifiers, storesMixedCaseIdentifiers, storesMixedCaseQuotedIdentifiers, storesUpperCaseIdentifiers, storesUpperCaseQuotedIdentifiers, supportsAlterTableWithAddColumn, supportsAlterTableWithDropColumn, supportsANSI92EntryLevelSQL, supportsANSI92FullSQL, supportsANSI92IntermediateSQL, supportsBatchUpdates, supportsCatalogsInDataManipulation, supportsCatalogsInIndexDefinitions, supportsCatalogsInPrivilegeDefinitions, supportsCatalogsInProcedureCalls, supportsCatalogsInTableDefinitions, supportsColumnAliasing, supportsConvert, supportsConvert, supportsCoreSQLGrammar, supportsCorrelatedSubqueries, supportsDataDefinitionAndDataManipulationTransactions, supportsDataManipulationTransactionsOnly, supportsDifferentTableCorrelationNames, supportsExpressionsInOrderBy, supportsExtendedSQLGrammar, supportsFullOuterJoins, supportsGetGeneratedKeys, supportsGroupBy, supportsGroupByBeyondSelect, supportsGroupByUnrelated, supportsIntegrityEnhancementFacility, supportsLikeEscapeClause, supportsLimitedOuterJoins, supportsMinimumSQLGrammar, supportsMixedCaseIdentifiers, supportsMixedCaseQuotedIdentifiers, supportsMultipleOpenResults, supportsMultipleResultSets, supportsMultipleTransactions, supportsNamedParameters, supportsNonNullableColumns, supportsOpenCursorsAcrossCommit, supportsOpenCursorsAcrossRollback, supportsOpenStatementsAcrossCommit, supportsOpenStatementsAcrossRollback, supportsOrderByUnrelated, supportsOuterJoins, supportsPositionedDelete, supportsPositionedUpdate, supportsRefCursors, supportsResultSetConcurrency, supportsResultSetHoldability, supportsResultSetType, supportsSavepoints, supportsSchemasInDataManipulation, supportsSchemasInIndexDefinitions, supportsSchemasInPrivilegeDefinitions, supportsSchemasInProcedureCalls, supportsSchemasInTableDefinitions, supportsSelectForUpdate, supportsStatementPooling, supportsStoredFunctionsUsingCallSyntax, supportsStoredProcedures, supportsSubqueriesInComparisons, supportsSubqueriesInExists, supportsSubqueriesInIns, supportsSubqueriesInQuantifieds, supportsTableCorrelationNames, supportsTransactionIsolationLevel, supportsTransactions, supportsUnion, supportsUnionAll, updatesAreDetected, usesLocalFilePerTable, usesLocalFiles
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
nullsAreSortedHigh
Drill: Reports that NULL values are sorted high.- Specified by:
nullsAreSortedHigh
in interfaceDatabaseMetaData
- Returns:
true
- Throws:
SQLException
-
nullsAreSortedLow
Drill: Reports that NULL values are not sorted low.- Specified by:
nullsAreSortedLow
in interfaceDatabaseMetaData
- Returns:
false
- Throws:
SQLException
-
nullsAreSortedAtStart
Drill: Reports that NULL values are not sorted first.- Specified by:
nullsAreSortedAtStart
in interfaceDatabaseMetaData
- Returns:
false
- Throws:
SQLException
-
nullsAreSortedAtEnd
Drill: Reports that NULL values are not sorted last.- Specified by:
nullsAreSortedAtEnd
in interfaceDatabaseMetaData
- Returns:
false
- Throws:
SQLException
-
getIdentifierQuoteString
Drill: Reports current SQL identifier quoting character.Quoting#BACK_TICK
- default back-quote character ("`
"; Unicode U+0060; "GRAVE ACCENT")Quoting#DOUBLE_QUOTE
- double quote character (""
"; Unicode U+0022; 'QUOTATION MARK')Quoting#BRACKET
- brackets characters ("[
"; Unicode U+005B; 'LEFT SQUARE BRACKET' and "]
"; Unicode U+005D; 'RIGHT SQUARE BRACKET')- Specified by:
getIdentifierQuoteString
in interfaceDatabaseMetaData
- Returns:
- current SQL identifier quoting character. Note: 'LEFT SQUARE BRACKET' is returned,
when
Quoting#BRACKET
is set. - Throws:
SQLException
-
getProcedures
ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getProcedures
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getProcedureColumns
ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getProcedureColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTableTypes
Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getTableTypes
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getColumnPrivileges
ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getColumnPrivileges
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTablePrivileges
ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getTablePrivileges
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getBestRowIdentifier
ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getBestRowIdentifier
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getVersionColumns
Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getVersionColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getPrimaryKeys
Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getPrimaryKeys
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getImportedKeys
Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getImportedKeys
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getExportedKeys
Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getExportedKeys
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getCrossReference
ResultSet getCrossReference(String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getCrossReference
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getTypeInfo
Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getTypeInfo
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getIndexInfo
ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getIndexInfo
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getUDTs
ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getUDTs
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSuperTypes
ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getSuperTypes
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getSuperTables
ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getSuperTables
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getAttributes
ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getAttributes
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getClientInfoProperties
Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getClientInfoProperties
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getFunctions
ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getFunctions
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getFunctionColumns
ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getFunctionColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-
getPseudoColumns
ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException Drill: Currently, returns an empty (zero-row) result set. (Note: Currently, result set might not have the expected columns.)- Specified by:
getPseudoColumns
in interfaceDatabaseMetaData
- Throws:
SQLException
-