Packages

o

cloudflow.blueprint

BlueprintBuilder

object BlueprintBuilder extends StreamletDescriptorBuilder

Builds Blueprints and VerifiedBlueprints for testing purposes. See BlueprintSpec for how the builder can be used.

Linear Supertypes
StreamletDescriptorBuilder, OptionValues, EitherValues, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlueprintBuilder
  2. StreamletDescriptorBuilder
  3. OptionValues
  4. EitherValues
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class BlueprintOps extends AnyRef
  2. class LeftValuable[L, R] extends AnyRef
    Definition Classes
    EitherValues
  3. class RightValuable[L, R] extends AnyRef
    Definition Classes
    EitherValues
  4. implicit class StreamletRefOps extends AnyRef

    Adds methods to StreamletRef for ease of testing.

    Adds methods to StreamletRef for ease of testing. The methods here make it possible to write: - streamletRef.in - streamletRef.out - streamletRef.in0 - streamletRef.in1 as a path to the inlet / outlet which can be used for connecting streamlets instead of manually constructing strings.

  5. class Valuable[T] extends AnyRef
    Definition Classes
    OptionValues
  6. implicit class StreamletDescriptorBuilderOps extends AnyRef

    Adds builder methods to StreamletDescriptor for ease of testing.

    Adds builder methods to StreamletDescriptor for ease of testing. (In the docs, StreamletDescriptor and streamlet are used interchangeably.) Start with a randomStreamlet() or streamlet(name) in BlueprintBuilder to create a streamlet, which can then be easily modified by using asIngress, asProcessor, ... to a shape that is required for testing.

    Definition Classes
    StreamletDescriptorBuilder

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 buildStreamletDescriptor(className: String): StreamletDescriptor

    Creates a streamlet descriptor from defaults.

    Creates a streamlet descriptor from defaults. Use the StreamletDescriptorBuilderOps to modify.

    Definition Classes
    StreamletDescriptorBuilder
  6. def buildStreamletDescriptor(className: String, runtime: StreamletRuntimeDescriptor, labels: Vector[String], description: String, inlets: Vector[InletDescriptor], outlets: Vector[OutletDescriptor], configParameters: Vector[ConfigParameterDescriptor], attributes: Vector[StreamletAttributeDescriptor], volumeMounts: Vector[VolumeMountDescriptor]): StreamletDescriptor
    Definition Classes
    StreamletDescriptorBuilder
  7. def buildStreamletDescriptor(className: String, runtime: String): StreamletDescriptor

    Creates a streamlet descriptor from defaults.

    Creates a streamlet descriptor from defaults. Use the StreamletDescriptorBuilderOps builder methods to modify.

    Definition Classes
    StreamletDescriptorBuilder
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def connectedBlueprint(streamletDescriptors: StreamletDescriptor*): Blueprint

    Creates a connected blueprint in the order that the streamlet descriptors are specified.

    Creates a connected blueprint in the order that the streamlet descriptors are specified. Defines the given streamlet descriptors to be used in the blueprint, adds / uses a randomly named reference for every provided streamlet descriptor, connects every streamlets one by one. Connections are made to all inlets of the next streamlet that match the outlet schema of the previous streamlet.

  10. implicit def convertLeftProjectionToValuable[L, R](leftProj: LeftProjection[L, R])(implicit pos: Position): LeftValuable[L, R]
    Definition Classes
    EitherValues
  11. implicit def convertOptionToValuable[T](opt: Option[T])(implicit pos: Position): Valuable[T]
    Definition Classes
    OptionValues
  12. implicit def convertRightProjectionToValuable[L, R](rightProj: RightProjection[L, R])(implicit pos: Position): RightValuable[L, R]
    Definition Classes
    EitherValues
  13. def createInletDescriptor[T](name: String, schemaName: String)(implicit arg0: ClassTag[T], arg1: SchemaFor[T]): InletDescriptor
    Definition Classes
    StreamletDescriptorBuilder
  14. def createOutletDescriptor[T](name: String, schemaName: String)(implicit arg0: ClassTag[T], arg1: SchemaFor[T]): OutletDescriptor
    Definition Classes
    StreamletDescriptorBuilder
  15. def createSchemaDescriptor[T](schemaName: String)(implicit arg0: ClassTag[T], arg1: SchemaFor[T]): SchemaDescriptor
    Definition Classes
    StreamletDescriptorBuilder
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def randomStreamlet(runtime: String): StreamletDescriptor
    Definition Classes
    StreamletDescriptorBuilder
  26. def randomStreamlet(): StreamletDescriptor

    Creates a random streamlet (descriptor) which can be further modified with the builder methods in StreamletDescriptorBuilderOps.

    Creates a random streamlet (descriptor) which can be further modified with the builder methods in StreamletDescriptorBuilderOps.

    Definition Classes
    StreamletDescriptorBuilder
  27. def streamlet(className: String): StreamletDescriptor
    Definition Classes
    StreamletDescriptorBuilder
  28. def streamlet(className: String, runtime: String): StreamletDescriptor

    Creates a streamlet (descriptor) which can be further modified with the builder methods in StreamletDescriptorBuilderOps.

    Creates a streamlet (descriptor) which can be further modified with the builder methods in StreamletDescriptorBuilderOps.

    Definition Classes
    StreamletDescriptorBuilder
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def unconnectedBlueprint(streamletDescriptors: StreamletDescriptor*): Blueprint

    Creates an unconnected blueprint.

    Creates an unconnected blueprint. Defines the given streamlets to be used in the blueprint, adds / uses a randomly named reference for every provided streamlet.

  32. def verified(blueprint: Blueprint): VerifiedBlueprint

    Forces verification of a blueprint.

    Forces verification of a blueprint. Fails with a scalatest value if the blueprint is not valid.

  33. def verifiedConnectedBlueprint(streamletDescriptors: StreamletDescriptor*): VerifiedBlueprint

    Creates a connected VerifiedBlueprint, see connectedBlueprint.

  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from OptionValues

Inherited from EitherValues

Inherited from AnyRef

Inherited from Any

Ungrouped