|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<StatementEnum>
com.bigdata.rdf.model.StatementEnum
public enum StatementEnum
The basic statement types are: axioms, explicit, inferred.
| Enum Constant Summary | |
|---|---|
Axiom
Something that is directly entailed by the appropriate model theory. |
|
Backchained
For debugging. |
|
Explicit
A statement that was inserted into the database explicitly by the application. |
|
Inferred
A statement that was inferred from the explicit statements by the appropriate model theory. |
|
| Field Summary | |
|---|---|
static int |
MASK_OVERRIDE
A bit mask used to isolate the bit that indicates that the existing statement type should be overridden thereby allowing the downgrade of a statement from explicit to inferred. |
| Method Summary | |
|---|---|
byte |
code()
|
static StatementEnum |
decode(byte b)
Decode a byte into a StatementEnum. |
static StatementEnum |
deserialize(byte[] val)
|
static boolean |
isOverride(byte b)
Return true iff the override bit is set. |
static StatementEnum |
max(StatementEnum a,
StatementEnum b)
Max returns the value that is first in the total order Explicit Axiom Inferred |
byte[] |
serialize()
|
static StatementEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StatementEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StatementEnum Explicit
public static final StatementEnum Axiom
public static final StatementEnum Inferred
public static final StatementEnum Backchained
| Field Detail |
|---|
public static final int MASK_OVERRIDE
| Method Detail |
|---|
public static StatementEnum[] values()
for (StatementEnum c : StatementEnum.values()) System.out.println(c);
public static StatementEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic byte code()
public static StatementEnum max(StatementEnum a,
StatementEnum b)
a - b -
public static StatementEnum decode(byte b)
StatementEnum.
Note: The override bit is masked off during this operation.
b - The byte.
StatementEnum value.public static StatementEnum deserialize(byte[] val)
public byte[] serialize()
public static boolean isOverride(byte b)
true iff the override bit is set.
b - The byte.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||