private static enum ConnectionFactory.DBWrapper extends Enum<ConnectionFactory.DBWrapper>
| Enum Constant and Description |
|---|
CALCITE_AS_ADMIN |
CALCITE_AS_SPECIFIC_USER |
RAW |
| Modifier and Type | Method and Description |
|---|---|
abstract Connection |
connection() |
static ConnectionFactory.DBWrapper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionFactory.DBWrapper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionFactory.DBWrapper CALCITE_AS_ADMIN
public static final ConnectionFactory.DBWrapper CALCITE_AS_SPECIFIC_USER
public static final ConnectionFactory.DBWrapper RAW
public static ConnectionFactory.DBWrapper[] values()
for (ConnectionFactory.DBWrapper c : ConnectionFactory.DBWrapper.values()) System.out.println(c);
public static ConnectionFactory.DBWrapper valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract Connection connection() throws Exception
ExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.