-
Notifications
You must be signed in to change notification settings - Fork 29
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
FMWK-425 Document FilterOperations #748
Conversation
agrgr
commented
May 28, 2024
- Document FilterOperations
- Update logging
@@ -454,6 +507,10 @@ public Filter sIndexFilter(Map<QualifierKey, Object> qualifierMap) { | |||
return null; // not supported | |||
} | |||
}, | |||
/** | |||
* For use in queries "find records where Map key <...> has value equal to a given object". The Map can be a whole | |||
* bin or part of it (nested inside one or more Lists or other Maps). Maps in the database represent also POJOs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maps in the database represent also POJOs.
I think its not clear enough, I would change that to something like "Maps in Aerospike database can represent a Map or an entire POJO".
The same phrase is used many times in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rephrased a bit differently
@@ -140,7 +140,7 @@ private boolean isIndexedBin(Statement stmt, Qualifier qualifier) { | |||
} | |||
|
|||
if (log.isDebugEnabled() && hasField) { | |||
log.debug("Query #{}, bin {}.{}.{} has secondary index: {}", | |||
log.debug("Qualifier #{}, bin {}.{}.{} has secondary index: {}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does printing Qualifier Hashcode has any meaning from the user's perspective? does it help us in debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hashcode serves as a unique identifier to help find other log messages related to the qualifier.