Class PersistentSecondarySortedLoadConsumer
java.lang.Object
com.semedy.reasoner.edb.persistentstore.PersistentSecondarySortedLoadConsumer
- All Implemented Interfaces:
ExternalSortTuplesConsumer
public class PersistentSecondarySortedLoadConsumer
extends Object
implements ExternalSortTuplesConsumer
load consumer for adding tuples iterative to an index
- Author:
- Juergen
-
Constructor Summary
ConstructorsConstructorDescriptionPersistentSecondarySortedLoadConsumer
(PersistentSecondarySortedIndex index, int arity) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToIndex
(LongArrayList arraylist) void
close()
void
consume
(byte[] tuple) void
consume
(long[] tuple) void
init()
-
Constructor Details
-
PersistentSecondarySortedLoadConsumer
-
-
Method Details
-
consume
- Specified by:
consume
in interfaceExternalSortTuplesConsumer
- Throws:
IOException
EDBException
-
close
- Specified by:
close
in interfaceExternalSortTuplesConsumer
- Throws:
IOException
EDBException
-
init
- Specified by:
init
in interfaceExternalSortTuplesConsumer
- Throws:
IOException
-
addToIndex
- Throws:
IOException
EDBException
-
consume
- Specified by:
consume
in interfaceExternalSortTuplesConsumer
- Throws:
IOException
EDBException
-