abstract class Streamlet[Context <: StreamletContext] extends AnyRef
- Source
- Streamlet.scala
- Alphabetic
- By Inheritance
- Streamlet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Streamlet()
Abstract Value Members
-
abstract
def
createContext(config: Config): Context
Creates a
StreamletContext
for the appropriate runtimeCreates a
StreamletContext
for the appropriate runtime- Attributes
- protected
- abstract def logStartRunnerMessage(buildInfo: String): Unit
-
abstract
def
run(context: Context): StreamletExecution
Runs the streamlet.
- abstract def runtime: StreamletRuntime
- abstract def shape(): StreamletShape
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attributes: Set[StreamletAttribute]
A set of custom attributes that a streamlet can use to activate features in the Cloudflow runtime.
A set of custom attributes that a streamlet can use to activate features in the Cloudflow runtime.
- Attributes
- protected[cloudflow]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
configParameters: IndexedSeq[ConfigParameter]
Defines a set of configuration parameters that will be used in this streamlet to lookup environment-specific configuration to be provided at deployment time.
-
implicit final
def
context: Context
Returns the StreamletContext in which this streamlet is run.
Returns the StreamletContext in which this streamlet is run. It can only be accessed when the streamlet is run.
- Attributes
- protected
-
def
customAttributes: Set[StreamletAttribute]
A set of custom attributes that a streamlet can use to activate features in the Cloudflow runtime.
-
def
defineConfigParameters(): Array[ConfigParameter]
Java API
Java API
Defines configuration parameters that will be used in this streamlet to lookup environment-specific configuration to be provided at deployment time.
-
def
defineCustomAttributes(): Array[StreamletAttribute]
Java API
Java API
Defines a set of custom attributes that a streamlet can use to activate features in the Cloudflow runtime.
-
def
defineVolumeMounts(): Array[VolumeMount]
Java API Defines volume mounts that can be used by the streamlet to mount a volume in a local path.
- def description: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
getContext(): Context
Java API
Java API
Returns the StreamletContext in which this streamlet is run. It can only be accessed when the streamlet is run.
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def inlets: IndexedSeq[Inlet]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
jsonDescriptor: String
JSON-Encoded String representing the descriptor of this streamlet.
- def labels: IndexedSeq[String]
-
lazy val
log: Logger
- Attributes
- protected
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def outlets: IndexedSeq[Outlet]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
volumeMounts: IndexedSeq[VolumeMount]
Defines volume mounts that can be used by the streamlet to mount a volume in a local path.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )