R
- public static class AbstractElementBuffer.DeleteBuffer<R> extends AbstractElementBuffer<R>
IMutableRelation.delete(IChunkedOrderedIterator)
when it is flushed
.AbstractElementBuffer.DeleteBuffer<R>, AbstractElementBuffer.InsertBuffer<R>
Modifier | Constructor and Description |
---|---|
protected |
AbstractElementBuffer.DeleteBuffer(int capacity,
IMutableRelation<R> relation,
IKeyOrder<R> keyOrder,
IElementFilter<R> filter)
Ctor variant used when you have a strong guarantee of the
order in which the elements will be written into the buffer.
|
Modifier and Type | Method and Description |
---|---|
protected long |
flush(IChunkedOrderedIterator<R> itr)
Concrete implementations must process the elements, causing the
appropriate mutation on the target
IRelation . |
flush, getKeyOrder, getRelation
protected AbstractElementBuffer.DeleteBuffer(int capacity, IMutableRelation<R> relation, IKeyOrder<R> keyOrder, IElementFilter<R> filter)
capacity
- relation
- keyOrder
- protected long flush(IChunkedOrderedIterator<R> itr)
AbstractElementBuffer
IRelation
.
Note: The elements generally appear in an arbitrary order and need to be
sorted into ordered chunks using IKeyOrder.getComparator()
for
the desired natural order(s).
flush
in class AbstractElementBuffer<R>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.