Matcher

case class Matcher(schema: Schema, verbose: Boolean)
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def matchShape(entityDocument: EntityDocument, shapeExpr: ShapeExpr): Boolean
def matchSomeShape(itemDocument: ItemDocument): List[ShapeExpr]

Match an item document with the shapes in a schema

Match an item document with the shapes in a schema

Value Params
itemDocument

item document

Returns

list of shapes that match an itemDocument

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product