public class KyuubiDatabaseMetaData extends Object implements SQLDatabaseMetaData
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| Constructor and Description |
|---|
KyuubiDatabaseMetaData(KyuubiConnection connection,
org.apache.kyuubi.shaded.hive.service.rpc.thrift.TProtocolVersion protocol,
org.apache.kyuubi.shaded.hive.service.rpc.thrift.TCLIService.Iface client,
org.apache.kyuubi.shaded.hive.service.rpc.thrift.TSessionHandle sessHandle) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallProceduresAreCallable, autoCommitFailureClosesAllResultSets, dataDefinitionCausesTransactionCommit, dataDefinitionIgnoredInTransactions, deletesAreDetected, doesMaxRowSizeIncludeBlobs, generatedKeyAlwaysReturned, getAttributes, getBestRowIdentifier, getColumnPrivileges, getExportedKeys, getFunctionColumns, getMaxBinaryLiteralLength, getMaxCatalogNameLength, getMaxCharLiteralLength, getMaxColumnsInGroupBy, getMaxColumnsInIndex, getMaxColumnsInOrderBy, getMaxColumnsInSelect, getMaxColumnsInTable, getMaxConnections, getMaxCursorNameLength, getMaxIndexLength, getMaxProcedureNameLength, getMaxRowSize, getMaxSchemaNameLength, getMaxStatementLength, getMaxStatements, getMaxTableNameLength, getMaxTablesInSelect, getMaxUserNameLength, getPseudoColumns, getResultSetHoldability, getRowIdLifetime, getSuperTables, getSuperTypes, getTablePrivileges, getURL, getUserName, getVersionColumns, insertsAreDetected, isCatalogAtStart, isReadOnly, isWrapperFor, locatorsUpdateCopy, nullPlusNonNullIsNull, nullsAreSortedAtEnd, nullsAreSortedAtStart, nullsAreSortedHigh, nullsAreSortedLow, othersDeletesAreVisible, othersInsertsAreVisible, othersUpdatesAreVisible, ownDeletesAreVisible, ownInsertsAreVisible, ownUpdatesAreVisible, storesLowerCaseIdentifiers, storesLowerCaseQuotedIdentifiers, storesMixedCaseIdentifiers, storesMixedCaseQuotedIdentifiers, storesUpperCaseIdentifiers, storesUpperCaseQuotedIdentifiers, supportsANSI92EntryLevelSQL, supportsANSI92FullSQL, supportsANSI92IntermediateSQL, supportsConvert, supportsConvert, supportsCoreSQLGrammar, supportsCorrelatedSubqueries, supportsDataDefinitionAndDataManipulationTransactions, supportsDataManipulationTransactionsOnly, supportsDifferentTableCorrelationNames, supportsExpressionsInOrderBy, supportsExtendedSQLGrammar, supportsGetGeneratedKeys, supportsGroupByBeyondSelect, supportsGroupByUnrelated, supportsIntegrityEnhancementFacility, supportsLikeEscapeClause, supportsMinimumSQLGrammar, supportsMixedCaseIdentifiers, supportsMixedCaseQuotedIdentifiers, supportsMultipleOpenResults, supportsMultipleTransactions, supportsNamedParameters, supportsOpenCursorsAcrossCommit, supportsOpenCursorsAcrossRollback, supportsOpenStatementsAcrossCommit, supportsOpenStatementsAcrossRollback, supportsOrderByUnrelated, supportsResultSetConcurrency, supportsStatementPooling, supportsStoredFunctionsUsingCallSyntax, supportsSubqueriesInComparisons, supportsSubqueriesInExists, supportsSubqueriesInIns, supportsSubqueriesInQuantifieds, supportsTableCorrelationNames, supportsTransactionIsolationLevel, unwrap, updatesAreDetected, usesLocalFilePerTable, usesLocalFilesgetMaxLogicalLobSize, supportsRefCursorspublic KyuubiDatabaseMetaData(KyuubiConnection connection, org.apache.kyuubi.shaded.hive.service.rpc.thrift.TProtocolVersion protocol, org.apache.kyuubi.shaded.hive.service.rpc.thrift.TCLIService.Iface client, org.apache.kyuubi.shaded.hive.service.rpc.thrift.TSessionHandle sessHandle)
public boolean allTablesAreSelectable()
throws SQLException
allTablesAreSelectable in interface DatabaseMetaDataSQLExceptionpublic String getCatalogSeparator() throws SQLException
getCatalogSeparator in interface DatabaseMetaDataSQLExceptionpublic String getCatalogTerm() throws SQLException
getCatalogTerm in interface DatabaseMetaDataSQLExceptionpublic ResultSet getCatalogs() throws SQLException
getCatalogs in interface DatabaseMetaDataSQLExceptionpublic ResultSet getClientInfoProperties() throws SQLException
getClientInfoProperties in interface DatabaseMetaDataSQLExceptionpublic ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
getColumns in interface DatabaseMetaDataSQLExceptionpublic Connection getConnection() throws SQLException
getConnection in interface DatabaseMetaDataSQLExceptionpublic ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException
getCrossReference in interface DatabaseMetaDataSQLExceptionpublic int getDatabaseMajorVersion()
throws SQLException
getDatabaseMajorVersion in interface DatabaseMetaDataSQLExceptionpublic int getDatabaseMinorVersion()
throws SQLException
getDatabaseMinorVersion in interface DatabaseMetaDataSQLExceptionpublic String getDatabaseProductName() throws SQLException
getDatabaseProductName in interface DatabaseMetaDataSQLExceptionpublic String getDatabaseProductVersion() throws SQLException
getDatabaseProductVersion in interface DatabaseMetaDataSQLExceptionpublic int getDefaultTransactionIsolation()
throws SQLException
getDefaultTransactionIsolation in interface DatabaseMetaDataSQLExceptionpublic int getDriverMajorVersion()
getDriverMajorVersion in interface DatabaseMetaDatapublic int getDriverMinorVersion()
getDriverMinorVersion in interface DatabaseMetaDatapublic String getDriverName() throws SQLException
getDriverName in interface DatabaseMetaDataSQLExceptionpublic String getDriverVersion() throws SQLException
getDriverVersion in interface DatabaseMetaDataSQLExceptionpublic String getExtraNameCharacters() throws SQLException
getExtraNameCharacters in interface DatabaseMetaDataSQLExceptionpublic ResultSet getFunctions(String catalogName, String schemaPattern, String functionNamePattern) throws SQLException
getFunctions in interface DatabaseMetaDataSQLExceptionpublic String getIdentifierQuoteString() throws SQLException
getIdentifierQuoteString in interface DatabaseMetaDataSQLExceptionpublic ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException
getImportedKeys in interface DatabaseMetaDataSQLExceptionpublic ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException
getIndexInfo in interface DatabaseMetaDataSQLExceptionpublic int getJDBCMajorVersion()
throws SQLException
getJDBCMajorVersion in interface DatabaseMetaDataSQLExceptionpublic int getJDBCMinorVersion()
throws SQLException
getJDBCMinorVersion in interface DatabaseMetaDataSQLExceptionpublic int getMaxColumnNameLength()
throws SQLException
getMaxColumnNameLength in interface DatabaseMetaDataSQLExceptionpublic String getNumericFunctions() throws SQLException
getNumericFunctions in interface DatabaseMetaDataSQLExceptionpublic ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException
getPrimaryKeys in interface DatabaseMetaDataSQLExceptionpublic ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException
getProcedureColumns in interface DatabaseMetaDataSQLExceptionpublic String getProcedureTerm() throws SQLException
getProcedureTerm in interface DatabaseMetaDataSQLExceptionpublic ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException
getProcedures in interface DatabaseMetaDataSQLExceptionpublic String getSQLKeywords() throws SQLException
getSQLKeywords in interface DatabaseMetaDataSQLExceptionpublic int getSQLStateType()
throws SQLException
getSQLStateType in interface DatabaseMetaDataSQLExceptionpublic String getSchemaTerm() throws SQLException
getSchemaTerm in interface DatabaseMetaDataSQLExceptionpublic ResultSet getSchemas() throws SQLException
getSchemas in interface DatabaseMetaDataSQLExceptionpublic ResultSet getSchemas(String catalog, String schemaPattern) throws SQLException
getSchemas in interface DatabaseMetaDataSQLExceptionpublic String getSearchStringEscape() throws SQLException
getSearchStringEscape in interface DatabaseMetaDataSQLExceptionpublic String getStringFunctions() throws SQLException
getStringFunctions in interface DatabaseMetaDataSQLExceptionpublic String getSystemFunctions() throws SQLException
getSystemFunctions in interface DatabaseMetaDataSQLExceptionpublic ResultSet getTableTypes() throws SQLException
getTableTypes in interface DatabaseMetaDataSQLExceptionpublic ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException
getTables in interface DatabaseMetaDataSQLExceptionpublic static String toJdbcTableType(String hivetabletype)
public String getTimeDateFunctions() throws SQLException
getTimeDateFunctions in interface DatabaseMetaDataSQLExceptionpublic ResultSet getTypeInfo() throws SQLException
getTypeInfo in interface DatabaseMetaDataSQLExceptionpublic ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException
getUDTs in interface DatabaseMetaDataSQLExceptionpublic boolean supportsAlterTableWithAddColumn()
throws SQLException
supportsAlterTableWithAddColumn in interface DatabaseMetaDataSQLExceptionpublic boolean supportsAlterTableWithDropColumn()
throws SQLException
supportsAlterTableWithDropColumn in interface DatabaseMetaDataSQLExceptionpublic boolean supportsBatchUpdates()
throws SQLException
supportsBatchUpdates in interface DatabaseMetaDataSQLExceptionpublic boolean supportsCatalogsInDataManipulation()
throws SQLException
supportsCatalogsInDataManipulation in interface DatabaseMetaDataSQLExceptionpublic boolean supportsCatalogsInIndexDefinitions()
throws SQLException
supportsCatalogsInIndexDefinitions in interface DatabaseMetaDataSQLExceptionpublic boolean supportsCatalogsInPrivilegeDefinitions()
throws SQLException
supportsCatalogsInPrivilegeDefinitions in interface DatabaseMetaDataSQLExceptionpublic boolean supportsCatalogsInProcedureCalls()
throws SQLException
supportsCatalogsInProcedureCalls in interface DatabaseMetaDataSQLExceptionpublic boolean supportsCatalogsInTableDefinitions()
throws SQLException
supportsCatalogsInTableDefinitions in interface DatabaseMetaDataSQLExceptionpublic boolean supportsColumnAliasing()
throws SQLException
supportsColumnAliasing in interface DatabaseMetaDataSQLExceptionpublic boolean supportsFullOuterJoins()
throws SQLException
supportsFullOuterJoins in interface DatabaseMetaDataSQLExceptionpublic boolean supportsGroupBy()
throws SQLException
supportsGroupBy in interface DatabaseMetaDataSQLExceptionpublic boolean supportsLimitedOuterJoins()
throws SQLException
supportsLimitedOuterJoins in interface DatabaseMetaDataSQLExceptionpublic boolean supportsMultipleResultSets()
throws SQLException
supportsMultipleResultSets in interface DatabaseMetaDataSQLExceptionpublic boolean supportsNonNullableColumns()
throws SQLException
supportsNonNullableColumns in interface DatabaseMetaDataSQLExceptionpublic boolean supportsOuterJoins()
throws SQLException
supportsOuterJoins in interface DatabaseMetaDataSQLExceptionpublic boolean supportsPositionedDelete()
throws SQLException
supportsPositionedDelete in interface DatabaseMetaDataSQLExceptionpublic boolean supportsPositionedUpdate()
throws SQLException
supportsPositionedUpdate in interface DatabaseMetaDataSQLExceptionpublic boolean supportsResultSetHoldability(int holdability)
throws SQLException
supportsResultSetHoldability in interface DatabaseMetaDataSQLExceptionpublic boolean supportsResultSetType(int type)
throws SQLException
supportsResultSetType in interface DatabaseMetaDataSQLExceptionpublic boolean supportsSavepoints()
throws SQLException
supportsSavepoints in interface DatabaseMetaDataSQLExceptionpublic boolean supportsSchemasInDataManipulation()
throws SQLException
supportsSchemasInDataManipulation in interface DatabaseMetaDataSQLExceptionpublic boolean supportsSchemasInIndexDefinitions()
throws SQLException
supportsSchemasInIndexDefinitions in interface DatabaseMetaDataSQLExceptionpublic boolean supportsSchemasInPrivilegeDefinitions()
throws SQLException
supportsSchemasInPrivilegeDefinitions in interface DatabaseMetaDataSQLExceptionpublic boolean supportsSchemasInProcedureCalls()
throws SQLException
supportsSchemasInProcedureCalls in interface DatabaseMetaDataSQLExceptionpublic boolean supportsSchemasInTableDefinitions()
throws SQLException
supportsSchemasInTableDefinitions in interface DatabaseMetaDataSQLExceptionpublic boolean supportsSelectForUpdate()
throws SQLException
supportsSelectForUpdate in interface DatabaseMetaDataSQLExceptionpublic boolean supportsStoredProcedures()
throws SQLException
supportsStoredProcedures in interface DatabaseMetaDataSQLExceptionpublic boolean supportsTransactions()
throws SQLException
supportsTransactions in interface DatabaseMetaDataSQLExceptionpublic boolean supportsUnion()
throws SQLException
supportsUnion in interface DatabaseMetaDataSQLExceptionpublic boolean supportsUnionAll()
throws SQLException
supportsUnionAll in interface DatabaseMetaDataSQLExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.