Streamlet
Definition of a Streamlet. A computing element for processing data from Inlets to Outlets. A processor's processing is specified by free text statements in Handlers. Streamlets come in various shapes: Source, Sink, Flow, Merge, Split, and Router depending on how many inlets and outlets they have
Value parameters
- brief
-
A brief description (one sentence) for use in documentation
- description
-
An optional description of the processor
- handlers
-
Definitions of how the processor handles each event type
- id
-
The name of the processor
- inlets
-
The list of inlets that provide the data the processor needs
- loc
-
The location of the Processor definition
- outlets
-
The list of outlets that the processor produces
- shape
-
The shape of the processor's inputs and outputs
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ContextDefinitiontrait WithTypestrait WithTermstrait WithIncludes[StreamletDefinition]trait WithAuthorstrait WithOptions[StreamletOption]trait Definitiontrait Container[StreamletDefinition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Compute the 'maturity' of a definition.
Compute the 'maturity' of a definition. Maturity is a score with no maximum but with scoring rules that target 100 points per definition. Maturity is broken down this way:
has a description - up to 50 points depending on # of non empty lines
has a brief description - 5 points
has options specified - 5 points
has terms defined -
has an author in or above the definition - 5 points \-
definition specific things: 0.65
Attributes
- Returns
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- BrieflyDescribedValue
Compute the completeness of this definition.
Compute the completeness of this definition. Vital definitions should have options, terms, and authors but includes are optional. Incompleteness is signalled by child definitions that are empty.
Attributes
- Returns
-
A numerator and denominator for percent complete
- Inherited from:
- VitalDefinition
Attributes
- Inherited from:
- DescribedValue
Format the node to a string
Attributes
- Inherited from:
- WithOptions
Attributes
- Definition Classes
- Inherited from:
- WithAuthors
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- WithOptions
Attributes
- Definition Classes
- Inherited from:
- WithOptions
Attributes
- Definition Classes
- Inherited from:
- WithTypes
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Definition Classes
- Inherited from:
- Definition
determine if this node is empty or not.
determine if this node is empty or not. Non-containers are always empty
Attributes
- Definition Classes
- Inherited from:
- WithOptions
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Container
Attributes
- Definition Classes
- Inherited from:
- VitalDefinition
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Definition
Implicits
Inherited implicits
Implicit conversion of boolean to Int for easier computation of statistics below
Implicit conversion of boolean to Int for easier computation of statistics below
Value parameters
- b
-
The boolean to convert to an Int
Attributes
- Returns
- Inherited from:
- VitalDefinition