Uses of Class
org.aksw.jenax.io.json.accumulator.AccContextRdf
Packages that use AccContextRdf
-
Uses of AccContextRdf in org.aksw.jenax.io.json.accumulator
Methods in org.aksw.jenax.io.json.accumulator that return AccContextRdfModifier and TypeMethodDescriptionstatic AccContextRdfAccContext.materializing()Create a context that only materializesstatic AccContextRdfAccContext.serializing(com.google.gson.Gson gson, com.google.gson.stream.JsonWriter jsonWriter) static AccContextRdfAccContext.serializing(RdfObjectNotationWriter writer) Methods in org.aksw.jenax.io.json.accumulator with parameters of type AccContextRdfModifier and TypeMethodDescriptionvoidAccJson.acceptContribution(RdfElement value, AccContextRdf context) For materialization: Whenever end() is called on a state with materialization enabled, then it passes its accumulated value to the parent using this method.voidAccJsonFragmentHead.acceptContribution(RdfElement item, AccContextRdf context) voidAccJsonLiteral.acceptContribution(RdfElement value, AccContextRdf context) voidAccJsonObjectLikeBase.acceptContribution(RdfElement value, AccContextRdf context) voidAccJsonProperty.acceptContribution(RdfElement item, AccContextRdf context) voidAccJsonDriver.accumulate(org.apache.jena.sparql.core.Quad input, AccContextRdf cxt) We expect each root node to be announced with a dummy quad that does not carry any edge information (s, s, ANY, ANY)Stream<Map.Entry<org.apache.jena.graph.Node,RdfElement>> AccJsonDriver.asStream(AccContextRdf cxt, Stream<org.apache.jena.sparql.core.Quad> quadStream) voidAccJson.begin(org.apache.jena.graph.Node node, AccContextRdf context, boolean skipOutput) Start accumulation based on a given node in the underlying graph.voidAccJsonBase.begin(org.apache.jena.graph.Node sourceNode, AccContextRdf cxt, boolean skipOutput) voidAccJsonDriver.begin(AccContextRdf cxt) voidAccJsonFragmentBody.begin(org.apache.jena.graph.Node source, AccContextRdf context, boolean skipOutput) voidAccJsonFragmentHead.begin(org.apache.jena.graph.Node node, AccContextRdf context, boolean skipOutput) Sets the source node which subsequent triples must match in addition to the fieldId.voidAccJsonLiteral.begin(org.apache.jena.graph.Node node, AccContextRdf context, boolean skipOutput) voidAccJsonObject.begin(org.apache.jena.graph.Node source, AccContextRdf context, boolean skipOutput) voidAccJsonProperty.begin(org.apache.jena.graph.Node node, AccContextRdf context, boolean skipOutput) Sets the source node which subsequent triples must match in addition to the fieldId.voidAccJson.end(AccContextRdf cxt) End the accumulator's current nodevoidAccJsonBase.end(AccContextRdf cxt) voidAccJsonDriver.end(AccContextRdf cxt) voidAccJsonFragmentBody.end(AccContextRdf context) voidAccJsonFragmentHead.end(AccContextRdf context) voidAccJsonLiteral.end(AccContextRdf context) voidAccJsonObject.end(AccContextRdf context) voidAccJsonProperty.end(AccContextRdf context) protected voidAccJsonDriver.endCurrentItem(AccContextRdf cxt) Recursively calls end() on the current accumulator and all its ancestorsAccJson.transition(org.apache.jena.graph.Triple edge, AccContextRdf cxt) Process an edge.AccJsonFragmentBody.transition(org.apache.jena.graph.Triple input, AccContextRdf context) AccJsonFragmentHead.transition(org.apache.jena.graph.Triple input, AccContextRdf context) Accepts a triple if source and field id match that of the current stateAccJsonLiteral.transition(org.apache.jena.graph.Triple edge, AccContextRdf context) AccJsonObject.transition(org.apache.jena.graph.Triple input, AccContextRdf context) AccJsonProperty.transition(org.apache.jena.graph.Triple input, AccContextRdf context) Accepts a triple if source and field id match that of the current state