Class QueryRecorderStatementBuilder

    • Field Detail

      • EXPLAIN_INSTANCE

        public static final QueryRecorderStatementBuilder EXPLAIN_INSTANCE
        An instance of a QueryRecorderStatementBuilder that builds EXPLAIN PLAN queries.
      • TRACE_INSTANCE

        public static final QueryRecorderStatementBuilder TRACE_INSTANCE
        An instance of a QueryRecorderStatementBuilder that builds TRACE queries.
    • Constructor Detail

      • QueryRecorderStatementBuilder

        protected QueryRecorderStatementBuilder​(QueryRecorder.RecordType recordType)
        Construct a QueryRecorderStatementBuilder of the specified type.
        Parameters:
        recordType - the type of query recorder to build
    • Method Detail

      • getSyntax

        public String getSyntax()
        Description copied from interface: StatementBuilder
        Return the syntax of the CohQL command.
        Returns:
        the syntax of the CohQL command
      • getDescription

        public String getDescription()
        Description copied from interface: StatementBuilder
        Return a description of the CohQL command suitable for displaying as help text.
        Returns:
        a description of the CohQL command suitable for displaying as help text