object ZPipeline extends ZPipelineCompanionVersionSpecific with ZPipelinePlatformSpecificConstructors

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZPipeline
  2. ZPipelinePlatformSpecificConstructors
  3. ZPipelineCompanionVersionSpecific
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type WithOut[+LowerEnv, -UpperEnv, +LowerErr, -UpperErr, +LowerElem, -UpperElem, OutEnv0[Env], OutErr0[Err], Out0[Elem]] = ZPipeline[LowerEnv, UpperEnv, LowerErr, UpperErr, LowerElem, UpperElem] { ... /* 3 definitions in type refinement */ }
  2. implicit final class ZPipelineSyntax[LowerEnv, UpperEnv, LowerErr, UpperErr, LowerElem, UpperElem, OutEnv[Env], OutErr[Err], OutElem[Elem]] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def branchAfter[LowerEnv, UpperEnv, LowerErr, UpperErr, LowerElem, UpperElem, OutElem[Elem]](n: Int)(f: (Chunk[UpperElem]) => WithOut[LowerEnv, UpperEnv, LowerErr, UpperErr, LowerElem, UpperElem, [Env]Env, [Err]Err, [Elem]Elem]): WithOut[LowerEnv, UpperEnv, LowerErr, UpperErr, LowerElem, UpperElem, [Env]Env, [Err]Err, [Elem]Elem]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def collect[In, Out](f: PartialFunction[In, Out]): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Out]

    Creates a pipeline that collects elements with the specified partial function.

    Creates a pipeline that collects elements with the specified partial function.

    ZPipeline.collect[Option[Int], Int] { case Some(v) => v }
  8. def dropUntil[In](f: (In) => Boolean): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Elem]

    Creates a pipeline that drops elements until the specified predicate evaluates to true.

    Creates a pipeline that drops elements until the specified predicate evaluates to true.

    ZPipeline.dropUntil[Int](_ > 100)
  9. def dropWhile[In](f: (In) => Boolean): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Elem]

    Creates a pipeline that drops elements while the specified predicate evaluates to true.

    Creates a pipeline that drops elements while the specified predicate evaluates to true.

    ZPipeline.dropWhile[Int](_ <= 100)
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def filter[In](f: (In) => Boolean): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Elem]

    Creates a pipeline that filters elements according to the specified predicate.

  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def fromChannel[InEnv, OutEnv0, InErr, OutErr0, In, Out](channel: ZChannel[OutEnv0, InErr, Chunk[In], Any, OutErr0, Chunk[Out], Any]): WithOut[OutEnv0, InEnv, InErr, InErr, In, In, [Env]OutEnv0, [Err]OutErr0, [Elem]Out]

    Creates a pipeline that sends all the elements through the given channel

  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def groupAdjacentBy[In, Key](f: (In) => Key): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem](Key, NonEmptyChunk[Elem])]

    Creates a pipeline that groups on adjacent keys, calculated by the specified keying function.

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val identity: WithOut[Nothing, Any, Nothing, Any, Nothing, Any, [Env]Env, [Err]Err, [Elem]Elem]

    The identity pipeline, which does not modify streams in any way.

  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def iso_8859_1Decode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  21. def iso_8859_1Encode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  22. def map[In, Out](f: (In) => Out): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Out]

    Creates a pipeline that maps elements with the specified function.

  23. def mapChunks[In, Out](f: (Chunk[In]) => Chunk[Out]): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Out]

    Creates a pipeline that maps chunks of elements with the specified function.

  24. def mapError[InError, OutError](f: (InError) => OutError): WithOut[Nothing, Any, Nothing, InError, Nothing, Any, [Env]Env, [Err]OutError, [Elem]Elem]

    Creates a pipeline that maps elements with the specified function.

  25. def mapZIO[R1, E1, In, Out](f: (In) => ZIO[R1, E1, Out]): WithOut[R1, Any, Nothing, E1, Nothing, In, [Env]R1, [Err]E1, [Elem]Out]

    Creates a pipeline that maps elements with the specified effect.

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def prepend[In](values: Chunk[In]): WithOut[Nothing, Any, Nothing, Any, In, Any, [Env]Env, [Err]Err, [Elem]Elem]

    Emits the provided chunk before emitting any other value.

  30. def provideEnvironment[Env](env: ZEnvironment[Env]): WithOut[Env, Any, Nothing, Any, Nothing, Any, [Env]Any, [Err]Err, [Elem]Elem]

    Creates a pipeline that provides the specified environment.

  31. def rechunk(n: Int): WithOut[Nothing, Any, Nothing, Any, Nothing, Any, [Env]Env, [Err]Err, [Elem]Elem]

    A pipeline that rechunks the stream into chunks of the specified size.

  32. def scan[In, Out](s: Out)(f: (Out, In) => Out): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Out]

    Creates a pipeline that scans elements with the specified function.

  33. def scanZIO[Env, Err, In, Out](s: Out)(f: (Out, In) => ZIO[Env, Err, Out]): WithOut[Nothing, Env, Err, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Out]

    Creates a pipeline that scans elements with the specified function.

  34. def splitLines: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]String]

    Splits strings on newlines.

    Splits strings on newlines. Handles both Windows newlines (\r\n) and UNIX newlines (\n).

  35. def splitOn(delimiter: String): WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]String]

    Splits strings on a delimiter.

  36. def splitOnChunk[A](delimiter: Chunk[A]): WithOut[Nothing, Any, Nothing, Any, Nothing, A, [Env]Env, [Err]Err, [Elem]A]

    Splits strings on a delimiter.

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def take(n: Long): WithOut[Nothing, Any, Nothing, Any, Nothing, Any, [Env]Env, [Err]Err, [Elem]Elem]

    Creates a pipeline that takes n elements.

  39. def takeUntil[In](f: (In) => Boolean): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Elem]

    Creates a pipeline that takes elements until the specified predicate evaluates to true.

  40. def takeWhile[In](f: (In) => Boolean): WithOut[Nothing, Any, Nothing, Any, Nothing, In, [Env]Env, [Err]Err, [Elem]Elem]

    Creates a pipeline that takes elements while the specified predicate evaluates to true.

  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def usASCIIDecode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  43. def usASCIIEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  44. def utf16BEDecode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  45. def utf16BEEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  46. def utf16BEWithBomEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  47. def utf16Decode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  48. def utf16Encode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  49. def utf16LEDecode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  50. def utf16LEEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  51. def utf16LEWithBomEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  52. def utf16WithBomEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  53. def utf32BEDecode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  54. def utf32BEEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  55. def utf32BEWithBomEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  56. def utf32Decode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  57. def utf32Encode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  58. def utf32LEDecode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  59. def utf32LEEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  60. def utf32LEWithBomEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  61. def utf32WithBomEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  62. def utf8Decode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]
  63. def utf8Encode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]

    utf*Encode pipelines adhere to the same behavior of Java's String#getBytes(charset), that is:

    utf*Encode pipelines adhere to the same behavior of Java's String#getBytes(charset), that is:

    • utf8: No BOM
    • utf16: Has BOM (the outlier)
    • utf16BE & utf16LE: No BOM
    • All utf32 variants: No BOM

    If BOM is required, users can use the *WithBomEncode variants. (As alluded above, utf16Encode always prepends BOM, just like getBytes("UTF-16") in Java. In fact, it is an alias to both utf16BEWithBomEncode and utf16WithBomEncode.

  64. def utf8WithBomEncode: WithOut[Nothing, Any, Nothing, Any, Nothing, String, [Env]Env, [Err]Err, [Elem]Byte]
  65. def utfDecode: WithOut[Nothing, Any, Nothing, Any, Nothing, Byte, [Env]Env, [Err]Err, [Elem]String]

    utfDecode determines the right encoder to use based on the Byte Order Mark (BOM).

    utfDecode determines the right encoder to use based on the Byte Order Mark (BOM). If it doesn't detect one, it defaults to utf8Decode. In the case of utf16 and utf32 without BOM, utf16Decode and utf32Decode should be used instead as both default to their own default decoder respectively.

  66. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  67. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped