Package | Description |
---|---|
org.apache.hadoop.yarn.server.federation.store.sql |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseProduct.DbType |
DatabaseProduct.getDbType(Connection conn) |
static DatabaseProduct.DbType |
DatabaseProduct.DbType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseProduct.DbType[] |
DatabaseProduct.DbType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
DatabaseProduct.addForUpdateClause(DatabaseProduct.DbType dbType,
String selectStatement)
We add for update to SQL according to different database types.
|
static boolean |
DatabaseProduct.isDuplicateKeyError(DatabaseProduct.DbType dbType,
SQLException ex) |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.