public enum NameQualifierSupport extends Enum<NameQualifierSupport>
Enum Constant and Description |
---|
BOTH
Both catalog and schema are supported.
|
CATALOG
Only catalog is supported
|
NONE
Neither catalog nor schema are supported.
|
SCHEMA
Only schema is supported
|
Modifier and Type | Method and Description |
---|---|
boolean |
supportsCatalogs() |
boolean |
supportsSchemas() |
static NameQualifierSupport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameQualifierSupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameQualifierSupport CATALOG
public static final NameQualifierSupport SCHEMA
public static final NameQualifierSupport BOTH
public static final NameQualifierSupport NONE
public static NameQualifierSupport[] values()
for (NameQualifierSupport c : NameQualifierSupport.values()) System.out.println(c);
public static NameQualifierSupport 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 boolean supportsCatalogs()
public boolean supportsSchemas()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.