com.phasmidsoftware.lascala.parser.ProductStream
See theProductStream companion object
ProductStream is a monadic trait which provides a Stream of Tuples (tuples) and a Header (header). Thus it is well-suited for use as an ingest mechanism of CSV files.
The polymorphic type X is a Tuple of some count. Please note that type inference is not able to infer this type from reading the file (which doesn't happen until runtime). Therefore, the caller must supply the type of X. Please see ProductStreamSpec for exemplars.
Please see inline method documentation for details of other methods.
Type parameters
- X
-
the underlying type of this product stream: must be a sub-type of Product, that's to say, a Tuple or something similar
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ProductStreamBase[X]class ConcreteProductStream[X]class TupleStreamBase[X]class CSV[X]class TupleStream[X]
Members list
In this article