public class Join
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
limitSizeMultiplier
Constant used to determine the join limit size
|
Constructor and Description |
---|
Join(JoinConstraint[] constraints)
Create a join
|
Modifier and Type | Method and Description |
---|---|
static Join |
copy(Join join)
Copy a join
|
java.util.List<ConstrainedTriples> |
extend(JoinConstraint[] newConstraints,
TripleStore store,
StoreSession session)
Extend the join by adding new constraints, and make
the extended join.
|
ConstrainedTriples |
getConstrainedTriples(Triple[] triples,
StoreSession session)
Get a constrained triples record from a triples array.
|
java.util.List<ConstrainedTriples> |
make(TripleStore store,
StoreSession session)
Make the join
|
java.util.List<ConstrainedTriples> |
make(TripleStore store,
StoreSession session,
boolean test) |
public static final int limitSizeMultiplier
public Join(JoinConstraint[] constraints) throws TripleStoreNonFatalException
constraints
- the constraints that are applied in the joinTripleStoreNonFatalException
public static Join copy(Join join) throws TripleStoreNonFatalException
join
- the join to be copiedTripleStoreNonFatalException
public java.util.List<ConstrainedTriples> make(TripleStore store, StoreSession session) throws JoinException, TripleStoreNonFatalException, TripleStoreFatalException, SourceConnectorException, NotInOperationException
store
- the triple store to whose triples the constraints
are to be appliedsession
- the requesting store session.JoinException
TripleStoreNonFatalException
TripleStoreFatalException
SourceConnectorException
NotInOperationException
public java.util.List<ConstrainedTriples> make(TripleStore store, StoreSession session, boolean test) throws JoinException, TripleStoreNonFatalException, TripleStoreFatalException, SourceConnectorException, NotInOperationException
public java.util.List<ConstrainedTriples> extend(JoinConstraint[] newConstraints, TripleStore store, StoreSession session) throws JoinException, TripleStoreNonFatalException, TripleStoreFatalException, SourceConnectorException, NotInOperationException
newConstraints
- new constraints to be added to
the joinstore
- the triple store in which the join is
being extendedsession
- the requesting store sessionJoinException
TripleStoreNonFatalException
TripleStoreFatalException
SourceConnectorException
NotInOperationException
public ConstrainedTriples getConstrainedTriples(Triple[] triples, StoreSession session) throws TripleStoreNonFatalException, TripleStoreFatalException, SourceConnectorException, NotInOperationException
triples
- an array of triples that correspond to the
constraints of the join.session
- the requesting store sessionTripleStoreNonFatalException
TripleStoreFatalException
SourceConnectorException
NotInOperationException