case class Validator(schema: Schema) extends LazyLogging with Product with Serializable
This validator is implemented directly in Scala using the cats library
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Validator
- Serializable
- Serializable
- Product
- Equals
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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 between(v: Int, maybeMin: Option[Int], maybeMax: Option[Int]): Boolean
-
def
checkSchemaAll: CheckTyping
Checks if all nodes/shapes are valid in a schema Fails if any of them is not correct
- def checkTargetClasses(classes: Seq[RDFNode]): ShapeChecker
- def checkTargetNodes(nodes: Seq[RDFNode]): ShapeChecker
- def checkTargetSubjectsOf(preds: Seq[IRI]): ShapeChecker
- def checkXoneType(node: RDFNode, shapes: List[Shape], t: ShapeTyping): Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def compare(control: RDFNode, comparison: (RDFNode, RDFNode) ⇒ Either[String, Boolean], err: (RDFNode, Attempt, RDFNode) ⇒ ValidationResult, msg: String): NodeChecker
- def compareLiterals(n: Literal, f: (NumericLiteral, NumericLiteral) ⇒ Boolean, err: (RDFNode, Attempt, RDFNode) ⇒ ValidationResult, msg: String): NodeChecker
- def disjoint(p: IRI): NodeChecker
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(p: IRI): NodeChecker
- def findNodesInClass(cls: RDFNode, rdf: RDFReader): SHACLChecker.Check[LazyList[RDFNode]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getTriplesWithPredicate(p: IRI, rdf: RDFReader): SHACLChecker.Check[LazyList[RDFTriple]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lessThan(p: IRI): NodeChecker
- def lessThanOrEquals(p: IRI): NodeChecker
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeNodeShape(node: RDFNode, ns: NodeShape): CheckTyping
- def nodePropertyShape(node: RDFNode, ps: PropertyShape): CheckTyping
- def nodeShape(node: RDFNode, shape: Shape): CheckTyping
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def runCheck[A](c: SHACLChecker.Check[A], rdf: RDFReader)(implicit arg0: Show[A]): IO[CheckResult[AbstractResult, A, Log]]
- val schema: Schema
- def shapeChecker: ShapeChecker
- def showResult(t: (ShapeTyping, Boolean)): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
targetNodes: Seq[(RDFNode, Shape)]
Return all targetNode declarations which are pairs (n,s) where
Return all targetNode declarations which are pairs (n,s) where
n= node to validates= candidate shape - def validateAll(rdf: RDFReader): IO[CheckResult[AbstractResult, (ShapeTyping, Boolean), Log]]
-
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( ... )