/** * Initialize the assembler. * Registers the prefix "sec" with the uri http://apache.org/jena/permission/Assembler# * and registers this assembler with the uri http://apache.org/jena/permission/Assembler#Model */ static synchronized public void init() { if ( initialized ) return ; MappingRegistry.addPrefixMapping("sec", URI) ; registerWith(Assembler.general) ; initialized = true ; }
EnvTDB.processGlobalSystemProperties() ; MappingRegistry.addPrefixMapping(SystemTDB.tdbSymbolPrefix, SystemTDB.symbolNamespace) ; AssemblerUtils.init() ; VocabTDB2.init() ; QueryEngineTDB.register() ; UpdateEngineTDB.register() ; MappingRegistry.addPrefixMapping(TDB2.tdbSymbolPrefix, TDB2.tdbParamNS) ;
/** * Initialize an instance of the Fuseki server stack. * This is not done via Jena's initialization mechanism * but done explicitly to give more control. * Touching this class causes this to happen * (see static block at the end of this class). */ public synchronized static void init() { if ( initialized ) return ; initialized = true ; JenaSystem.init() ; SystemInfo sysInfo = new SystemInfo(FusekiIRI, PATH, VERSION, BUILD_DATE) ; SystemARQ.registerSubSystem(sysInfo) ; MappingRegistry.addPrefixMapping("fuseki", FusekiSymbolIRI) ; TDB.setOptimizerWarningFlag(false) ; // Don't set TDB batch commits. // This can be slower, but it less memory hungry and more predictable. TransactionManager.QueueBatchSize = 0 ; }
/** * Initialize an instance of the Fuseki server stack. * This is not done via Jena's initialization mechanism * but done explicitly to give more control. * Touching this class causes this to happen * (see static block at the end of this class). */ public synchronized static void init() { if ( initialized ) return ; initialized = true ; JenaSystem.init() ; SystemInfo sysInfo = new SystemInfo(FusekiIRI, PATH, VERSION, BUILD_DATE) ; SystemARQ.registerSubSystem(sysInfo) ; MappingRegistry.addPrefixMapping("fuseki", FusekiSymbolIRI) ; TDB.setOptimizerWarningFlag(false) ; // Don't set TDB batch commits. // This can be slower, but it less memory hungry and more predictable. TransactionManager.QueueBatchSize = 0 ; }
/** * TDB System initialization - normally, this is not explicitly called * because Jena system wide initialization occurs automatically. * However, calling it repeatedly is safe and low cost. */ public static void init() { // Called at start. if ( initialized ) { return ; } synchronized(initLock) { if ( initialized ) { JenaSystem.logLifecycle("TDB.init - return") ; return ; } initialized = true ; JenaSystem.logLifecycle("TDB.init - start") ; ReaderRIOTRDFXML.RiotUniformCompatibility = true ; EnvTDB.processGlobalSystemProperties() ; MappingRegistry.addPrefixMapping(SystemTDB.tdbSymbolPrefix, SystemTDB.symbolNamespace) ; AssemblerTDB.init() ; QueryEngineTDB.register() ; UpdateEngineTDB.register() ; wireIntoExecution() ; JenaSystem.logLifecycle("TDB.init - finish") ; } }
globalContext = defaultSettings() ; MappingRegistry.addPrefixMapping(ARQ.arqSymbolPrefix, ARQ.arqParamNS) ;
public static void init() { if ( initialized ) return ; synchronized(initLock) { if ( initialized ) { JenaSystem.logLifecycle("SDB.init - skip") ; return ; } initialized = true ; JenaSystem.logLifecycle("SDB.init - start") ; MappingRegistry.addPrefixMapping(SDB.symbolPrefix, SDB.symbolSpace) ; // Default is 1000 4Kpages. DerbyUtils.setDerbyPageCacheSize(10000) ; // Wire in the SDB query engine QueryEngineSDB.register() ; // Wire in the SDB update engine UpdateEngineSDB.register() ; SDB.getContext().setIfUndef(useQuadRewrite, false) ; SDB.getContext().setIfUndef(streamGraphAPI, false) ; SDB.getContext().setIfUndef(jdbcStream, true) ; //SDB.getContext().setIfUndef(jdbcFetchSize, ???) ; SDB.getContext().setIfUndef(annotateGeneratedSQL, true) ; //SDB.getContext().setIfUndef(unionDefaultGraph, false) ; AssemblerVocab.init(); JenaSystem.logLifecycle("SDB.init - finish") ; } }