Class BabelQuidemTest.ExplainValidatedCommand

  • All Implemented Interfaces:
    net.hydromatic.quidem.Command
    Enclosing class:
    BabelQuidemTest

    static class BabelQuidemTest.ExplainValidatedCommand
    extends net.hydromatic.quidem.AbstractCommand
    Command that prints the validated parse tree of a SQL statement.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.hydromatic.quidem.Command

        net.hydromatic.quidem.Command.Context, net.hydromatic.quidem.Command.ResultChecker
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.google.common.collect.ImmutableList<java.lang.String> content  
      private com.google.common.collect.ImmutableList<java.lang.String> lines  
      private java.util.Set<java.lang.String> productSet  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExplainValidatedCommand​(java.util.List<java.lang.String> lines, java.util.List<java.lang.String> content, java.util.Set<java.lang.String> productSet)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(net.hydromatic.quidem.Command.Context x, boolean execute)  
      • Methods inherited from class net.hydromatic.quidem.AbstractCommand

        commandName, describe
      • Methods inherited from class java.lang.Object

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

      • lines

        private final com.google.common.collect.ImmutableList<java.lang.String> lines
      • content

        private final com.google.common.collect.ImmutableList<java.lang.String> content
      • productSet

        private final java.util.Set<java.lang.String> productSet
    • Constructor Detail

      • ExplainValidatedCommand

        ExplainValidatedCommand​(java.util.List<java.lang.String> lines,
                                java.util.List<java.lang.String> content,
                                java.util.Set<java.lang.String> productSet)
    • Method Detail

      • execute

        public void execute​(net.hydromatic.quidem.Command.Context x,
                            boolean execute)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception