-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expect regex extracted tokens in database bloom filters (#103)
* expect regex extracted tokens in database bloom filters * add RegexExtractedValueTest * remove unnecessary test * TokenizedValue: call tokenizer only when needed, clean up tests * clear up exception message in BloomFilterFromRecord * BloomFilterFromRecord: remove ULong.longValue() from constructor, clarify exception messages. Add tests for exceptions. * set logger level to debug when indexstatement is reached with bloom disabled * remove consumer class and use for loop in TableFilters * use try with resources and add comments on equals methods about DSLContext equality * add Tokenizable interface and decorators, rename BloomFilterFromRecord and make it unconfigurable, make matcher immutable * add missing assertion to test * move method after constructors * fix hard coded filter size and fix testing that different sizes are applied. * refactor code to simplify, add testing for SQL temp table values created by bloom operations * use UncheckedIOException constructor * TableFilters returns a batch that CategoryTableWithFilters executes * add test for SafeBatch * update comments and clean up code, add constructors for RegexLikeCondition * use qualified names update tests * more descriptive naming of methods and variables, update comments, javadoc and exception messages * apply spotless * add missing hashCode() methods * don't wrap jooq.Batch object and execute in CategoryTableWithFilters, remove sout * throw exception if search term filter tokens size larger than expected, remove logcaptor dependency * improve TableFiltersTest and TokensAsStringsTest * allow search term filter tokens to be larger than expected tokens
- Loading branch information
Showing
36 changed files
with
1,458 additions
and
543 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
168 changes: 0 additions & 168 deletions
168
src/main/java/com/teragrep/pth_06/planner/TableFilters.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.