Class ConvertToDBStorageCommand
- java.lang.Object
 - 
- org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
 - 
- org.apache.bookkeeper.tools.common.BKCommand<BookieFlagsT>
 - 
- org.apache.bookkeeper.tools.cli.helpers.BookieCommand<ConvertToDBStorageCommand.CTDBFlags>
 - 
- org.apache.bookkeeper.tools.cli.commands.bookie.ConvertToDBStorageCommand
 
 
 
 
 
- 
public class ConvertToDBStorageCommand extends BookieCommand<ConvertToDBStorageCommand.CTDBFlags>
A command to convert bookie indexes from InterleavedStorage to DbLedgerStorage format. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConvertToDBStorageCommand.CTDBFlagsFlags for this command. 
- 
Field Summary
- 
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ConvertToDBStorageCommand()ConvertToDBStorageCommand(ConvertToDBStorageCommand.CTDBFlags flags) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(ServerConfiguration conf, ConvertToDBStorageCommand.CTDBFlags cmdFlags)voidsetLedgerIdFormatter(LedgerIdFormatter ledgerIdFormatter)- 
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
apply 
- 
Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, apply 
- 
Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ConvertToDBStorageCommand
public ConvertToDBStorageCommand()
 
- 
ConvertToDBStorageCommand
public ConvertToDBStorageCommand(ConvertToDBStorageCommand.CTDBFlags flags)
 
 - 
 
- 
Method Detail
- 
apply
public boolean apply(ServerConfiguration conf, ConvertToDBStorageCommand.CTDBFlags cmdFlags)
- Specified by:
 applyin classBookieCommand<ConvertToDBStorageCommand.CTDBFlags>
 
- 
setLedgerIdFormatter
public void setLedgerIdFormatter(LedgerIdFormatter ledgerIdFormatter)
 
 - 
 
 -