Class DumpCommand

  • Direct Known Subclasses:
    DumpIndexCommand, DumpTableCommand

    public abstract class DumpCommand
    extends Command
    An abstract base-class that holds the common implementation of the various kinds of dump commands.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static class  DumpCommand.TupleExporter
      A tuple processor implementation used to dump each tuple.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String fileName
      The path and filename to dump the table data to, if desired.
      protected java.lang.String format
      The data format to use when dumping the table data.
      • Fields inherited from class edu.caltech.nanodb.commands.Command

        out
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DumpCommand​(java.lang.String fileName, java.lang.String format)  
    • Field Detail

      • fileName

        protected java.lang.String fileName
        The path and filename to dump the table data to, if desired.
      • format

        protected java.lang.String format
        The data format to use when dumping the table data.
    • Constructor Detail

      • DumpCommand

        protected DumpCommand​(java.lang.String fileName,
                              java.lang.String format)