Hi,
I'm trying to use Akka Stream to parallelize a sequence of
operations..and I have those types:
type OrdinalRow = Vector[String]
type NamedRow = Map[String, String]
type NormalRow= Either[OrdinalRow, NamedRow]
type RowIterator = Either[Iterator[OrdinalRow], Iterator[NamedRow]]
The RunnableFlow functions will take in NormalRow, and the iterator
provided has the type of RowIterator.
Then I wanted to start constructing a source:
protected val source: Source[NormalRow, Unit] = Source(() =>
data.dataIterator)
data.dataIterator returns a iterator with RowIterator type. However, it
says "unspecified value parameter g2"....Can anyone let me know what's
going on? Why is this happening and can it be fixed?
Sincerely,
Allen
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.