ProductStreamBase
Base class for implementers of ProductStream
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Concrete methods
Method asMaps converts this ProductStream into a Stream of Map[String,Scalar] objects, one per row. The keys for the map are derived from the header and the values from the tuple elements.
Method asMaps converts this ProductStream into a Stream of Map[String,Scalar] objects, one per row. The keys for the map are derived from the header and the values from the tuple elements.
Attributes
- Returns
-
a Stream of Map[String,Scalar] objects
Default carper. Normally, programmers should override this with a call to a logger
Default carper. Normally, programmers should override this with a call to a logger
Value parameters
- s
-
the String to carp about
Attributes
- Definition Classes
Inherited methods
filter method
filter method
Value parameters
- p
-
predicate to be applied to each tuple
Attributes
- Returns
-
a product stream which contains all of the elements from this that satisfy the predicate
- Inherited from:
- ProductStream
flatMap method
flatMap method
Value parameters
- f
-
function to be applied to each tuple
Attributes
- Returns
-
a ProductStream of transformed tuples
- Inherited from:
- ProductStream
Value parameters
- i
-
get the ith row as a tuple
Attributes
- Returns
-
Some(tuple) if i is valid, else None
- Inherited from:
- ProductStream
map method
map method
Value parameters
- f
-
function to be applied to each tuple
Attributes
- Returns
-
a ProductStream of transformed tuples
- Inherited from:
- ProductStream
toMap method
toMap method
Value parameters
- pk
-
function to yield a primary key value from a tuple
Attributes
- Returns
-
a Map where each element is of form pk->tuple
- Inherited from:
- ProductStream
Inherited and Abstract methods
Attributes
- Returns
-
a sequence of String corresponding to the column names (left to right)
- Inherited from:
- ProductStream
Attributes
- Returns
-
a Stream of tuples
- Inherited from:
- ProductStream
Inherited fields
Attributes
- Returns
-
a materialized (non-lazy) List version of the tuples.
- Inherited from:
- ProductStream