Class RelationalKeyspaceProvider
java.lang.Object
com.apple.foundationdb.relational.recordlayer.RelationalKeyspaceProvider
The Relational Keyspace.
"__SYS" in its current form, is a system schema that will house all the system tables.
/ (root)
|- __SYS (null)
|
[currently, we allow for the domains very naively for our use-cases like cli, testing, demo etc.]
|- domain_name (string=domain_name)
|- dbName (string)
|- schema (string)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RelationalKeyspaceProvider
instance()
static RelationalKeyspaceProvider
void
registerDomainIfNotExists
(String domainName) toDatabasePath
(URI url) toDatabasePath
(URI url, KeySpace keyspace)
-
Field Details
-
SYS
- See Also:
-
CATALOG
- See Also:
-
DB_NAME_DIR
- See Also:
-
SCHEMA_DIR
- See Also:
-
INTERNING_LAYER
- See Also:
-
INTERNING_LAYER_VALUE
- See Also:
-
-
Method Details
-
registerDomainIfNotExists
-
getKeySpace
-
toDatabasePath
public RelationalKeyspaceProvider.RelationalDatabasePath toDatabasePath(@Nonnull URI url) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-
toDatabasePath
public static RelationalKeyspaceProvider.RelationalDatabasePath toDatabasePath(@Nonnull URI url, KeySpace keyspace) throws com.apple.foundationdb.relational.api.exceptions.RelationalException - Throws:
com.apple.foundationdb.relational.api.exceptions.RelationalException
-
instance
-
newInstanceForTesting
-