Skip to content

Commit

Permalink
add java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-fan committed May 8, 2015
1 parent ab35ab5 commit 3f880c3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@ case class ResolvedStar(expressions: Seq[NamedExpression]) extends Star {
override def toString: String = expressions.mkString("ResolvedStar(", ", ", ")")
}

/**
* Get field of an expression
*
* @param child The expression to get field of, can be Map, Array, Struct or array of Struct.
* @param fieldExpr The expression to describe the field,
* can be key of Map, index of Array, field name of Struct.
*/
case class UnresolvedGetField(child: Expression, fieldExpr: Expression) extends UnaryExpression {
override def dataType: DataType = throw new UnresolvedException(this, "dataType")
override def foldable: Boolean = throw new UnresolvedException(this, "foldable")
Expand Down

0 comments on commit 3f880c3

Please sign in to comment.