PrefixedTypeMatch

grackle.Mapping.MappingPredicate.PrefixedTypeMatch

A predicate that matches a specific type with a given path prefix.

This predicate corresponds to the semantics of the PrefixedMapping in earlier releases.

Attributes

Source
mapping.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Does this predicate apply to the given context?

Does this predicate apply to the given context?

Yields the priority of the corresponding TypeMapping if the predicate applies, or None otherwise.

Attributes

Source
mapping.scala

Given a Context, yield a strictly extended Context which would be matched by this predicate, if any, None otherwise.

Given a Context, yield a strictly extended Context which would be matched by this predicate, if any, None otherwise.

For a PrefixedTypeMatch predicate, the contination context is the given context extended by the prefix path, navigating through interfaces and unions as necessary.

Attributes

Source
mapping.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product