public class LuceneSailBuffer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LuceneSailBuffer.AddRemoveOperation |
static class |
LuceneSailBuffer.ClearContextOperation |
static class |
LuceneSailBuffer.ClearOperation |
static class |
LuceneSailBuffer.Operation |
Constructor and Description |
---|
LuceneSailBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
add(Statement s)
Add this statement to the buffer
|
void |
clear(Resource[] contexts) |
List<LuceneSailBuffer.Operation> |
operations()
the list of operations.
|
Iterator<LuceneSailBuffer.Operation> |
operationsIterator()
Iterator over the operations
|
void |
optimize()
Optimize will remove any changes that are done before a clear()
|
void |
remove(Statement s)
Remove this statement to the buffer
|
void |
reset()
reset the buffer, empty the operations list
|
public void add(Statement s)
s
- the statementpublic void remove(Statement s)
s
- the statementpublic void clear(Resource[] contexts)
public Iterator<LuceneSailBuffer.Operation> operationsIterator()
public List<LuceneSailBuffer.Operation> operations()
public void optimize()
public void reset()
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.