-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with queries that are bigger than 2GB (#266)
* Update QuerySource hashing functions * Update hash tests * Add query size limitation for reading queries as string * Put query indices in record class instead of long array * Fix test * Delegate QueryIndex to its own class * Make InMemQueryList store queries in byte arrays instead of strings * Add shallow copy for BigByteArrayOutputStream * Add available methods for BigByteArrayInputStream * Fix shallow copy * Fix available method * Make BigByteArrayInputStream use a ByteBuffer * Change RequestFactory * Make StreamEntityProducer to not fully read in stream * Fix test * Try to speedup indexing * Remove hash code file * Remove unnecessary exception * Change ByteArrayListInputStream * Use ByteArrayListInputStreams for storing queries instead of ByteArrayOutputStreams * Fix tests * Speed up FileUtils again * Add doc mentioning limitations * Fix function * Remove unused methods and add comments * Use constants * Change title and move paragraph * Complete last commit * Fix test
- Loading branch information
Showing
16 changed files
with
402 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.aksw.iguana.cc.utils.files; | ||
|
||
public record QueryIndex(long filePosition, long queryLength) { | ||
} |
Oops, something went wrong.