public class SchemaSelectStrategy
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SchemaSelectStrategy.Strategy
The strategy enumeration
|
Modifier and Type | Method and Description |
---|---|
static SchemaSelectStrategy |
automatic()
Creates a schema strategy for auto-determining schema name
|
static SchemaSelectStrategy |
getDefault()
Creates the default strategy
|
java.lang.String |
getSchema()
Returns the configured schema.
|
SchemaSelectStrategy.Strategy |
getStrategy()
Returns the strategy.
|
static SchemaSelectStrategy |
inMemory()
Creates a schema strategy for fetching the schema name from in-memory cache.
|
static SchemaSelectStrategy |
schema(java.lang.String schemaName)
Creates a schema strategy for a pre-defined schema name
|
public static SchemaSelectStrategy automatic()
public static SchemaSelectStrategy inMemory()
public static SchemaSelectStrategy schema(java.lang.String schemaName)
schemaName
- The schema namepublic static SchemaSelectStrategy getDefault()
public java.lang.String getSchema()
public SchemaSelectStrategy.Strategy getStrategy()