Class BooleanLiteral

    • Constructor Detail

      • BooleanLiteral

        public BooleanLiteral​(boolean value)
        Create from boolean
        Parameters:
        value - bool
    • Method Detail

      • of

        public static BooleanLiteral of​(boolean value)
        Create from boolean
        Parameters:
        value - bool
        Returns:
        BooleanLiteral
      • getValue

        public Boolean getValue()
        Description copied from interface: Literal
        Current value of the literal
        Specified by:
        getValue in interface Literal<Boolean>
        Returns:
        the value
      • toString

        public String toString()
        Description copied from interface: Node
        Convert the current Node to an influxql String that the parser must be able to read.
        Specified by:
        toString in interface Node
        Overrides:
        toString in class Object
        Returns:
        an InfluxQL string