case class StaticField(staticObject: Class[_], dataType: DataType, fieldName: String) extends Expression with NonSQLExpression with Product with Serializable

Invokes a static function, returning the result. By default, any of the arguments being null will result in returning null instead of calling the function.

staticObject

The target of the static call. This can either be the object itself (methods defined on scala objects), or the class object (static methods defined in java).

dataType

The expected type of the static field

fieldName

The name of the field to retrieve

Linear Supertypes
Serializable, Serializable, NonSQLExpression, Expression, TreeNode[Expression], WithOrigin, TreePatternBits, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StaticField
  2. Serializable
  3. Serializable
  4. NonSQLExpression
  5. Expression
  6. TreeNode
  7. WithOrigin
  8. TreePatternBits
  9. Product
  10. Equals
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StaticField(staticObject: Class[_], dataType: DataType, fieldName: String)

    staticObject

    The target of the static call. This can either be the object itself (methods defined on scala objects), or the class object (static methods defined in java).

    dataType

    The expected type of the static field

    fieldName

    The name of the field to retrieve

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  5. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  6. def asCode: String
    Definition Classes
    TreeNode
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. lazy val canonicalized: Expression
    Definition Classes
    Expression
  9. def checkInputDataTypes(): TypeCheckResult
    Definition Classes
    Expression
  10. def children: Seq[Expression]
    Definition Classes
    StaticField → TreeNode
  11. def childrenResolved: Boolean
    Definition Classes
    Expression
  12. def clone(): Expression
    Definition Classes
    TreeNode → AnyRef
  13. def collect[B](pf: PartialFunction[Expression, B]): Seq[B]
    Definition Classes
    TreeNode
  14. def collectFirst[B](pf: PartialFunction[Expression, B]): Option[B]
    Definition Classes
    TreeNode
  15. def collectLeaves(): Seq[Expression]
    Definition Classes
    TreeNode
  16. final def containsAllPatterns(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  17. final def containsAnyPattern(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  18. lazy val containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  19. final def containsPattern(t: TreePattern): Boolean
    Definition Classes
    TreePatternBits
    Annotations
    @inline()
  20. def copyTagsFrom(other: Expression): Unit
    Definition Classes
    TreeNode
  21. val dataType: DataType
    Definition Classes
    StaticField → Expression
  22. lazy val deterministic: Boolean
    Definition Classes
    Expression
  23. def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode
    Definition Classes
    StaticField → Expression
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def eval(input: InternalRow): Any
    Definition Classes
    StaticField → Expression
  26. def exists(f: (Expression) ⇒ Boolean): Boolean
    Definition Classes
    TreeNode
  27. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  28. val fieldName: String
  29. def find(f: (Expression) ⇒ Boolean): Option[Expression]
    Definition Classes
    TreeNode
  30. def flatArguments: Iterator[Any]
    Attributes
    protected
    Definition Classes
    Expression
  31. def flatMap[A](f: (Expression) ⇒ TraversableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  32. def foldable: Boolean
    Definition Classes
    Expression
  33. def foreach(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  34. def foreachUp(f: (Expression) ⇒ Unit): Unit
    Definition Classes
    TreeNode
  35. def freshCopyIfContainsStatefulExpression(): Expression
    Definition Classes
    Expression
  36. def genCode(ctx: CodegenContext): ExprCode
    Definition Classes
    Expression
  37. def generateTreeString(depth: Int, lastChildren: ArrayList[Boolean], append: (String) ⇒ Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean, indent: Int): Unit
    Definition Classes
    TreeNode
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  39. def getDefaultTreePatternBits: BitSet
    Attributes
    protected
    Definition Classes
    TreeNode
  40. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  41. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  42. def innerChildren: Seq[TreeNode[_]]
    Definition Classes
    TreeNode
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def isRuleIneffective(ruleId: RuleId): Boolean
    Attributes
    protected
    Definition Classes
    TreeNode
  45. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  46. final def legacyWithNewChildren(newChildren: Seq[Expression]): Expression
    Attributes
    protected
    Definition Classes
    TreeNode
  47. def makeCopy(newArgs: Array[AnyRef]): Expression
    Definition Classes
    TreeNode
  48. def map[A](f: (Expression) ⇒ A): Seq[A]
    Definition Classes
    TreeNode
  49. def mapChildren(f: (Expression) ⇒ Expression): Expression
    Definition Classes
    TreeNode
  50. def mapProductIterator[B](f: (Any) ⇒ B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  51. def markRuleAsIneffective(ruleId: RuleId): Unit
    Attributes
    protected
    Definition Classes
    TreeNode
  52. def multiTransformDown(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  53. def multiTransformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Seq[Expression]]): Stream[Expression]
    Definition Classes
    TreeNode
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. def nodeName: String
    Definition Classes
    TreeNode
  56. val nodePatterns: Seq[TreePattern]
    Attributes
    protected
    Definition Classes
    TreeNode
  57. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  58. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  59. def nullable: Boolean
    Definition Classes
    StaticField → Expression
  60. def numberedTreeString: String
    Definition Classes
    TreeNode
  61. val objectName: String
  62. val origin: Origin
    Definition Classes
    TreeNode → WithOrigin
  63. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  64. def p(number: Int): Expression
    Definition Classes
    TreeNode
  65. def prettyJson: String
    Definition Classes
    TreeNode
  66. def prettyName: String
    Definition Classes
    Expression
  67. def references: AttributeSet
    Definition Classes
    Expression
  68. lazy val resolved: Boolean
    Definition Classes
    Expression
  69. final def semanticEquals(other: Expression): Boolean
    Definition Classes
    Expression
  70. def semanticHash(): Int
    Definition Classes
    Expression
  71. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  72. def simpleString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  73. def simpleStringWithNodeId(): String
    Definition Classes
    Expression → TreeNode
  74. final def sql: String
    Definition Classes
    NonSQLExpression → Expression
  75. def stateful: Boolean
    Definition Classes
    Expression
  76. val staticObject: Class[_]
  77. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  78. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  79. def toJSON: String
    Definition Classes
    TreeNode
  80. def toString(): String
    Definition Classes
    Expression → TreeNode → AnyRef → Any
  81. def transform(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  82. def transformDown(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  83. def transformDownWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  84. def transformUp(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  85. def transformUpWithBeforeAndAfterRuleOnChildren(cond: (Expression) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[(Expression, Expression), Expression]): Expression
    Definition Classes
    TreeNode
  86. def transformUpWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  87. def transformWithPruning(cond: (TreePatternBits) ⇒ Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): Expression
    Definition Classes
    TreeNode
  88. lazy val treePatternBits: BitSet
    Definition Classes
    TreeNode → TreePatternBits
  89. def treeString(append: (String) ⇒ Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): Unit
    Definition Classes
    TreeNode
  90. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean): String
    Definition Classes
    TreeNode
  91. final def treeString: String
    Definition Classes
    TreeNode
  92. def typeSuffix: String
    Attributes
    protected
    Definition Classes
    Expression
  93. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  94. final def verboseString(maxFields: Int): String
    Definition Classes
    Expression → TreeNode
  95. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    TreeNode
  96. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  98. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def withCanonicalizedChildren: Expression
    Attributes
    protected
    Definition Classes
    Expression
  100. final def withNewChildren(newChildren: Seq[Expression]): Expression
    Definition Classes
    TreeNode
  101. def withNewChildrenInternal(newChildren: IndexedSeq[Expression]): Expression
    Attributes
    protected
    Definition Classes
    StaticField → TreeNode

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from NonSQLExpression

Inherited from Expression

Inherited from TreeNode[Expression]

Inherited from WithOrigin

Inherited from TreePatternBits

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped