Class

geotrellis.engine

CompositeOperation

Related Doc: package engine

Permalink

case class CompositeOperation[+T, U](gOp: Op[U], f: (U) ⇒ Op[T]) extends Operation[T] with Product with Serializable

Given an operation and a function that takes the result of that operation and returns a new operation, return an operation of the return type of the function.

If the initial operation is g, you can think of this operation as f(g(x))

Annotations
@deprecated
Deprecated

(Since version Geotrellis Version 0.10) geotrellis-engine has been deprecated

Linear Supertypes
Operation[T], Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompositeOperation
  2. Operation
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompositeOperation(gOp: Op[U], f: (U) ⇒ Op[T])

    Permalink

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. def _run(): StepOutput[T]

    Permalink
    Definition Classes
    CompositeOperationOperation
  5. def andThen[U](f: (T) ⇒ Op[U]): Operation[U]

    Permalink
    Definition Classes
    Operation
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val debug: Boolean

    Permalink
    Definition Classes
    Operation
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. val f: (U) ⇒ Op[T]

    Permalink
  11. def filter(f: (T) ⇒ Boolean): Operation[T]

    Permalink
    Definition Classes
    Operation
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatMap[U](f: (T) ⇒ Operation[U]): Operation[U]

    Permalink

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Definition Classes
    Operation
  14. def flatten[B](implicit f: (T) ⇒ Op[B]): Operation[B]

    Permalink
    Definition Classes
    Operation
  15. def foreach[U](f: (T) ⇒ U): Unit

    Permalink

    Create an operation that applies the function f to the result of this operation, but returns nothing.

    Create an operation that applies the function f to the result of this operation, but returns nothing.

    Definition Classes
    Operation
  16. val gOp: Op[U]

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def into[U](f: (Operation[T]) ⇒ U): U

    Permalink

    Call the given function with this operation as its argument.

    Call the given function with this operation as its argument.

    This is primarily useful for code readability.

    Definition Classes
    Operation
    See also

    http://debasishg.blogspot.com/2009/09/thrush-combinator-in-scala.html

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def map[U](f: (T) ⇒ U): Operation[U]

    Permalink

    Create a new operation that returns the result of the provided function that takes this operation's result as its argument.

    Create a new operation that returns the result of the provided function that takes this operation's result as its argument.

    Definition Classes
    Operation
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. val nextSteps: Steps[T]

    Permalink
    Definition Classes
    CompositeOperationOperation
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def opId: String

    Permalink
    Definition Classes
    Operation
  26. def prettyString: String

    Permalink
    Definition Classes
    Operation
  27. def processNextSteps(args: Args): StepOutput[T]

    Permalink
    Definition Classes
    Operation
  28. def run(): StepOutput[T]

    Permalink

    Execute this operation and return the result.

    Execute this operation and return the result.

    Definition Classes
    Operation
  29. def runAsync(args: Args): StepOutput[T]

    Permalink
    Definition Classes
    Operation
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withFilter(f: (T) ⇒ Boolean): Operation[T]

    Permalink
    Definition Classes
    Operation
  35. def withName(n: String): Operation[T]

    Permalink
    Definition Classes
    Operation
  36. def withResult[U](f: (T) ⇒ Operation[U]): Operation[U]

    Permalink

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Create a new operation with a function that takes the result of this operation and returns a new operation.

    Same as flatMap.

    Definition Classes
    Operation

Inherited from Operation[T]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped