Class RdfDataSourceSpecBasicFromMap<X extends RdfDataSourceSpecBasicMutable<X>>
java.lang.Object
org.aksw.jenax.dataaccess.sparql.factory.datasource.RdfDataSourceSpecBasicFromMap<X>
- All Implemented Interfaces:
org.aksw.commons.util.obj.HasSelf<X>,HasProperties<X>,RdfDataSourceSpecBasic,RdfDataSourceSpecBasicMutable<X>
- Direct Known Subclasses:
RdfDataEngineBuilderBase
public class RdfDataSourceSpecBasicFromMap<X extends RdfDataSourceSpecBasicMutable<X>>
extends Object
implements RdfDataSourceSpecBasicMutable<X>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptioncreate()getMap()<T> TgetProperty(String key) If the db did not yet exist yet and had to be created, delete it after use?setAutoDeleteIfCreated(Boolean onOrOff) If the db did not yet exist yet and had to be created, delete it after use?setDatabase(RDFDatabase rdfDatabase) Set a database for the engine.Hint for which strategy to use when loading data.setLocation(String location) A specification of the location of the data for the data source.setLocationContext(String context) Intended for use with virtual file systems.setProperties(Map<String, ?> values) setProperty(String key, Object value) setTempDir(String tempDir) Set a specific directory to use for temporary data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.util.obj.HasSelf
self
-
Field Details
-
map
-
-
Constructor Details
-
RdfDataSourceSpecBasicFromMap
protected RdfDataSourceSpecBasicFromMap() -
RdfDataSourceSpecBasicFromMap
-
-
Method Details
-
wrap
-
create
-
getMap
-
setEngine
- Specified by:
setEnginein interfaceRdfDataSourceSpecBasicMutable<X extends RdfDataSourceSpecBasicMutable<X>>
-
getLocationContext
- Specified by:
getLocationContextin interfaceRdfDataSourceSpecBasic
-
setLocationContext
Description copied from interface:RdfDataSourceSpecBasicMutableIntended for use with virtual file systems. If given then this is usually the URL of a file system against which to resolve the location. Typically this can be left null.- Specified by:
setLocationContextin interfaceRdfDataSourceSpecBasicMutable<X extends RdfDataSourceSpecBasicMutable<X>>
-
getLocation
- Specified by:
getLocationin interfaceRdfDataSourceSpecBasic
-
setLocation
Description copied from interface:RdfDataSourceSpecBasicMutableA specification of the location of the data for the data source. Typically a file path or an URL.- Specified by:
setLocationin interfaceRdfDataSourceSpecBasicMutable<X extends RdfDataSourceSpecBasicMutable<X>>
-
isAutoDeleteIfCreated
Description copied from interface:RdfDataSourceSpecBasicIf the db did not yet exist yet and had to be created, delete it after use? true = yes- Specified by:
isAutoDeleteIfCreatedin interfaceRdfDataSourceSpecBasic
-
setAutoDeleteIfCreated
Description copied from interface:RdfDataSourceSpecBasicMutableIf the db did not yet exist yet and had to be created, delete it after use? true = yes- Specified by:
setAutoDeleteIfCreatedin interfaceRdfDataSourceSpecBasicMutable<X extends RdfDataSourceSpecBasicMutable<X>>
-
getTempDir
- Specified by:
getTempDirin interfaceRdfDataSourceSpecBasic
-
setTempDir
Description copied from interface:RdfDataSourceSpecBasicMutableSet a specific directory to use for temporary data.- Specified by:
setTempDirin interfaceRdfDataSourceSpecBasicMutable<X extends RdfDataSourceSpecBasicMutable<X>>
-
getEngine
- Specified by:
getEnginein interfaceRdfDataSourceSpecBasic
-
getLoader
- Specified by:
getLoaderin interfaceRdfDataSourceSpecBasic
-
setLoader
Description copied from interface:RdfDataSourceSpecBasicMutableHint for which strategy to use when loading data.- Specified by:
setLoaderin interfaceRdfDataSourceSpecBasicMutable<X extends RdfDataSourceSpecBasicMutable<X>>
-
setDatabase
Description copied from interface:RdfDataSourceSpecBasicMutableSet a database for the engine. The provider database must be supported by the builder implementation.- Specified by:
setDatabasein interfaceRdfDataSourceSpecBasicMutable<X extends RdfDataSourceSpecBasicMutable<X>>
-
getDatabase
- Specified by:
getDatabasein interfaceRdfDataSourceSpecBasic
-
setProperty
- Specified by:
setPropertyin interfaceHasProperties<X extends RdfDataSourceSpecBasicMutable<X>>
-
setProperties
- Specified by:
setPropertiesin interfaceHasProperties<X extends RdfDataSourceSpecBasicMutable<X>>
-
getProperty
- Specified by:
getPropertyin interfaceHasProperties<X extends RdfDataSourceSpecBasicMutable<X>>
-