|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.trippi.TripleUpdate
public class TripleUpdate
A single Triple and a type, indicating whether it is to be
added or deleted from the triplestore.
This is the internal structure used for the TriplestoreWriter
buffer. Applications registering a FlushErrorHandler may
will recieve a list of these when a flush error occurs.
| Field Summary | |
|---|---|
static int |
ADD
Type value indicating that the triple is to be added. |
static int |
DELETE
Type value indicating that the triple is to be deleted. |
static int |
NONE
|
org.jrdf.graph.Triple |
triple
The Triple to be added or deleted. |
int |
type
Which type of update (ADD or DELETE) this is. |
| Method Summary | |
|---|---|
static java.util.List |
get(int type,
java.util.List triples)
Get a list of TripleUpdates of a certain type given
a list of Triples. |
static TripleUpdate |
get(int type,
org.jrdf.graph.Triple triple)
Get a TripleUpdate of a certain type given a
Triple. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NONE
public static final int DELETE
public static final int ADD
public int type
public org.jrdf.graph.Triple triple
Triple to be added or deleted.
| Method Detail |
|---|
public static TripleUpdate get(int type,
org.jrdf.graph.Triple triple)
TripleUpdate of a certain type given a
Triple.
public static java.util.List get(int type,
java.util.List triples)
TripleUpdates of a certain type given
a list of Triples.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||