Uses of Enum Class
org.apache.hadoop.yarn.server.federation.store.sql.DatabaseProduct.DbType
Packages that use DatabaseProduct.DbType
Package
Description
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
-
Uses of DatabaseProduct.DbType in org.apache.hadoop.yarn.server.federation.store.sql
Methods in org.apache.hadoop.yarn.server.federation.store.sql that return DatabaseProduct.DbTypeModifier and TypeMethodDescriptionstatic DatabaseProduct.DbTypeDatabaseProduct.getDbType(Connection conn) static DatabaseProduct.DbTypeReturns the enum constant of this class with the specified name.static DatabaseProduct.DbType[]DatabaseProduct.DbType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.hadoop.yarn.server.federation.store.sql with parameters of type DatabaseProduct.DbTypeModifier and TypeMethodDescriptionstatic StringDatabaseProduct.addForUpdateClause(DatabaseProduct.DbType dbType, String selectStatement) We add for update to SQL according to different database types.static booleanDatabaseProduct.isDuplicateKeyError(DatabaseProduct.DbType dbType, SQLException ex)