Class LocalFilesystemVirtualGraph

java.lang.Object
de.dfki.sds.aticsqlite.vkg.LocalFilesystemVirtualGraph
All Implemented Interfaces:
de.dfki.sds.atic.jenatic.AticGraph, de.dfki.sds.atic.jenatic.AticVirtualGraph, org.apache.jena.graph.Graph

public class LocalFilesystemVirtualGraph extends Object implements de.dfki.sds.atic.jenatic.AticVirtualGraph
  • Field Summary

    Fields inherited from interface org.apache.jena.graph.Graph

    emptyGraph
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocalFilesystemVirtualGraph(de.dfki.sds.atic.api.UriMapper<File> fileUriMapper)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    void
    clear(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    void
    close(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    boolean
    contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    boolean
    contains(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    static de.dfki.sds.atic.jenatic.AticGraph
    create(String uri, String config, SqliteAticDatasetGraph parent)
     
    final void
     
    void
    delete(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    boolean
    dependsOn(org.apache.jena.graph.Graph other, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
    find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
    find(org.apache.jena.graph.Triple triple, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.rdf.model.Resource
     
    org.apache.jena.rdf.model.Resource
     
    org.apache.jena.graph.GraphEventManager
     
    de.dfki.sds.atic.api.UriMapper<File>
     
    org.apache.jena.shared.PrefixMapping
    getPrefixMapping(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.rdf.model.Property
     
    org.apache.jena.rdf.model.Property
     
    org.apache.jena.rdf.model.Property
     
    org.apache.jena.rdf.model.Property
     
    org.apache.jena.rdf.model.Property
     
    org.apache.jena.rdf.model.Property
     
    org.apache.jena.graph.TransactionHandler
     
    de.dfki.sds.atic.jenatic.AticVirtualGraphResponse
    handleRequest(String method, String path, Map<String,List<String>> queryParamMap, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    boolean
    isClosed(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    boolean
    isEmpty(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    boolean
    isIsomorphicWith(org.apache.jena.graph.Graph g, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    void
    remove(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    void
    setClassFile(org.apache.jena.rdf.model.Resource classFile)
     
    void
    setClassFolder(org.apache.jena.rdf.model.Resource classFolder)
     
    void
    setPropertyBelongsToContainer(org.apache.jena.rdf.model.Property propertyBelongsToContainer)
     
    void
    setPropertyContains(org.apache.jena.rdf.model.Property propertyContains)
     
    void
    setPropertyFileName(org.apache.jena.rdf.model.Property propertyFileName)
     
    void
    setPropertyHidden(org.apache.jena.rdf.model.Property propertyHidden)
     
    void
    setPropertyLabel(org.apache.jena.rdf.model.Property propertyLabel)
     
    void
    setPropertyPrefLabel(org.apache.jena.rdf.model.Property propertyPrefLabel)
     
    int
    size(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.dfki.sds.atic.jenatic.AticGraph

    add, clear, close, contains, contains, delete, dependsOn, find, find, getPrefixMapping, isClosed, isEmpty, isIsomorphicWith, remove, size

    Methods inherited from interface org.apache.jena.graph.Graph

    add, delete, find, getCapabilities, sizeLong, stream, stream
  • Constructor Details

    • LocalFilesystemVirtualGraph

      public LocalFilesystemVirtualGraph(String host)
    • LocalFilesystemVirtualGraph

      public LocalFilesystemVirtualGraph(de.dfki.sds.atic.api.UriMapper<File> fileUriMapper)
  • Method Details

    • defaultProperties

      public final void defaultProperties()
    • find

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Triple triple, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      find in interface de.dfki.sds.atic.jenatic.AticGraph
    • find

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      find in interface de.dfki.sds.atic.jenatic.AticGraph
    • contains

      public boolean contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      contains in interface de.dfki.sds.atic.jenatic.AticGraph
    • contains

      public boolean contains(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      contains in interface de.dfki.sds.atic.jenatic.AticGraph
    • isEmpty

      public boolean isEmpty(de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      isEmpty in interface de.dfki.sds.atic.jenatic.AticGraph
    • size

      public int size(de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      size in interface de.dfki.sds.atic.jenatic.AticGraph
    • getTransactionHandler

      public org.apache.jena.graph.TransactionHandler getTransactionHandler()
      Specified by:
      getTransactionHandler in interface org.apache.jena.graph.Graph
    • getPropertyLabel

      public org.apache.jena.rdf.model.Property getPropertyLabel()
    • setPropertyLabel

      public void setPropertyLabel(org.apache.jena.rdf.model.Property propertyLabel)
    • getPropertyPrefLabel

      public org.apache.jena.rdf.model.Property getPropertyPrefLabel()
    • setPropertyPrefLabel

      public void setPropertyPrefLabel(org.apache.jena.rdf.model.Property propertyPrefLabel)
    • getPropertyFileName

      public org.apache.jena.rdf.model.Property getPropertyFileName()
    • setPropertyFileName

      public void setPropertyFileName(org.apache.jena.rdf.model.Property propertyFileName)
    • getPropertyHidden

      public org.apache.jena.rdf.model.Property getPropertyHidden()
    • setPropertyHidden

      public void setPropertyHidden(org.apache.jena.rdf.model.Property propertyHidden)
    • getPropertyBelongsToContainer

      public org.apache.jena.rdf.model.Property getPropertyBelongsToContainer()
    • setPropertyBelongsToContainer

      public void setPropertyBelongsToContainer(org.apache.jena.rdf.model.Property propertyBelongsToContainer)
    • getPropertyContains

      public org.apache.jena.rdf.model.Property getPropertyContains()
    • setPropertyContains

      public void setPropertyContains(org.apache.jena.rdf.model.Property propertyContains)
    • getClassFile

      public org.apache.jena.rdf.model.Resource getClassFile()
    • setClassFile

      public void setClassFile(org.apache.jena.rdf.model.Resource classFile)
    • getClassFolder

      public org.apache.jena.rdf.model.Resource getClassFolder()
    • setClassFolder

      public void setClassFolder(org.apache.jena.rdf.model.Resource classFolder)
    • getFileUriMapper

      public de.dfki.sds.atic.api.UriMapper<File> getFileUriMapper()
    • dependsOn

      public boolean dependsOn(org.apache.jena.graph.Graph other, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      dependsOn in interface de.dfki.sds.atic.jenatic.AticGraph
    • getEventManager

      public org.apache.jena.graph.GraphEventManager getEventManager()
      Specified by:
      getEventManager in interface org.apache.jena.graph.Graph
    • getPrefixMapping

      public org.apache.jena.shared.PrefixMapping getPrefixMapping(de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      getPrefixMapping in interface de.dfki.sds.atic.jenatic.AticGraph
    • add

      public void add(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      add in interface de.dfki.sds.atic.jenatic.AticGraph
    • delete

      public void delete(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      delete in interface de.dfki.sds.atic.jenatic.AticGraph
    • isIsomorphicWith

      public boolean isIsomorphicWith(org.apache.jena.graph.Graph g, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      isIsomorphicWith in interface de.dfki.sds.atic.jenatic.AticGraph
    • clear

      public void clear(de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      clear in interface de.dfki.sds.atic.jenatic.AticGraph
    • remove

      public void remove(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      remove in interface de.dfki.sds.atic.jenatic.AticGraph
    • close

      public void close(de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      close in interface de.dfki.sds.atic.jenatic.AticGraph
    • isClosed

      public boolean isClosed(de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      isClosed in interface de.dfki.sds.atic.jenatic.AticGraph
    • create

      public static de.dfki.sds.atic.jenatic.AticGraph create(String uri, String config, SqliteAticDatasetGraph parent)
    • handleRequest

      public de.dfki.sds.atic.jenatic.AticVirtualGraphResponse handleRequest(String method, String path, Map<String,List<String>> queryParamMap, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      handleRequest in interface de.dfki.sds.atic.jenatic.AticVirtualGraph