| java.lang.Object henplus.AbstractCommand henplus.commands.DumpCommand
DumpCommand | public class DumpCommand extends AbstractCommand implements Interruptable(Code) | | Dump out and read that dump of a table; database-independently.
This reads directly from the stream, so only needs not much
memory, no matter the size of the file.
---------------------------
(tabledump 'student'
(dump-version 1 1)
(henplus-version 0.3.3)
(database-info 'MySQL - 3.23.47')
(meta ('name', 'sex', 'student_id')
('STRING', 'STRING', 'INTEGER' ))
(data ('Megan','F',1)
('Joseph','M',2)
('Kyle','M',3)
('Mac Donald\'s','M',44))
(rows 4))
---------------------------
QUICK AND DIRTY HACK .. NOT YET NICE. Too long. grown. Refactor..!
(create an henplus.dump package so that this can be used
author: Henner Zeller |
problemCount | long problemCount(Code) | | |
getCommandList | public String[] getCommandList()(Code) | | returns the command-strings this command can handle.
|
getShortDescription | public String getShortDescription()(Code) | | return a descriptive string.
|
interrupt | public synchronized void interrupt()(Code) | | |
isComplete | public boolean isComplete(String command)(Code) | | dump-in and verify-dump is complete as single-liner.
dump-out and dump-conditional needs a semicolon.
|
requiresValidSession | public boolean requiresValidSession(String cmd)(Code) | | verify works without session.
|
|
|