object CsvToMap
- Source
- CsvToMap.scala
- Alphabetic
- By Inheritance
- CsvToMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toMap(charset: Charset = StandardCharsets.UTF_8): Flow[List[ByteString], Map[String, ByteString], NotUsed]
A flow translating incoming scala.List of akka.util.ByteString to a map of String and ByteString using the stream's first element's values as keys.
A flow translating incoming scala.List of akka.util.ByteString to a map of String and ByteString using the stream's first element's values as keys.
- charset
the charset to decode akka.util.ByteString to scala.Predef.String, defaults to UTF-8
-
def
toMapAsStrings(charset: Charset = StandardCharsets.UTF_8): Flow[List[ByteString], Map[String, String], NotUsed]
A flow translating incoming scala.List of akka.util.ByteString to a map of String keys and values using the stream's first element's values as keys.
A flow translating incoming scala.List of akka.util.ByteString to a map of String keys and values using the stream's first element's values as keys.
- charset
the charset to decode akka.util.ByteString to scala.Predef.String, defaults to UTF-8
-
def
toMapAsStringsCombineAll(charset: Charset = StandardCharsets.UTF_8, customFieldValuePlaceholder: Option[String] = None, headerPlaceholder: Option[String] = None): Flow[List[ByteString], Map[String, String], NotUsed]
A flow translating incoming scala.List of akka.util.ByteString to a map of String keys and values using the stream's first element's values as keys.
A flow translating incoming scala.List of akka.util.ByteString to a map of String keys and values using the stream's first element's values as keys. If the header values are shorter than the data (or vice-versa) placeholder elements are used to extend the shorter collection to the length of the longer.
- charset
the charset to decode akka.util.ByteString to scala.Predef.String, defaults to UTF-8
- customFieldValuePlaceholder
placeholder used when there is more data than headers.
- headerPlaceholder
placeholder used when there are more headers than data.
-
def
toMapCombineAll(charset: Charset = StandardCharsets.UTF_8, customFieldValuePlaceholder: Option[ByteString] = None, headerPlaceholder: Option[String] = None): Flow[List[ByteString], Map[String, ByteString], NotUsed]
A flow translating incoming scala.List of akka.util.ByteString to a map of String and ByteString using the stream's first element's values as keys.
A flow translating incoming scala.List of akka.util.ByteString to a map of String and ByteString using the stream's first element's values as keys. If the header values are shorter than the data (or vice-versa) placeholder elements are used to extend the shorter collection to the length of the longer.
- charset
the charset to decode akka.util.ByteString to scala.Predef.String, defaults to UTF-8
- customFieldValuePlaceholder
placeholder used when there is more data than headers.
- headerPlaceholder
placeholder used when there are more headers than data.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withHeaders(headers: String*): Flow[List[ByteString], Map[String, ByteString], NotUsed]
A flow translating incoming scala.List of akka.util.ByteString to a map of String and ByteString using the given headers as keys.
A flow translating incoming scala.List of akka.util.ByteString to a map of String and ByteString using the given headers as keys.
- headers
column names to be used as map keys
-
def
withHeadersAsStrings(charset: Charset, headers: String*): Flow[List[ByteString], Map[String, String], NotUsed]
A flow translating incoming scala.List of akka.util.ByteString to a map of String keys and values using the given headers as keys.
A flow translating incoming scala.List of akka.util.ByteString to a map of String keys and values using the given headers as keys.
- charset
the charset to decode akka.util.ByteString to scala.Predef.String
- headers
column names to be used as map keys