spark
.
api
.
java
.
function
FlatMapFunction
abstract
class
FlatMapFunction
[
T
,
R
]
extends
Function
[T,
Iterable
[R]]
A function that returns zero or more output records from each input record.
Linear Supertypes
Function
[T,
Iterable
[R]],
Serializable
,
WrappedFunction1
[T,
Iterable
[R]],
AbstractFunction1
[T,
Iterable
[R]], (T) ⇒
Iterable
[R], AnyRef,
Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
FlatMapFunction
Function
Serializable
WrappedFunction1
AbstractFunction1
Function1
AnyRef
Any
Visibility
Public
All
Instance Constructors
new
FlatMapFunction
()
Abstract Value Members
abstract
def
call
(
x: T
)
:
Iterable
[R]
Definition Classes
FlatMapFunction
→
Function
→ WrappedFunction1
Annotations
@throws
(
classOf[Exception]
)
Concrete 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
andThen
[
A
]
(
g: (
Iterable
[R]) ⇒ A
)
: (T) ⇒ A
Definition Classes
Function1
final
def
apply
(
t: T
)
:
Iterable
[R]
Definition Classes
WrappedFunction1 → Function1
final
def
asInstanceOf
[
T0
]
: T0
Definition Classes
Any
def
clone
()
: AnyRef
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
def
compose
[
A
]
(
g: (A) ⇒ T
)
: (A) ⇒
Iterable
[R]
Definition Classes
Function1
def
elementType
()
: ClassManifest[R]
final
def
eq
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
final
def
getClass
()
: java.lang.Class[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
returnType
()
:
ClassManifest
[
Iterable
[R]]
Definition Classes
Function
final
def
synchronized
[
T0
]
(
arg0: ⇒ T0
)
: T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Function1 → AnyRef → Any
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
()
Inherited from
Function
[T,
Iterable
[R]]
Inherited from
Serializable
Inherited from
WrappedFunction1
[T,
Iterable
[R]]
Inherited from
AbstractFunction1
[T,
Iterable
[R]]
Inherited from (T) ⇒
Iterable
[R]
Inherited from AnyRef
Inherited from
Any
A function that returns zero or more output records from each input record.