Class QueryTab

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class QueryTab extends JPanel
Panel to display information about a workload as well as to facilitate generating a query workload.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial ID.
      See Also:
    • XML_EXT

      private static final dev.roanh.util.FileSelector.FileExtension XML_EXT
      File extension for xml files.
    • executor

      private Executor executor
      Executor used to run query generation tasks.
    • info

      private JPanel info
      Panel showing information about the loaded gMark configuration.
    • queries

      private JPanel queries
      Panel showing information about the generated query workload.
    • save

      private JButton save
      Button to save the generated queries.
    • data

      private QuerySet data
      The most recently generated set of queries.
  • Constructor Details

    • QueryTab

      public QueryTab()
      Constructs a new query tab.
  • Method Details

    • saveWorkload

      private void saveWorkload()
      Saves the most recently generated workload by prompting the user for a folder to save to.
    • openWorkload

      private void openWorkload()
      Prompts the user for a gMark configuration file to open.
    • genWorkload

      private void genWorkload(Workload wl)
      Generates a set queries for the given workload.
      Parameters:
      wl - The workload to generate queries for.