Package com.semedy.reasoner.api.edb
Class FileSorter
java.lang.Object
com.semedy.reasoner.api.edb.FileSorter
- All Implemented Interfaces:
ExternalSortConsumer
-
Constructor Summary
ConstructorDescriptionFileSorter
(Map<String, String> indexToPredicate, Map<String, Partitioning> partitions, InvertedIndices invertedIndices, String tempDir, ExtensionalDB edb) -
Method Summary
-
Constructor Details
-
FileSorter
public FileSorter(Map<String, String> indexToPredicate, Map<String, Partitioning> partitions, InvertedIndices invertedIndices, String tempDir, ExtensionalDB edb)
-
-
Method Details
-
consume
- Specified by:
consume
in interfaceExternalSortConsumer
- Throws:
IOException
EDBException
-
getResultFiles
get result files per predicate- Returns:
-
close
- Specified by:
close
in interfaceExternalSortConsumer
- Throws:
IOException
-
clear
public void clear() -
init
- Specified by:
init
in interfaceExternalSortConsumer
- Throws:
IOException
-