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.booleanDrill: Reports that NULL values are not sorted last.booleanDrill: Reports that NULL values are not sorted first.booleanDrill: Reports that NULL values are sorted high.booleanDrill: 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, supportsSharding, supportsStatementPooling, supportsStoredFunctionsUsingCallSyntax, supportsStoredProcedures, supportsSubqueriesInComparisons, supportsSubqueriesInExists, supportsSubqueriesInIns, supportsSubqueriesInQuantifieds, supportsTableCorrelationNames, supportsTransactionIsolationLevel, supportsTransactions, supportsUnion, supportsUnionAll, updatesAreDetected, usesLocalFilePerTable, usesLocalFilesMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
nullsAreSortedHigh
Drill: Reports that NULL values are sorted high.- Specified by:
nullsAreSortedHighin interfaceDatabaseMetaData- Returns:
true- Throws:
SQLException
-
nullsAreSortedLow
Drill: Reports that NULL values are not sorted low.- Specified by:
nullsAreSortedLowin interfaceDatabaseMetaData- Returns:
false- Throws:
SQLException
-
nullsAreSortedAtStart
Drill: Reports that NULL values are not sorted first.- Specified by:
nullsAreSortedAtStartin interfaceDatabaseMetaData- Returns:
false- Throws:
SQLException
-
nullsAreSortedAtEnd
Drill: Reports that NULL values are not sorted last.- Specified by:
nullsAreSortedAtEndin interfaceDatabaseMetaData- Returns:
false- Throws:
SQLException
-
getIdentifierQuoteString
Drill: Reports current SQL identifier quoting character.- default back-quote character ("invalid reference
Quoting#BACK_TICK`"; Unicode U+0060; "GRAVE ACCENT")- double quote character ("invalid reference
Quoting#DOUBLE_QUOTE""; Unicode U+0022; 'QUOTATION MARK')- brackets characters ("invalid reference
Quoting#BRACKET["; Unicode U+005B; 'LEFT SQUARE BRACKET' and "]"; Unicode U+005D; 'RIGHT SQUARE BRACKET')- Specified by:
getIdentifierQuoteStringin interfaceDatabaseMetaData- Returns:
- current SQL identifier quoting character. Note: 'LEFT SQUARE BRACKET' is returned,
when
is set.
invalid reference
Quoting#BRACKET - 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:
getProceduresin 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:
getProcedureColumnsin 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:
getTableTypesin 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:
getColumnPrivilegesin 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:
getTablePrivilegesin 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:
getBestRowIdentifierin 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:
getVersionColumnsin 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:
getPrimaryKeysin 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:
getImportedKeysin 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:
getExportedKeysin 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:
getCrossReferencein 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:
getTypeInfoin 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:
getIndexInfoin 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:
getUDTsin 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:
getSuperTypesin 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:
getSuperTablesin 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:
getAttributesin 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:
getClientInfoPropertiesin 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:
getFunctionsin 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:
getFunctionColumnsin 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:
getPseudoColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-