Package org.aksw.deer.io
Class SparqlModelWriter
- java.lang.Object
-
- All Implemented Interfaces:
DeerExecutionNode,DeerPlugin,ModelWriter,ParameterizedDeerExecutionNode,ExecutionNode<Model>,Parameterized,Plugin,org.pf4j.ExtensionPoint
@Extension public class SparqlModelWriter extends AbstractModelWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
ExecutionNode.DegreeBounds
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyCREDstatic PropertyCRED_FILEstatic java.lang.StringDEFAULT_GRAPHstatic PropertyENDPOINTstatic PropertyGRAPH_NAMEstatic java.lang.StringGRAPH_STORE_HTTPstatic java.lang.StringMERGEstatic PropertyPWstatic java.lang.StringREPLACEstatic java.lang.StringSPARQLstatic PropertyUSERstatic PropertyWRITE_OPstatic PropertyWRITE_TYPE-
Fields inherited from class org.aksw.deer.io.AbstractModelIO
description, documentationURL
-
-
Constructor Summary
Constructors Constructor Description SparqlModelWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatableParameterMapcreateParameterMap()Create an uninitializedParameterMapto be filled by theExecutionGraphGenerator.java.lang.StringgetDescription()protected java.util.List<Model>safeApply(java.util.List<Model> data)-
Methods inherited from class org.aksw.deer.io.AbstractModelWriter
getDegreeBounds
-
Methods inherited from class org.aksw.deer.io.AbstractModelIO
deepCopy, getDocumentationURL, getType, injectWorkingDirectory, takeWorkingDirectoryFrom
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractParameterizedExecutionNode
getParameterMap, getValidationModelFor, initParameters, isInitialized
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractExecutionNode
apply, getId, getInDegree, getOutDegree, initDegrees, initPluginId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.deer.DeerPlugin
getDocumentationURL
-
Methods inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
apply, deepCopy, getInDegree, getOutDegree, initDegrees
-
Methods inherited from interface org.aksw.faraday_cage.engine.Parameterized
getParameterMap, initParameters, isInitialized
-
Methods inherited from interface org.aksw.faraday_cage.engine.Plugin
getId, getType, initPluginId, isInitialized
-
-
-
-
Field Detail
-
ENDPOINT
public static final Property ENDPOINT
-
WRITE_TYPE
public static final Property WRITE_TYPE
-
WRITE_OP
public static final Property WRITE_OP
-
GRAPH_NAME
public static final Property GRAPH_NAME
-
CRED_FILE
public static final Property CRED_FILE
-
CRED
public static final Property CRED
-
USER
public static final Property USER
-
PW
public static final Property PW
-
REPLACE
public static final java.lang.String REPLACE
- See Also:
- Constant Field Values
-
DEFAULT_GRAPH
public static final java.lang.String DEFAULT_GRAPH
- See Also:
- Constant Field Values
-
SPARQL
public static final java.lang.String SPARQL
- See Also:
- Constant Field Values
-
GRAPH_STORE_HTTP
public static final java.lang.String GRAPH_STORE_HTTP
- See Also:
- Constant Field Values
-
MERGE
public static final java.lang.String MERGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceDeerPlugin- Overrides:
getDescriptionin classAbstractModelIO
-
createParameterMap
public ValidatableParameterMap createParameterMap()
Description copied from interface:ParameterizedCreate an uninitializedParameterMapto be filled by theExecutionGraphGenerator.- Returns:
- uninitialized
ParameterMapcontaining all allowedParameter
-
safeApply
protected java.util.List<Model> safeApply(java.util.List<Model> data)
- Specified by:
safeApplyin classAbstractExecutionNode<Model>
-
-