Object/Trait

com.twitter.scalding.typed

TypedPipe

Related Docs: trait TypedPipe | package typed

Permalink

object TypedPipe extends Serializable

factory methods for TypedPipe, which is the typed representation of distributed lists in scalding. This object is here rather than in the typed package because a lot of code was written using the functions in the object, which we do not see how to hide with package object tricks.

Source
TypedPipe.scala
Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedPipe
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def empty: TypedPipe[Nothing]

    Permalink

    Create an empty TypedPipe.

    Create an empty TypedPipe. This is sometimes useful when a method must return a TypedPipe, but sometimes at runtime we can check a condition and see that it should be empty. This is the zero of the Monoid[TypedPipe]

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def from[T](iter: Iterable[T]): TypedPipe[T]

    Permalink

    Create a TypedPipe from an Iterable in memory.

  11. def from[T](source: TypedSource[T]): TypedPipe[T]

    Permalink

    Create a TypedPipe from a TypedSource.

    Create a TypedPipe from a TypedSource. This is the preferred way to make a TypedPipe

  12. def from[T](pipe: Pipe, fields: Fields)(implicit flowDef: FlowDef, mode: Mode, conv: TupleConverter[T]): TypedPipe[T]

    Permalink

    Create a TypedPipe from a cascading Pipe, some Fields and the type T Avoid this if you can.

    Create a TypedPipe from a cascading Pipe, some Fields and the type T Avoid this if you can. Prefer from(TypedSource).

  13. def fromSingleField[T](pipe: Pipe)(implicit fd: FlowDef, mode: Mode): TypedPipe[T]

    Permalink

    Input must be a Pipe with exactly one Field Avoid this method and prefer from(TypedSource) if possible

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. implicit def toHashJoinable[K, V](pipe: TypedPipe[(K, V)])(implicit ord: Ordering[K]): HashJoinable[K, V]

    Permalink

    This enables pipe.hashJoin(that) or pipe.join(that) syntax This is a safe enrichment because hashJoinable and CoGroupable are only used in the argument position or to give cogroup, join, leftJoin, rightJoin, outerJoin methods.

    This enables pipe.hashJoin(that) or pipe.join(that) syntax This is a safe enrichment because hashJoinable and CoGroupable are only used in the argument position or to give cogroup, join, leftJoin, rightJoin, outerJoin methods. Since those methods are unlikely to be used on TypedPipe in the future, this enrichment seems safe.

    This method is the Vitaly-was-right method.

  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. implicit def typedPipeMonoid[T]: Monoid[TypedPipe[T]]

    Permalink

    TypedPipe instances are monoids.

    TypedPipe instances are monoids. They are isomorphic to multisets.

  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped