Class

geotrellis.engine.logic

WithResult

Related Doc: package logic

Permalink

case class WithResult[A, Z](a: Op[A])(call: (A) ⇒ Op[Z]) extends Op[Z] with Product with Serializable

Run a function on the result of an operation

Functionally speaking, this represents the bind operation on the Operation monad

Annotations
@deprecated
Deprecated

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

Linear Supertypes
Operation[Z], Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithResult
  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 WithResult(a: Op[A])(call: (A) ⇒ Op[Z])

    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[Z]

    Permalink
    Definition Classes
    WithResultOperation
  5. val a: Op[A]

    Permalink
  6. def andThen[U](f: (Z) ⇒ Op[U]): Operation[U]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  11. def filter(f: (Z) ⇒ Boolean): Operation[Z]

    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: (Z) ⇒ 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: (Z) ⇒ Op[B]): Operation[B]

    Permalink
    Definition Classes
    Operation
  15. def foreach[U](f: (Z) ⇒ 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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def into[U](f: (Operation[Z]) ⇒ 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

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def map[U](f: (Z) ⇒ 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
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. val nextSteps: Steps[Z]

    Permalink
    Definition Classes
    WithResultOperation
  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. def opId: String

    Permalink
    Definition Classes
    Operation
  25. def prettyString: String

    Permalink
    Definition Classes
    Operation
  26. def processNextSteps(args: Args): StepOutput[Z]

    Permalink
    Definition Classes
    Operation
  27. def run(): StepOutput[Z]

    Permalink

    Execute this operation and return the result.

    Execute this operation and return the result.

    Definition Classes
    Operation
  28. def runAsync(args: Args): StepOutput[Z]

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

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

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

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

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

    Permalink
    Definition Classes
    Operation
  34. def withName(n: String): Operation[Z]

    Permalink
    Definition Classes
    Operation
  35. def withResult[U](f: (Z) ⇒ 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[Z]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped