You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bill (JIRA)" <ji...@apache.org> on 2018/10/16 17:50:00 UTC

[jira] [Created] (GEODE-5881) consolidate DefaultQuery.TestHook methods

Bill created GEODE-5881:
---------------------------

             Summary: consolidate DefaultQuery.TestHook methods
                 Key: GEODE-5881
                 URL: https://issues.apache.org/jira/browse/GEODE-5881
             Project: Geode
          Issue Type: Task
          Components: querying
            Reporter: Bill
             Fix For: 1.8.0


{{DefaultQuery.TestHook}} (interface) defines three methods. They all take a "spot" identifier. But some take an {{int}} as the identifier and others take a {{String}}.

When this task is complete, all the methods will use an {{enum}} to identify the spot. The benefit will be that we'll have more readable identifiers (than the ints) and we'll be able to {{switch}} on the spot id instead of using conditionals and {{equals()}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)