com.bigdata.rdf.model
Interface BigdataValue

All Superinterfaces:
Serializable, Value
All Known Subinterfaces:
BigdataBNode, BigdataLiteral, BigdataResource, BigdataURI
All Known Implementing Classes:
BigdataBNodeImpl, BigdataLiteralImpl, BigdataResourceImpl, BigdataURIImpl, BigdataValueImpl

public interface BigdataValue
extends Value

An interface which exposes the internal 64-bit long integer identifiers for Values stored within a IRawTripleStore.

Version:
$Id: BigdataValue.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
static long NULL
          A value which corresponds to an unassigned term identifier.
 
Method Summary
 void clearTermId()
          Clears the term identifier to NULL.
 long getTermId()
          Return the term identifier for this value.
 void setTermId(long termId)
          Set the term identifier for this value.
 
Methods inherited from interface org.openrdf.model.Value
stringValue
 

Field Detail

NULL

static final long NULL
A value which corresponds to an unassigned term identifier.

See Also:
IRawTripleStore.NULL, Constant Field Values
Method Detail

getTermId

long getTermId()
Return the term identifier for this value. The term identifier uniquely identifies a Value for a database. Sometimes a TempTripleStore will be used that shares the lexicon with a given database, in which case the same term identifiers will be value for that TempTripleStore.


setTermId

void setTermId(long termId)
Set the term identifier for this value.

Parameters:
termId - The term identifier.
Throws:
IllegalArgumentException - if termId is NULL.
IllegalStateException - if the term identifier is already set to a different non-NULL value.

clearTermId

void clearTermId()
Clears the term identifier to NULL.



Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.