Collector

org.finos.morphir.datamodel.Concept.Collector
class Collector[T](p: PartialFunction[Concept, T]) extends ConceptStatefulTransformer[Chunk[T]]

Collector to help with Traversal

Attributes

Graph
Supertypes
trait ConceptStatefulTransformer[Chunk[T]]
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

object Stateful

Attributes

Inherited from:
ConceptStatefulTransformer
Supertypes
class Object
trait Matchable
class Any

Inherited types

type Stateful[A] = ZPure[Nothing, Chunk[T], Chunk[T], Any, Nothing, A]

Attributes

Inherited from:
ConceptStatefulTransformer

Value members

Concrete methods

override def transform[R <: Concept](concept: R): Stateful[R]

Attributes

Definition Classes

Inherited methods

def of(c: Union): Stateful[Union]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Enum): Stateful[Enum]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Result): Stateful[Result]

Attributes

Inherited from:
ConceptStatefulTransformer

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Tuple): Stateful[Tuple]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Map): Stateful[Map]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: List): Stateful[List]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Alias): Stateful[Alias]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Struct): Stateful[Struct]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Record): Stateful[Record]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Any.type): Stateful[Any.type]

Attributes

Inherited from:
ConceptStatefulTransformer
def of(c: Basic[_]): Stateful[Basic[_]]

Attributes

Inherited from:
ConceptStatefulTransformer

Attributes

Inherited from:
ConceptStatefulTransformer
def ofFieldList[L, A](fields: List[(L, A)])(mapping: A => Stateful[A]): ZPure[Nothing, Chunk[T], Chunk[T], Any, Nothing, List[(L, A)]]

Attributes

Inherited from:
ConceptStatefulTransformer
def ofList[A](list: List[A])(mapping: A => Stateful[A]): ZPure[Nothing, Chunk[T], Chunk[T], Any, Nothing, List[A]]

Attributes

Inherited from:
ConceptStatefulTransformer