Class ShowTableStatsCommand


  • public class ShowTableStatsCommand
    extends Command
    Implements the "SHOW TABLE t STATS" command.
    • Nested Class Summary

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String tableName
      The name of the table whose statistics to print out.
      • Fields inherited from class edu.caltech.nanodb.commands.Command

        out
    • Constructor Summary

      Constructors 
      Constructor Description
      ShowTableStatsCommand​(java.lang.String tableName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(NanoDBServer server)
      Actually performs the command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • tableName

        private java.lang.String tableName
        The name of the table whose statistics to print out.
    • Constructor Detail

      • ShowTableStatsCommand

        public ShowTableStatsCommand​(java.lang.String tableName)