java.lang.Object
org.apache.jena.riot.system.FactoryRDFStd
org.apache.jena.riot.system.FactoryRDFCaching
- All Implemented Interfaces:
FactoryRDF
Adds some caching of created nodes - the caching is tuned to RIOT parser usage
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.Node
createStringLiteral
(String lexical) org.apache.jena.graph.Node
createTypedLiteral
(String lexical, org.apache.jena.datatypes.RDFDatatype datatype) org.apache.jena.graph.Node
org.apache.jena.atlas.lib.cache.CacheInfo
stats()
Methods inherited from class org.apache.jena.riot.system.FactoryRDFStd
createBlankNode, createBlankNode, createBlankNode, createLangLiteral, createQuad, createTriple, reset
-
Field Details
-
DftNodeCacheSize
public static final int DftNodeCacheSize- See Also:
-
-
Constructor Details
-
FactoryRDFCaching
public FactoryRDFCaching() -
FactoryRDFCaching
-
-
Method Details
-
createURI
- Specified by:
createURI
in interfaceFactoryRDF
- Overrides:
createURI
in classFactoryRDFStd
-
createTypedLiteral
public org.apache.jena.graph.Node createTypedLiteral(String lexical, org.apache.jena.datatypes.RDFDatatype datatype) - Specified by:
createTypedLiteral
in interfaceFactoryRDF
- Overrides:
createTypedLiteral
in classFactoryRDFStd
-
createStringLiteral
- Specified by:
createStringLiteral
in interfaceFactoryRDF
- Overrides:
createStringLiteral
in classFactoryRDFStd
-
stats
public org.apache.jena.atlas.lib.cache.CacheInfo stats()
-