-
Notifications
You must be signed in to change notification settings - Fork 617
Apply bloom filter on existence filter mismatch #4601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
milaGGL
merged 32 commits into
mila/BloomFilter
from
mila/BloomFilter-apply-bloom-filter
Feb 9, 2023
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
de70b05
Implement BloomFilter class
milaGGL 44299ec
add golden test
milaGGL 3e3d2b0
Remove BigInteger
milaGGL 0a3c6f9
resolve comments
milaGGL be7071c
removed UnsignedLong class
milaGGL ffe0a1d
make methods private
milaGGL b50b49a
add javadocs
milaGGL 1099d17
resolve comments
milaGGL 2f5d335
format
milaGGL 3c81c7d
resolve comments
milaGGL 5305332
Merge branch 'mila/BloomFilter' into mila/BloomFilter-implement-Bloom…
milaGGL 5f66d92
resolve comments
milaGGL be8ebed
format
milaGGL 7eb326f
fix format
milaGGL ff97c00
upload initial code
milaGGL f876824
format
milaGGL d7806f3
add expectedCount assertion to spec test
milaGGL e0c6fc0
resolve comments
milaGGL ae7edd0
port spec tests
milaGGL 89fb871
Merge branch 'mila/BloomFilter' into mila/BloomFilter-add-expectedCou…
milaGGL 187fb22
Merge branch 'mila/BloomFilter-implement-BloomFilter-class' into mila…
milaGGL 4e6fb97
upload initial code
milaGGL 2cee1ab
format
milaGGL feaac10
Merge branch 'mila/BloomFilter' into mila/BloomFilter-apply-bloom-filter
milaGGL 0917418
replace null check to hasBits()
milaGGL d47ea48
Merge branch 'mila/BloomFilter' into mila/BloomFilter-apply-bloom-filter
milaGGL 1c4ed44
get full path using databaseId
milaGGL 9bebd98
remove unnecessary code
milaGGL 66bfff9
skip invalid_base64_bitmap spec test
milaGGL 44e03bf
resolve comments
milaGGL f75e734
remove noices introduced by wrong line wrapping on comments
milaGGL 1f34778
resolve comments
milaGGL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
23 changes: 23 additions & 0 deletions
23
...se-firestore/src/main/java/com/google/firebase/firestore/remote/BloomFilterException.java
This file contains hidden or 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,23 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package com.google.firebase.firestore.remote; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
public class BloomFilterException extends RuntimeException { | ||
public BloomFilterException(@NonNull String detailMessage) { | ||
super(detailMessage); | ||
} | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.