abstract class Decoder[Json] extends codec.Decoder
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Decoder
- Decoder
- Codec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Decoder()(implicit baseDecoder: JsonDecoder[Json])
Type Members
Abstract Value Members
Concrete 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
- def apply(graph0: Lspace): Decoder[Json]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit val baseDecoder: JsonDecoder[Json]
-
lazy val
blankEdges: Map[String, Task[structure.Edge[_, _]]]
- Attributes
- protected
-
lazy val
blankNodes: Map[String, Task[structure.Node]]
- Attributes
- protected
-
lazy val
blankValues: Map[String, Task[structure.Value[_]]]
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
lazy val
ctwip: Map[String, Task[structure.ClassType[_]]]
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extractIris(json: Json)(implicit activeContext: ActiveContext): List[String]
gets list or iris
- def fetch(iri: String): Task[Json]
- def fetchClassType(iri: String)(implicit activeContext: ActiveContext): Task[structure.ClassType[_]]
- def fetchGraph(iri: String)(implicit activeContext: ActiveContext): Task[Unit]
- def fetchOntology(iri: String)(implicit activeContext: ActiveContext): Task[structure.Ontology]
- def fetchProperty(iri: String)(implicit activeContext: ActiveContext): Task[structure.Property]
- def fetchVocabularyGraph(iri: String)(implicit activeContext: ActiveContext): Task[Unit]
-
lazy val
fetchingInProgress: Map[String, Task[Json]]
- Attributes
- protected
- implicit def geoJsonDecoder: GeoJsonDecoder[Json]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val httpClient: HttpClient
-
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()
-
lazy val
owip: Map[String, Task[structure.Ontology]]
- Attributes
- protected
- def parse(string: String): Task[Json]
- def prepareClassType(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[structure.ClassType[_]]
- def prepareDataType(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[datatype.DataType[_]]
- def prepareOntology(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[structure.Ontology]
- def prepareProperty(expandedJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[structure.Property]
-
lazy val
pwip: Map[String, Task[structure.Property]]
- Attributes
- protected
- def stringToEdge(json: String)(implicit activeContext: ActiveContext): Task[structure.Edge[Any, Any]]
- def stringToLabeledNode(json: String, ontology: structure.Ontology)(implicit activeContext: ActiveContext): Task[structure.Node]
- def stringToNode(json: String)(implicit activeContext: ActiveContext): Task[structure.Node]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toClasstype(iri: String)(implicit activeContext: ActiveContext): Task[structure.ClassType[Any]]
- def toClasstypes(json: Json)(implicit activeContext: ActiveContext): Task[List[structure.ClassType[Any]]]
- def toCollection[T](json: List[Json], label: CollectionType[T])(implicit activeContext: ActiveContext): Task[T]
- def toData(json: Json, label: datatype.DataType[_])(implicit activeContext: ActiveContext): Task[Any]
- def toDatatype(iri: String)(implicit activeContext: ActiveContext): Task[datatype.DataType[Any]]
- def toDatatypes(json: Json)(implicit activeContext: ActiveContext): Task[List[datatype.DataType[Any]]]
- def toEdge(expandedJson: ExpandedMap[Json], expectedTypes: List[structure.Property])(implicit activeContext: ActiveContext): Option[Task[structure.Edge[Any, Any]]]
- def toEdge(expandedJson: ExpandedMap[Json], expectedType: Option[structure.Property])(implicit activeContext: ActiveContext): Option[Task[structure.Edge[Any, Any]]]
- def toEdge(json: Json)(implicit activeContext: ActiveContext): Task[structure.Edge[Any, Any]]
- def toGeometric[T](json: Json, label: GeometricType[T])(implicit activeContext: ActiveContext): Task[T]
- def toLabeledNode(json: Json, ontology: structure.Ontology)(implicit activeContext: ActiveContext): Task[structure.Node]
- def toList(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[List[Any]]
- def toListSet(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[ListSet[Any]]
- def toLiteral[T](json: Json, label: LiteralType[T])(implicit activeContext: ActiveContext): Task[T]
- def toMap(list: List[Json], keyLabel: Option[structure.ClassType[_]], valueLabel: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[Map[Any, Any]]
- def toNode(expandedJson: ExpandedMap[Json], label: Option[structure.Ontology])(implicit activeContext: ActiveContext): Task[structure.Node]
- def toNode(json: Json)(implicit activeContext: ActiveContext): Task[structure.Node]
- def toObject(expandedJson: ExpandedMap[Json], expectedType: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[(structure.ClassType[Any], Any)]
- def toObject(json: Json, label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[(structure.ClassType[Any], Any)]
- def toOntologies(json: Json)(implicit activeContext: ActiveContext): Task[List[structure.Ontology]]
- def toOntology(iri: String)(implicit activeContext: ActiveContext): Task[structure.Ontology]
- def toPrimitive(json: Json): Option[Any]
- def toProperties(json: Json)(implicit activeContext: ActiveContext): Task[List[structure.Property]]
- def toProperty(iri: String)(implicit activeContext: ActiveContext): Task[structure.Property]
- def toResource(json: Json, expectedType: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[structure.Resource[Any]]
- def toResource(expandedJson: ExpandedMap[Json], expectedType: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[structure.Resource[Any]]
- def toSet(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[Set[Any]]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def toStructured[T](json: Json, label: StructuredType[T])(implicit activeContext: ActiveContext): Task[T]
- def toTuple[T](json: List[Json], label: TupleType[T])(implicit activeContext: ActiveContext): Task[T]
- def toValue(json: Json, label: datatype.DataType[_])(implicit activeContext: ActiveContext): Task[structure.Value[Any]]
- def toVector(list: List[Json], label: Option[structure.ClassType[_]])(implicit activeContext: ActiveContext): Task[Vector[Any]]
- def tryData(expandedJson: ExpandedMap[Json], expectedType: Option[datatype.DataType[_]])(implicit activeContext: ActiveContext): Option[Task[Any]]
- def tryEdgeRef(json: Json, label: structure.Property)(implicit activeContext: ActiveContext): Option[Task[structure.Edge[_, _]]]
- def tryNodeRef(json: Json)(implicit activeContext: ActiveContext): Option[Task[structure.Node]]
- def tryRaw(json: Json, expectedType: Option[structure.ClassType[Any]] = None)(implicit activeContext: ActiveContext): Option[Task[(structure.ClassType[Any], Any)]]
- def tryValue(expandedJson: ExpandedMap[Json], expectedType: Option[datatype.DataType[_]])(implicit activeContext: ActiveContext): Option[Task[structure.Value[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( ... )
-
def
withEdges[T <: structure.Resource[_]](resource: T, otherJson: ExpandedMap[Json])(implicit activeContext: ActiveContext): Task[T]
1.
1. map key to active property 2. process value 2.1 if object 2.1.1 if no-container 2.1.1.1 teResource 2.1.2 container 2.1.2.1 container-type
- otherJson
already expanded object
-
object
contextProcessing
https://www.w3.org/2018/jsonld-cg-reports/json-ld-api/#context-processing-algorithms
-
object
createTermDefinition
https://www.w3.org/2018/jsonld-cg-reports/json-ld-api/#create-term-definition
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.