|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 TripleUpdate s of a certain type given
a list of Triple s. |
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)
TripleUpdate
s of a certain type given
a list of Triple
s.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |