Class PMapTripleTable

    • Constructor Detail

      • PMapTripleTable

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

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

        public PMapTripleTable​(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​(Triple t)
        Description copied from interface: TupleTable
        Add a tuple to the table
        Specified by:
        add in interface TupleTable<Triple>
        Parameters:
        t - the tuple to add
      • delete

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

        public java.util.stream.Stream<Triple> find​(Node s,
                                                    Node p,
                                                    Node o)
        Description copied from interface: TripleTable
        Search the table using a pattern of slots. Node.ANY or null will work as a wildcard.
        Specified by:
        find in interface TripleTable
        Parameters:
        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 triples