Uses of Class
org.eclipse.rdf4j.spring.dao.support.RelationMapBuilder
-
Uses of RelationMapBuilder in org.eclipse.rdf4j.spring.dao.support
Modifier and TypeMethodDescriptionRelationMapBuilder.constraints
(GraphPattern... constraints) Constrains the result iff theGraphPattern
contains the variables_relSubject
and/or_relObject
, which are the variables in the triple with theRdfPredicate
specified in the constructor.RelationMapBuilder.relationIsOptional()
Indicates that the existence of the triple is not required, allowing to use the constraints to select certain subjects and to answer the mapping to an empty Set in thebuildOneToMany()
case andNOTHING
in thebuildOneToOne()
case.RelationMapBuilder.useRelationObjectAsKey()
Indicates that the builder should use the triple's object for the key in the resultingMap
instead of the subject (the default).RelationMapBuilder.withBinding
(String key, Boolean value) RelationMapBuilder.withBinding
(String key, Double value) RelationMapBuilder.withBinding
(String key, Float value) RelationMapBuilder.withBinding
(String key, Integer value) RelationMapBuilder.withBinding
(String key, String value) RelationMapBuilder.withBinding
(String key, IRI value) RelationMapBuilder.withBinding
(String key, Value value) RelationMapBuilder.withBinding
(Variable key, Boolean value) RelationMapBuilder.withBinding
(Variable key, Double value) RelationMapBuilder.withBinding
(Variable key, Float value) RelationMapBuilder.withBinding
(Variable key, Integer value) RelationMapBuilder.withBinding
(Variable key, String value) RelationMapBuilder.withBinding
(Variable key, IRI value) RelationMapBuilder.withBinding
(Variable key, Value value) RelationMapBuilder.withBindingMaybe
(String key, Boolean value) RelationMapBuilder.withBindingMaybe
(String key, Double value) RelationMapBuilder.withBindingMaybe
(String key, Float value) RelationMapBuilder.withBindingMaybe
(String key, Integer value) RelationMapBuilder.withBindingMaybe
(String key, String value) RelationMapBuilder.withBindingMaybe
(String key, IRI value) RelationMapBuilder.withBindingMaybe
(String key, Value value) RelationMapBuilder.withBindingMaybe
(Variable key, Boolean value) RelationMapBuilder.withBindingMaybe
(Variable var, Double value) RelationMapBuilder.withBindingMaybe
(Variable key, Float value) RelationMapBuilder.withBindingMaybe
(Variable key, Integer value) RelationMapBuilder.withBindingMaybe
(Variable key, String value) RelationMapBuilder.withBindingMaybe
(Variable key, IRI value) RelationMapBuilder.withBindingMaybe
(Variable key, Value value)