Package com.jcabi.dynamo
Class Region.Prefixed
java.lang.Object
com.jcabi.dynamo.Region.Prefixed
- All Implemented Interfaces:
Region
- Enclosing interface:
- Region
All tables have a prefix in front of their names.
The region has to be used in combination with another region,
for example Region.Simple:
Region region = new Region.Prefixed( new Region.Simple(creds), "foo-" );
Now, region.table("test") will return a Table
instance pointing to the Dynamo DB table named "foo-test". Could
be a convenient mechanism when you have many tables for different
projects in the same region.
- Since:
- 0.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.dynamo.Region
Region.Prefixed, Region.Simple -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Prefixed
Public ctor.- Parameters:
region- Original regionpfx- Prefix to add to all tables
-
-
Method Details