Class DirectExpression

java.lang.Object
com.sun.codemodel.JExpressionImpl
org.apache.drill.exec.expr.DirectExpression
All Implemented Interfaces:
com.sun.codemodel.JExpression, com.sun.codemodel.JGenerable

public class DirectExpression extends com.sun.codemodel.JExpressionImpl
Encapsulates a Java expression, defined as anything that is valid in the following code:
(expr)
  • Method Summary

    Modifier and Type
    Method
    Description
    direct(String source)
     
    boolean
     
    void
    generate(com.sun.codemodel.JFormatter f)
     
    int
     

    Methods inherited from class com.sun.codemodel.JExpressionImpl

    _instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • generate

      public void generate(com.sun.codemodel.JFormatter f)
    • direct

      public static DirectExpression direct(String source)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object