Trait/Object

lspace.codec

Decoder

Related Docs: object Decoder | package codec

Permalink

trait Decoder extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Decoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type AC = ActiveContext

    Permalink
  2. type AP = ActiveProperty

    Permalink
  3. abstract type Json

    Permalink
  4. implicit class WithDJson extends AnyRef

    Permalink

Abstract Value Members

  1. implicit abstract def baseDecoder: Aux[Json]

    Permalink
  2. abstract def graph: Graph

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def extractContext(obj: Map[String, Json])(implicit activeContext: AC): Task[AC]

    Permalink
  9. def extractDatatype(obj: Map[String, Json])(implicit activeContext: AC): Task[Option[DataType[Any]]]

    Permalink
  10. def extractOntologies(obj: Map[String, Json])(implicit activeContext: AC): Task[List[Ontology]]

    Permalink
  11. def extractProperties(obj: Map[String, Json])(implicit activeContext: AC): Task[Option[Property]]

    Permalink
  12. def extractRefs(json: Json)(implicit activeContext: AC): List[String]

    Permalink

    gets list or iris

  13. def extractType(obj: Map[String, Json])(implicit activeContext: AC): Task[List[ClassType[Any]]]

    Permalink
  14. def fetch[T](iri: String)(cb: (Map[String, Json]) ⇒ Task[T]): Task[T]

    Permalink
  15. def fetchClassType(iri: String)(implicit activeContext: AC): Task[ClassType[_]]

    Permalink
  16. def fetchOntology(iri: String)(implicit activeContext: AC): Task[Ontology]

    Permalink
  17. def fetchProperty(iri: String)(implicit activeContext: AC): Task[Property]

    Permalink
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getNewActiveContext: AC

    Permalink
  21. def getNewActiveProperty: AP

    Permalink
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. val httpClient: HttpClient

    Permalink
  24. def iriToClassType(iri: String)(implicit activeContext: AC): Option[ClassType[Any]]

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. implicit def jsonToBoolean(json: Json): Option[Boolean]

    Permalink
  27. implicit def jsonToDate(json: Json): Option[LocalDate]

    Permalink
  28. implicit def jsonToDateTime(json: Json): Option[Instant]

    Permalink
  29. implicit def jsonToDouble(json: Json): Option[Double]

    Permalink
  30. implicit def jsonToGeopoint(json: Json): Option[Point]

    Permalink
  31. implicit def jsonToGeopolygon(json: Json): Option[Polygon]

    Permalink
  32. implicit def jsonToInt(json: Json): Option[Int]

    Permalink
  33. implicit def jsonToList(json: Json): Option[List[Json]]

    Permalink
  34. implicit def jsonToLong(json: Json): Option[Long]

    Permalink
  35. implicit def jsonToMap(json: Json): Option[Map[String, Json]]

    Permalink
  36. implicit def jsonToString(json: Json): Option[String]

    Permalink
  37. implicit def jsonToTime(json: Json): Option[LocalTime]

    Permalink
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. def parse(string: String): Task[Json]

    Permalink
  42. def stringToLabeledNode(json: String, ontology: Ontology, activeContext: AC = getNewActiveContext): Task[Node]

    Permalink
  43. def stringToNode(json: String, activeContext: AC = getNewActiveContext): Task[Node]

    Permalink
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toClasstype(obj: Map[String, Json])(implicit activeContext: AC): Task[ClassType[Any]]

    Permalink
  46. def toClasstypes(json: Json)(implicit activeContext: AC): Task[List[ClassType[Any]]]

    Permalink
  47. def toCollection[T](json: List[Json], label: CollectionType[T])(implicit activeContext: AC): Task[T]

    Permalink
  48. def toData(json: Json, label: DataType[_])(implicit activeContext: AC): Task[Any]

    Permalink
  49. def toDatatype(obj: Map[String, Json])(implicit activeContext: AC): Task[DataType[Any]]

    Permalink
  50. def toEdge(expandedJson: Map[String, Json], expectedTypes: List[Property])(implicit activeContext: AC): Option[Task[Edge[Any, Any]]]

    Permalink
  51. def toEdge(expandedJson: Map[String, Json], expectedType: Option[Property])(implicit activeContext: AC): Option[Task[Edge[Any, Any]]]

    Permalink
  52. def toGeometric[T](json: Json, label: GeometricType[T])(implicit activeContext: AC): Task[T]

    Permalink
  53. def toLabeledNode(json: Json, ontology: Ontology, activeContext: AC = getNewActiveContext): Task[Node]

    Permalink
  54. def toList(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[List[Any]]

    Permalink
  55. def toListSet(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[ListSet[Any]]

    Permalink
  56. def toListSetType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[ListSetType[Any]]

    Permalink
  57. def toListType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[ListType[Any]]

    Permalink
  58. def toLiteral[T](json: Json, label: LiteralType[T])(implicit activeContext: AC): Task[T]

    Permalink
  59. def toMap(list: List[Json], keyLabel: List[ClassType[_]], valueLabel: List[ClassType[_]])(implicit activeContext: AC): Task[Map[Any, Any]]

    Permalink
  60. def toMapType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[MapType[Any, Any]]

    Permalink
  61. def toNode(expandedJson: Map[String, Json], label: Option[Ontology])(implicit activeContext: AC): Task[Node]

    Permalink
  62. def toNode(json: Json, activeContext: AC = getNewActiveContext): Task[Node]

    Permalink
  63. def toObject(expandedJson: Map[String, Json], expectedType: Option[ClassType[_]])(implicit activeContext: AC): Task[(ClassType[Any], Any)]

    Permalink
  64. def toObject(json: Json, label: List[ClassType[_]])(implicit activeContext: AC): Task[(ClassType[Any], Any)]

    Permalink
  65. def toOntologies(json: Json)(implicit activeContext: AC): Task[List[Ontology]]

    Permalink
  66. def toOntology(iri: String)(implicit activeContext: AC): Task[Ontology]

    Permalink
  67. def toOntology(obj: Map[String, Json])(implicit activeContext: AC): Task[Ontology]

    Permalink
  68. def toPrimitive(json: Json): Option[Any]

    Permalink
  69. def toProperties(json: Json)(implicit activeContext: AC): Task[List[Property]]

    Permalink
  70. def toProperty(iri: String)(implicit activeContext: AC): Task[Property]

    Permalink
  71. def toProperty(obj: Map[String, Json])(implicit activeContext: AC): Task[Property]

    Permalink
  72. def toResource(json: Json, expectedType: Option[ClassType[_]])(implicit activeContext: AC): Task[Resource[Any]]

    Permalink
  73. def toResource(obj: Map[String, Json], expectedType: Option[ClassType[_]])(implicit activeContext: AC): Task[Resource[Any]]

    Permalink

  74. def toSet(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[Set[Any]]

    Permalink
  75. def toSetType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[SetType[Any]]

    Permalink
  76. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  77. def toStructured[T](json: Json, label: StructuredType[T])(implicit activeContext: AC): Task[T]

    Permalink
  78. def toTuple[T](json: List[Json], label: TupleType[T])(implicit activeContext: AC): Task[T]

    Permalink
  79. def toTuple2(json: List[Json], label1: List[ClassType[_]], label2: List[ClassType[_]])(implicit activeContext: AC): Task[(Any, Any)]

    Permalink
  80. def toTuple2Type(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[Tuple2Type[Any, Any]]

    Permalink
  81. def toTuple3(json: List[Json], label1: List[ClassType[_]], label2: List[ClassType[_]], label3: List[ClassType[_]])(implicit activeContext: AC): Task[(Any, Any, Any)]

    Permalink
  82. def toTuple3Type(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[Tuple3Type[Any, Any, Any]]

    Permalink
  83. def toTuple4(json: List[Json], label1: List[ClassType[_]], label2: List[ClassType[_]], label3: List[ClassType[_]], label4: List[ClassType[_]])(implicit activeContext: AC): Task[(Any, Any, Any, Any)]

    Permalink
  84. def toTuple4Type(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[Tuple4Type[Any, Any, Any, Any]]

    Permalink
  85. def toValue(json: Json, label: DataType[_])(implicit activeContext: AC): Task[Value[Any]]

    Permalink
  86. def toVector(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[Vector[Any]]

    Permalink
  87. def toVectorType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[VectorType[Any]]

    Permalink
  88. def tryData(expandedJson: Map[String, Json], expectedType: Option[DataType[_]])(implicit activeContext: AC): Option[Task[Any]]

    Permalink
  89. def tryEdgeRef(json: Json, label: Property)(implicit activeContext: AC): Option[Task[Edge[_, _]]]

    Permalink
  90. def tryNodeRef(json: Json)(implicit activeContext: AC): Option[Task[Node]]

    Permalink
  91. def tryRaw(json: Json)(implicit activeContext: AC): Option[Task[(ClassType[Any], Any)]]

    Permalink
  92. def tryValue(expandedJson: Map[String, Json], expectedType: Option[DataType[_]])(implicit activeContext: AC): Option[Task[Value[Any]]]

    Permalink
  93. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. def withEdges[T <: Resource[_]](resource: T, otherJson: Map[String, Json])(implicit activeContext: AC): Task[T]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped