01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.memory.model;
07:
08: /**
09: * A type-safe enumeration for read modes for MemStatementIterator.
10: *
11: * @see MemStatementIterator
12: */
13: public enum ReadMode {
14:
15: /**
16: * Constant indicating that only committed statements should be read.
17: * Statements that have been added but not yet committed will be skipped.
18: */
19: COMMITTED,
20:
21: /**
22: * Constant indicating that statements should be treated as if the currently
23: * active transaction has been committed. Statements that have been
24: * scheduled for removal will be skipped.
25: */
26: TRANSACTION,
27:
28: /**
29: * Constant indicating that statements should be read no matter what their
30: * transaction status is.
31: */
32: RAW;
33: }
|