Module org.apache.jena.arq
Package org.apache.jena.sparql.core.mem
Class OrderedTupleTable<TupleType,ConsumerType>
java.lang.Object
org.apache.jena.sparql.core.mem.OrderedTupleTable<TupleType,ConsumerType>
- Type Parameters:
TupleType
- the tuple type in which an instance of this class works, typicallyTriple
orQuad
ConsumerType
- a consumer type that can accept the elements of aTupleType
, typicallyTConsumer3
orTConsumer4
- All Implemented Interfaces:
TransactionalComponent
,TupleTable<TupleType>
- Direct Known Subclasses:
PMapTupleTable
public abstract class OrderedTupleTable<TupleType,ConsumerType>
extends Object
implements TupleTable<TupleType>
A table of
TupleType
tuples that uses an internal order recorded via TupleMap
. In this code, names
g
, s
, p
and o
are used for the components of a tuple in canonical order, and
x1
through x4
are used for the components of a tuple in internal order.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.sparql.core.mem.TransactionalComponent
begin, commit, end
Methods inherited from interface org.apache.jena.sparql.core.mem.TupleTable
abort, add, clear, delete
-
Constructor Details
-
OrderedTupleTable
public OrderedTupleTable(org.apache.jena.atlas.lib.tuple.TupleMap order) - Parameters:
order
- the order of elements in this table
-