Interface Literal

All Superinterfaces:
Expression
All Known Subinterfaces:
LiteralFilter
All Known Implementing Classes:
LiteralBase

public interface Literal extends Expression
Represents a literal value.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    of(boolean value)
    Creates a literal / filter boolean from value.
    static Literal
    of(byte value)
    Creates a literal byte from value.
    static Literal
    of(char value)
    Creates a literal char from value.
    static Literal
    of(double value)
    Creates a literal double from value.
    static Literal
    of(float value)
    Creates a literal float from value.
    static Literal
    of(int value)
    Creates a literal int from value.
    static Literal
    of(long value)
    Creates a literal long from value.
    static Literal
    of(short value)
    Creates a literal short from value.
    static Literal
    of(String value)
    Creates a literal String from value.
    <T> T
    walk(Literal.Visitor<T> visitor)
     

    Methods inherited from interface io.deephaven.api.expression.Expression

    walk
  • Method Details

    • of

      static LiteralFilter of(boolean value)
      Creates a literal / filter boolean from value.
      Parameters:
      value - the value
      Returns:
      the literal / filter
    • of

      static Literal of(char value)
      Creates a literal char from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • of

      static Literal of(byte value)
      Creates a literal byte from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • of

      static Literal of(short value)
      Creates a literal short from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • of

      static Literal of(int value)
      Creates a literal int from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • of

      static Literal of(long value)
      Creates a literal long from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • of

      static Literal of(float value)
      Creates a literal float from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • of

      static Literal of(double value)
      Creates a literal double from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • of

      static Literal of(String value)
      Creates a literal String from value.
      Parameters:
      value - the value
      Returns:
      the literal
    • walk

      <T> T walk(Literal.Visitor<T> visitor)