Class PMapQuadTable

    • Constructor Detail

      • PMapQuadTable

        public PMapQuadTable​(java.lang.String order)
        Parameters:
        order - an internal order for this table
      • PMapQuadTable

        public PMapQuadTable​(java.lang.String canonical,
                             java.lang.String order)
        Parameters:
        canonical - the canonical order outside this table
        order - the internal order for this table
      • PMapQuadTable

        public PMapQuadTable​(java.lang.String tableName,
                             org.apache.jena.atlas.lib.tuple.TupleMap order)
        Parameters:
        tableName - a name for this table
        order - the order of elements in this table
    • Method Detail

      • add

        public void add​(Quad q)
        Description copied from interface: TupleTable
        Add a tuple to the table
        Specified by:
        add in interface TupleTable<Quad>
        Parameters:
        q - the tuple to add
      • delete

        public void delete​(Quad q)
        Description copied from interface: TupleTable
        Remove a tuple from the table
        Specified by:
        delete in interface TupleTable<Quad>
        Parameters:
        q - the tuple to remove
      • find

        public java.util.stream.Stream<Quad> find​(Node g,
                                                  Node s,
                                                  Node p,
                                                  Node o)
        Description copied from interface: QuadTable
        Search the table using a pattern of slots. Node.ANY or null will work as a wildcard.
        Specified by:
        find in interface QuadTable
        Parameters:
        g - the graph node of the pattern
        s - the subject node of the pattern
        p - the predicate node of the pattern
        o - the object node of the pattern
        Returns:
        an Stream of matched quads