Class DBQueryRunner


  • public class DBQueryRunner
    extends java.lang.Object
    • Constructor Detail

      • DBQueryRunner

        public DBQueryRunner()
    • Method Detail

      • clearParams

        public void clearParams()
      • showParam

        public void showParam​(Parameter p,
                              java.io.PrintWriter out)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • showParams

        public void showParams​(java.io.PrintWriter out)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • addParam

        public Parameter addParam​(java.lang.String type,
                                  java.lang.String name)
      • setParam

        public Parameter setParam​(java.lang.String name,
                                  java.lang.String value)
      • runQuery

        public void runQuery​(java.io.PrintWriter out,
                             DXTickDB db,
                             SelectionOptions options,
                             java.lang.String query,
                             long startTimestamp,
                             long endTimestamp,
                             int numResults,
                             boolean printJson)
                      throws java.io.IOException
        Throws:
        java.io.IOException