org
.
apache
.
spark
.
sql
.
catalyst
.
dsl
ExpressionConversions
trait
ExpressionConversions
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
expressions
Ordering
Alphabetic
By inheritance
Inherited
ExpressionConversions
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
implicit
class
DslAttribute
extends
AnyRef
implicit
class
DslExpression
extends
ImplicitOperators
implicit
class
DslString
extends
ImplicitOperators
implicit
class
DslSymbol
extends
ImplicitAttribute
abstract
class
ImplicitAttribute
extends
ImplicitOperators
implicit
class
StringToAttributeConversionHelper
extends
AnyRef
Converts $"col name" into an
analysis.UnresolvedAttribute
.
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
abs
(
e:
Expression
)
:
Expression
def
approxCountDistinct
(
e:
Expression
,
rsd:
Double
=
0.05
)
:
Expression
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
avg
(
e:
Expression
)
:
Expression
implicit
def
bigDecimalToLiteral
(
d:
BigDecimal
)
:
Literal
implicit
def
bigDecimalToLiteral
(
d:
BigDecimal
)
:
Literal
implicit
def
binaryToLiteral
(
a:
Array
[
Byte
]
)
:
Literal
implicit
def
booleanToLiteral
(
b:
Boolean
)
:
Literal
implicit
def
byteToLiteral
(
b:
Byte
)
:
Literal
def
callFunction
[
T
,
U
]
(
func: (
T
) ⇒
U
,
returnType:
DataType
,
argument:
Expression
)
:
Expression
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
count
(
e:
Expression
)
:
Expression
def
countDistinct
(
e:
Expression
*
)
:
Expression
implicit
def
dateToLiteral
(
d:
Date
)
:
Literal
implicit
def
decimalToLiteral
(
d:
Decimal
)
:
Literal
implicit
def
doubleToLiteral
(
d:
Double
)
:
Literal
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
first
(
e:
Expression
)
:
Expression
implicit
def
floatToLiteral
(
f:
Float
)
:
Literal
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
implicit
def
intToLiteral
(
i:
Int
)
:
Literal
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
last
(
e:
Expression
)
:
Expression
implicit
def
longToLiteral
(
l:
Long
)
:
Literal
def
lower
(
e:
Expression
)
:
Expression
def
max
(
e:
Expression
)
:
Expression
def
min
(
e:
Expression
)
:
Expression
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
implicit
def
shortToLiteral
(
s:
Short
)
:
Literal
def
sqrt
(
e:
Expression
)
:
Expression
def
star
(
names:
String
*
)
:
Expression
implicit
def
stringToLiteral
(
s:
String
)
:
Literal
def
sum
(
e:
Expression
)
:
Expression
def
sumDistinct
(
e:
Expression
)
:
Expression
implicit
def
symbolToUnresolvedAttribute
(
s:
Symbol
)
:
UnresolvedAttribute
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
implicit
def
timestampToLiteral
(
t:
Timestamp
)
:
Literal
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
upper
(
e:
Expression
)
:
Expression
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
windowExpr
(
windowFunc:
Expression
,
windowSpec:
WindowSpecDefinition
)
:
WindowExpression
def
windowSpec
(
partitionSpec:
Seq
[
Expression
]
,
orderSpec:
Seq
[
SortOrder
]
,
frame:
WindowFrame
)
:
WindowSpecDefinition
Inherited from
AnyRef
Inherited from
Any
Ungrouped