Class DruidChecker

  • All Implemented Interfaces:
    java.util.function.Consumer<java.util.List>

    class DruidChecker
    extends java.lang.Object
    implements java.util.function.Consumer<java.util.List>
    A consumer that checks that a particular Druid query is generated to implement a query.
    • Constructor Summary

      Constructors 
      Constructor Description
      DruidChecker​(boolean replaceSingleWithDoubleQuotes, java.lang.String... lines)  
      DruidChecker​(java.lang.String... lines)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(java.util.List list)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Field Detail

      • lines

        private final java.lang.String[] lines
      • replaceSingleWithDoubleQuotes

        private final boolean replaceSingleWithDoubleQuotes
    • Constructor Detail

      • DruidChecker

        DruidChecker​(java.lang.String... lines)
      • DruidChecker

        DruidChecker​(boolean replaceSingleWithDoubleQuotes,
                     java.lang.String... lines)
    • Method Detail

      • accept

        public void accept​(java.util.List list)
        Specified by:
        accept in interface java.util.function.Consumer<java.util.List>