Package org.eclipse.rdf4j.sail.lucene
Class LuceneSailBuffer
java.lang.Object
org.eclipse.rdf4j.sail.lucene.LuceneSailBuffer
Deprecated.
This feature is for internal use only: its existence, signature or behavior may change without warning
from one release to the next.
A buffer collecting all transaction operations (triples that need to be added, removed, clear operations) so that
they can be executed at once during commit.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated.static class
Deprecated.static class
Deprecated.private static class
Deprecated.static class
Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayList
<LuceneSailBuffer.Operation> Deprecated.private final boolean
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Add this statement to the buffervoid
addTypeStatement
(Statement s, boolean rightType) Deprecated.Add this type statement to the buffervoid
Deprecated.Deprecated.the list of operations.Deprecated.Iterator over the operationsvoid
optimize()
Deprecated.Optimize will remove any changes that are done before a clear()void
Deprecated.Remove this statement to the buffervoid
Deprecated.Remove this type statement to the buffervoid
reset()
Deprecated.reset the buffer, empty the operations list
-
Field Details
-
operations
Deprecated. -
useType
private final boolean useTypeDeprecated.
-
-
Constructor Details
-
LuceneSailBuffer
public LuceneSailBuffer()Deprecated. -
LuceneSailBuffer
public LuceneSailBuffer(boolean useType) Deprecated.
-
-
Method Details
-
add
Deprecated.Add this statement to the buffer- Parameters:
s
- the statement
-
addTypeStatement
Deprecated.Add this type statement to the buffer- Parameters:
s
- the statement
-
remove
Deprecated.Remove this statement to the buffer- Parameters:
s
- the statement
-
removeTypeStatement
Deprecated.Remove this type statement to the buffer- Parameters:
s
- the statement
-
clear
Deprecated. -
operationsIterator
Deprecated.Iterator over the operations -
operations
Deprecated.the list of operations. You must not change it -
optimize
public void optimize()Deprecated.Optimize will remove any changes that are done before a clear() -
reset
public void reset()Deprecated.reset the buffer, empty the operations list
-