use operators hash with JITable methods instead of one compare method
add $fn functionality for custom queries