lspace
.
lgraph
.
provider
.
file
DecodeLDFS
Related Doc:
package file
case class
DecodeLDFS
[
Json0
]
(
graph:
Graph
,
idMaps:
IdMaps
=
IdMaps()
)
(
implicit
baseDecoder:
Aux
[
Json0
]
)
extends
Decoder
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
Decoder
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
DecodeLDFS
Serializable
Serializable
Product
Equals
Decoder
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
DecodeLDFS
(
graph:
Graph
,
idMaps:
IdMaps
=
IdMaps()
)
(
implicit
baseDecoder:
Aux
[
Json0
]
)
Type Members
type
AC
=
ActiveContext
Definition Classes
Decoder
type
AP
=
ActiveProperty
Definition Classes
Decoder
type
Json
=
Json0
Definition Classes
DecodeLDFS
→ Decoder
implicit
class
WithDJson
extends
AnyRef
Definition Classes
Decoder
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
implicit
val
baseDecoder
:
Aux
[
Json0
]
Definition Classes
DecodeLDFS
→ Decoder
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
extractContext
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
AC
]
Definition Classes
Decoder
def
extractDatatype
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Option
[
DataType
[
Any
]]]
Definition Classes
Decoder
def
extractOntologies
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
List
[
Ontology
]]
Definition Classes
Decoder
def
extractProperties
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Option
[
Property
]]
Definition Classes
Decoder
def
extractRefs
(
json:
Json
)
(
implicit
activeContext:
AC
)
:
List
[
String
]
Definition Classes
Decoder
def
extractType
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
List
[
ClassType
[
Any
]]]
Definition Classes
Decoder
def
fetch
[
T
]
(
iri:
String
)
(
cb: (
Map
[
String
,
Json
]) ⇒
Task
[
T
]
)
:
Task
[
T
]
Definition Classes
Decoder
def
fetchClassType
(
iri:
String
)
(
implicit
activeContext:
AC
)
:
Task
[
ClassType
[_]]
Definition Classes
Decoder
def
fetchOntology
(
iri:
String
)
(
implicit
activeContext:
AC
)
:
Task
[
Ontology
]
Definition Classes
Decoder
def
fetchProperty
(
iri:
String
)
(
implicit
activeContext:
AC
)
:
Task
[
Property
]
Definition Classes
Decoder
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getNewActiveContext
:
AC
Definition Classes
Decoder
def
getNewActiveProperty
:
AP
Definition Classes
Decoder
val
graph
:
Graph
Definition Classes
DecodeLDFS
→ Decoder
val
httpClient
:
HttpClient
Definition Classes
Decoder
val
idMaps
:
IdMaps
def
iriToClassType
(
iri:
String
)
(
implicit
activeContext:
AC
)
:
Option
[
ClassType
[
Any
]]
Definition Classes
Decoder
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
implicit
def
jsonToBoolean
(
json:
Json
)
:
Option
[
Boolean
]
Definition Classes
Decoder
implicit
def
jsonToDate
(
json:
Json
)
:
Option
[
LocalDate
]
Definition Classes
Decoder
implicit
def
jsonToDateTime
(
json:
Json
)
:
Option
[
Instant
]
Definition Classes
Decoder
implicit
def
jsonToDouble
(
json:
Json
)
:
Option
[
Double
]
Definition Classes
Decoder
implicit
def
jsonToGeopoint
(
json:
Json
)
:
Option
[
Point
]
Definition Classes
Decoder
implicit
def
jsonToGeopolygon
(
json:
Json
)
:
Option
[
Polygon
]
Definition Classes
Decoder
implicit
def
jsonToInt
(
json:
Json
)
:
Option
[
Int
]
Definition Classes
Decoder
implicit
def
jsonToList
(
json:
Json
)
:
Option
[
List
[
Json
]]
Definition Classes
Decoder
implicit
def
jsonToLong
(
json:
Json
)
:
Option
[
Long
]
Definition Classes
Decoder
implicit
def
jsonToMap
(
json:
Json
)
:
Option
[
Map
[
String
,
Json
]]
Definition Classes
Decoder
implicit
def
jsonToString
(
json:
Json
)
:
Option
[
String
]
Definition Classes
Decoder
implicit
def
jsonToTime
(
json:
Json
)
:
Option
[
LocalTime
]
Definition Classes
Decoder
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
parse
(
string:
String
)
:
Task
[
Json
]
Definition Classes
Decoder
def
stringToLabeledNode
(
json:
String
,
ontology:
Ontology
,
activeContext:
AC
)
:
Task
[
Node
]
Definition Classes
Decoder
def
stringToNode
(
json:
String
,
activeContext:
AC
)
:
Task
[
Node
]
Definition Classes
Decoder
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toClasstype
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
ClassType
[
Any
]]
Definition Classes
Decoder
def
toClasstypes
(
json:
Json
)
(
implicit
activeContext:
AC
)
:
Task
[
List
[
ClassType
[
Any
]]]
Definition Classes
Decoder
def
toCollection
[
T
]
(
json:
List
[
Json
]
,
label:
CollectionType
[
T
]
)
(
implicit
activeContext:
AC
)
:
Task
[
T
]
Definition Classes
Decoder
def
toData
(
json:
Json
,
label:
DataType
[_]
)
(
implicit
activeContext:
AC
)
:
Task
[
Any
]
Definition Classes
Decoder
def
toDatatype
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
DataType
[
Any
]]
Definition Classes
Decoder
def
toEdge
(
expandedJson:
Map
[
String
,
Json
]
,
expectedTypes:
List
[
Property
]
)
(
implicit
activeContext:
AC
)
:
Option
[
Task
[
Edge
[
Any
,
Any
]]]
Definition Classes
Decoder
def
toEdge
(
expandedJson:
Map
[
String
,
Json
]
,
expectedType:
Option
[
Property
]
)
(
implicit
activeContext:
AC
)
:
Option
[
Task
[
Edge
[
Any
,
Any
]]]
Definition Classes
Decoder
def
toGeometric
[
T
]
(
json:
Json
,
label:
GeometricType
[
T
]
)
(
implicit
activeContext:
AC
)
:
Task
[
T
]
Definition Classes
Decoder
def
toLabeledNode
(
json:
Json
,
ontology:
Ontology
,
activeContext:
AC
)
:
Task
[
Node
]
Definition Classes
Decoder
def
toList
(
list:
List
[
Json
]
,
label:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[
List
[
Any
]]
Definition Classes
Decoder
def
toListSet
(
list:
List
[
Json
]
,
label:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[
ListSet
[
Any
]]
Definition Classes
Decoder
def
toListSetType
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
ListSetType
[
Any
]]
Definition Classes
Decoder
def
toListType
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
ListType
[
Any
]]
Definition Classes
Decoder
def
toLiteral
[
T
]
(
json:
Json
,
label:
LiteralType
[
T
]
)
(
implicit
activeContext:
AC
)
:
Task
[
T
]
Definition Classes
Decoder
def
toMap
(
list:
List
[
Json
]
,
keyLabel:
List
[
ClassType
[_]]
,
valueLabel:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[
Map
[
Any
,
Any
]]
Definition Classes
Decoder
def
toMapType
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
MapType
[
Any
,
Any
]]
Definition Classes
Decoder
def
toNode
(
expandedJson:
Map
[
String
,
Json
]
,
label:
Option
[
Ontology
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Node
]
Definition Classes
DecodeLDFS
→ Decoder
def
toNode
(
json:
Json
,
activeContext:
AC
)
:
Task
[
Node
]
Definition Classes
Decoder
def
toObject
(
expandedJson:
Map
[
String
,
Json
]
,
expectedType:
Option
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[(
ClassType
[
Any
],
Any
)]
Definition Classes
Decoder
def
toObject
(
json:
Json
,
label:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[(
ClassType
[
Any
],
Any
)]
Definition Classes
Decoder
def
toOntologies
(
json:
Json
)
(
implicit
activeContext:
AC
)
:
Task
[
List
[
Ontology
]]
Definition Classes
Decoder
def
toOntology
(
iri:
String
)
(
implicit
activeContext:
AC
)
:
Task
[
Ontology
]
Definition Classes
Decoder
def
toOntology
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Ontology
]
Definition Classes
Decoder
def
toPrimitive
(
json:
Json
)
:
Option
[
Any
]
Definition Classes
Decoder
def
toProperties
(
json:
Json
)
(
implicit
activeContext:
AC
)
:
Task
[
List
[
Property
]]
Definition Classes
Decoder
def
toProperty
(
iri:
String
)
(
implicit
activeContext:
AC
)
:
Task
[
Property
]
Definition Classes
Decoder
def
toProperty
(
obj:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Property
]
Definition Classes
Decoder
def
toResource
(
json:
Json
,
expectedType:
Option
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[
Resource
[
Any
]]
Definition Classes
Decoder
def
toResource
(
obj:
Map
[
String
,
Json
]
,
expectedType:
Option
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[
Resource
[
Any
]]
Definition Classes
Decoder
def
toSet
(
list:
List
[
Json
]
,
label:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[
Set
[
Any
]]
Definition Classes
Decoder
def
toSetType
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
SetType
[
Any
]]
Definition Classes
Decoder
def
toStructured
[
T
]
(
json:
Json
,
label:
StructuredType
[
T
]
)
(
implicit
activeContext:
AC
)
:
Task
[
T
]
Definition Classes
Decoder
def
toTuple
[
T
]
(
json:
List
[
Json
]
,
label:
TupleType
[
T
]
)
(
implicit
activeContext:
AC
)
:
Task
[
T
]
Definition Classes
Decoder
def
toTuple2
(
json:
List
[
Json
]
,
label1:
List
[
ClassType
[_]]
,
label2:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[(
Any
,
Any
)]
Definition Classes
Decoder
def
toTuple2Type
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Tuple2Type
[
Any
,
Any
]]
Definition Classes
Decoder
def
toTuple3
(
json:
List
[
Json
]
,
label1:
List
[
ClassType
[_]]
,
label2:
List
[
ClassType
[_]]
,
label3:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[(
Any
,
Any
,
Any
)]
Definition Classes
Decoder
def
toTuple3Type
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Tuple3Type
[
Any
,
Any
,
Any
]]
Definition Classes
Decoder
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
)]
Definition Classes
Decoder
def
toTuple4Type
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
Tuple4Type
[
Any
,
Any
,
Any
,
Any
]]
Definition Classes
Decoder
def
toValue
(
json:
Json
,
label:
DataType
[_]
)
(
implicit
activeContext:
AC
)
:
Task
[
Value
[
Any
]]
Definition Classes
Decoder
def
toVector
(
list:
List
[
Json
]
,
label:
List
[
ClassType
[_]]
)
(
implicit
activeContext:
AC
)
:
Task
[
Vector
[
Any
]]
Definition Classes
Decoder
def
toVectorType
(
expandedJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
VectorType
[
Any
]]
Definition Classes
Decoder
def
tryData
(
expandedJson:
Map
[
String
,
Json
]
,
expectedType:
Option
[
DataType
[_]]
)
(
implicit
activeContext:
AC
)
:
Option
[
Task
[
Any
]]
Definition Classes
Decoder
def
tryEdgeRef
(
json:
Json
,
label:
Property
)
(
implicit
activeContext:
AC
)
:
Option
[
Task
[
Edge
[_, _]]]
Definition Classes
DecodeLDFS
→ Decoder
def
tryNodeRef
(
json:
Json
)
(
implicit
activeContext:
AC
)
:
Option
[
Task
[
Node
]]
Definition Classes
DecodeLDFS
→ Decoder
def
tryRaw
(
json:
Json
)
(
implicit
activeContext:
AC
)
:
Option
[
Task
[(
ClassType
[
Any
],
Any
)]]
Definition Classes
Decoder
def
tryValue
(
expandedJson:
Map
[
String
,
Json
]
,
expectedType:
Option
[
DataType
[_]]
)
(
implicit
activeContext:
AC
)
:
Option
[
Task
[
Value
[
Any
]]]
Definition Classes
Decoder
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withEdges
[
T <:
Resource
[_]
]
(
resource:
T
,
otherJson:
Map
[
String
,
Json
]
)
(
implicit
activeContext:
AC
)
:
Task
[
T
]
Definition Classes
Decoder
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Decoder
Inherited from
AnyRef
Inherited from
Any
Ungrouped