t

Stream._info

trait _Trait[A] extends Stream.Flow._info[A]

Metadata Interface

Metadata is a static knowledge about data to be delivered

Metadata methods can be called many times, they do not trigger any data movements

Self Type
Stream[A]
Ordering
  1. Alphabetic
Inherited
  1. Stream._info
  2. Stream.Flow._info
  3. scala.AnyRef
  4. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Method

  1. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  2. def chainDepth: Int

    Depth of transformations

    Depth of transformations

    The original Stream to the source returns 1, each transformation adds 1 more

    ('a' <> 'z').all.let(_ > 'X').map(_.toUpper).chainDepth.lp // Prints 3

    Note. Some transformations can be optimized, so the returned depth can be lower than expected

    ('a' <> 'z').all.dropNext(3).map(_.toUpper).chainDepth.lp  // Prints 2
    
    // Note: dropNext(3) is a simple cursor movement on indexed stream without additional depth
    Definition Classes
    _Trait
  3. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  4. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  5. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  7. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  8. abstract def ilkOpt: Opt[Any.Ilk]

    Data Any.Ilk if known

    Data Any.Ilk if known

    Stream elements Any.Ilk if known for granted

    Definition Classes
    _Trait
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. final def isParallel: Boolean

    Parallel check

    Parallel check

    Returns true if this Flow is parallel

    Definition Classes
    _Trait_Trait
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  14. abstract def sizeOpt: Opt.Int

    Size if known

    Size if known

    Stream elements count if known for granted

    sizeOpt must be trusted

    For example, if sizeOpt returns 0, processing logic should not even attempt to confirm that pipeline is empty

    Definition Classes
    _Trait
  15. abstract def sortedByOpt[B]: Opt[(Ordering[B], (A) ⇒ B)]

    Data [Ordering]

    Data [Ordering]

    Data [Ordering] and transition function if elements are sorted

    Definition Classes
    _Trait
  16. abstract def sortedOpt: Opt[Ordering[A]]

    Data [Ordering]

    Data [Ordering]

    Data [Ordering] if elements are sorted

    Definition Classes
    _Trait
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toInfo: Pro.Info

    Metadata as String

    Metadata as String

    ('a' <> 'z').all.let(_ > 'X').map(_.toUpper).toInfo.lp
    
    // Output
    
    Stream.Z.extend.map.toChar$Default$4{ilk=Chars,chainDepth=3,preIterate=333}
    Definition Classes
    _Trait
  19. def toInfoTree: Pro.Info.Tree

    Metadata for all transformations

    Metadata for all transformations

    ('a' <> 'z').all.let(_ > 'X').map(_.toUpper).toInfoTree.lp
    
    // Output
    Stream.Z.extend.map.toChar$Default$4{ilk=Chars,chainDepth=3,preIterate=333}
        Stream.Z.extend.filter.apply$$anon$3{ilk=Chars,chainDepth=2,preIterate=500}
            Number.Z.Range$mcC$sp$$anon$2{ilk=Chars,size=26,indexed,chainDepth=1,preIterate=ALL}
    Definition Classes
    _Trait
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Operator

  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
Linear Supertypes
Stream.Flow._info[A], AnyRef, Any
Source: _Trait.scala