Class RDBOptions
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.rdb.RDBOptions
-
public class RDBOptions extends Object
Options applicable to RDB persistence
-
-
Constructor Summary
Constructors Constructor Description RDBOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RDBOptions
dropTablesOnClose(boolean dropTablesOnClose)
Whether to drop the tables on close (in case they have been auto-created)int
getInitialSchema()
@NotNull String
getTablePrefix()
int
getUpgradeToSchema()
RDBOptions
initialSchema(int initialSchema)
Control over initial DB schemaboolean
isDropTablesOnClose()
RDBOptions
tablePrefix(@NotNull String tablePrefix)
Prefix for table names.RDBOptions
upgradeToSchema(int upgradeToSchema)
Control over DB schema to upgrade to
-
-
-
Method Detail
-
dropTablesOnClose
public RDBOptions dropTablesOnClose(boolean dropTablesOnClose)
Whether to drop the tables on close (in case they have been auto-created)
-
isDropTablesOnClose
public boolean isDropTablesOnClose()
-
tablePrefix
public RDBOptions tablePrefix(@NotNull @NotNull String tablePrefix)
Prefix for table names.
-
getTablePrefix
@NotNull public @NotNull String getTablePrefix()
-
initialSchema
public RDBOptions initialSchema(int initialSchema)
Control over initial DB schema
-
getInitialSchema
public int getInitialSchema()
-
upgradeToSchema
public RDBOptions upgradeToSchema(int upgradeToSchema)
Control over DB schema to upgrade to
-
getUpgradeToSchema
public int getUpgradeToSchema()
-
-