Class DumpTableCommand

    • Field Detail

      • tableName

        private java.lang.String tableName
        The name of the table to dump.
    • Constructor Detail

      • DumpTableCommand

        public DumpTableCommand​(java.lang.String tableName,
                                java.lang.String fileName,
                                java.lang.String format)
        Constructs a new dump-table command.
        Parameters:
        tableName - the name of the table to dump
        fileName - the path and file to dump the data to. The console will be used if this is @code{null}.
        format - the format to dump the data in
        Throws:
        java.lang.IllegalArgumentException - if tableName is null.
    • Method Detail

      • getTableName

        public java.lang.String getTableName()
        Get the name of the table to be dumped.
        Returns:
        the name of the table to dump
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object