Class SqliteAticGraph

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

public class SqliteAticGraph extends Object implements de.dfki.sds.atic.jenatic.AticGraph
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.jena.graph.Node
     
    static boolean
     

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

    emptyGraph
  • Constructor Summary

    Constructors
    Constructor
    Description
    SqliteAticGraph(List<de.dfki.sds.atic.api.IdAndUri> idAndUris, SqliteAticDatasetGraph datasetGraph)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Iterator<org.apache.jena.graph.Triple> iter, de.dfki.sds.atic.jenatic.InvocationContext ctx, int bufferSize, int batchSize, int parallelism)
     
    void
    add(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    List<org.apache.jena.graph.Node>
     
    org.apache.jena.riot.system.StreamRDF
    asStreamRDF(de.dfki.sds.atic.jenatic.InvocationContext ctx, int bufferSize, int batchSize, int parallelism)
     
    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)
     
    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.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, Integer spoLimit, Integer spoOffset, Integer splLimit, Integer splOffset, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
    find(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
    findSPL(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, Integer limit, Integer offset, boolean edit, Consumer<de.dfki.sds.atic.api.IdAndUriTriple> dbTripleConsumer, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
    findSPO(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, Integer limit, Integer offset, boolean edit, Consumer<de.dfki.sds.atic.api.IdAndUriTriple> dbTripleConsumer, de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    static int
     
    static int
     
    org.apache.jena.graph.GraphEventManager
     
    org.apache.jena.shared.PrefixMapping
    getPrefixMapping(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    org.apache.jena.graph.TransactionHandler
     
    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)
     
    static void
    setDefaultBatchSize(int defaultBatchSize)
     
    static void
     
    static void
    setDefaultBufferSize(int defaultBufferSize)
     
    int
    size(de.dfki.sds.atic.jenatic.InvocationContext ctx)
     
    static void
    valid(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
     
    static void
    valid(org.apache.jena.graph.Triple t)
     

    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
  • Field Details

    • ATIC_CONFIDENCE

      public static final org.apache.jena.graph.Node ATIC_CONFIDENCE
  • Constructor Details

  • Method Details

    • 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
    • add

      public void add(Iterator<org.apache.jena.graph.Triple> iter, de.dfki.sds.atic.jenatic.InvocationContext ctx, int bufferSize, int batchSize, int parallelism)
    • asStreamRDF

      public org.apache.jena.riot.system.StreamRDF asStreamRDF(de.dfki.sds.atic.jenatic.InvocationContext ctx, int bufferSize, int batchSize, int parallelism)
    • 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
    • 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
    • clear

      public void clear(de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      clear 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
    • 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, Integer spoLimit, Integer spoOffset, Integer splLimit, Integer splOffset, de.dfki.sds.atic.jenatic.InvocationContext ctx)
    • findSPO

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> findSPO(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, Integer limit, Integer offset, boolean edit, Consumer<de.dfki.sds.atic.api.IdAndUriTriple> dbTripleConsumer, de.dfki.sds.atic.jenatic.InvocationContext ctx)
    • findSPL

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> findSPL(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, Integer limit, Integer offset, boolean edit, Consumer<de.dfki.sds.atic.api.IdAndUriTriple> dbTripleConsumer, de.dfki.sds.atic.jenatic.InvocationContext ctx)
    • 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
    • size

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

      public static void valid(org.apache.jena.graph.Triple t)
    • valid

      public static void valid(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
    • 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
    • find

      public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Triple t, de.dfki.sds.atic.jenatic.InvocationContext ctx)
      Specified by:
      find 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
    • 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
    • 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
    • getTransactionHandler

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

      public org.apache.jena.graph.GraphEventManager getEventManager()
      Specified by:
      getEventManager in interface org.apache.jena.graph.Graph
    • 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
    • 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
    • getDefaultBufferSize

      public static int getDefaultBufferSize()
    • setDefaultBufferSize

      public static void setDefaultBufferSize(int defaultBufferSize)
    • getDefaultBatchSize

      public static int getDefaultBatchSize()
    • setDefaultBatchSize

      public static void setDefaultBatchSize(int defaultBatchSize)
    • setDefaultBufferAndBatchSize

      public static void setDefaultBufferAndBatchSize(int defaultSize)
    • asNodes

      public List<org.apache.jena.graph.Node> asNodes()