Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// MemoryRemoteDocumentCache.java
while (iterator.hasNext()) {
...
if (!query.matches(doc)) {
continue;
}
result = result.insert(doc.getKey(), doc.clone());
}
// SQLiteRemoteDocumentCache.java
sqlQuery.forEach(
row -> {
...
if (document.isFoundDocument() && query.matches(document)) {
...
}
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment