object ShapePath extends Serializable
- Source
- ShapePath.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ShapePath
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type CompReplace[A] = Ior[List[ProcessingError], A]
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
- lazy val availableFormats: NonEmptyList[String]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- lazy val defaultFormat: String
- def empty: ShapePath
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eval(p: ShapePath, s: Schema, maybeValue: Option[Value] = None): (List[ProcessingError], Value)
Evaluate a shapePath
Evaluate a shapePath
- p
shape path
- s
schema
- maybeValue
initial value. If not provided it is initialized to the list of shapes in s
- returns
A pair containing a list of processing errors (empty if no error) and a result value
- def fromPredicates(preds: List[Predicate]): ShapePath
-
def
fromString(str: String, format: String = "Compact", base: Option[IRI] = None, prefixMap: PrefixMap = PrefixMap.empty): Either[String, ShapePath]
Parse a shapePath from a string
Parse a shapePath from a string
- returns
either an error string or a ShapePath
- def fromTypePredicates(shapeType: ShapeNodeType, preds: List[Predicate]): ShapePath
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def info(msg: String): CompReplace[Unit]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def okr[A](x: A): CompReplace[A]
- def replace(p: ShapePath, s: Schema, maybeValue: Option[Value] = None, newShapeNode: ShapeNode): Ior[List[ProcessingError], Schema]
- def rerr[A](msg: String): CompReplace[A]
- def rwarn[A](msg: String, x: A): CompReplace[A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )