[ https://issues.apache.org/jira/browse/CASSANDRA-9016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
C. Scott Andreas updated CASSANDRA-9016: ---------------------------------------- Component/s: Core > QueryHandler interface misses parseStatement() > ---------------------------------------------- > > Key: CASSANDRA-9016 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9016 > Project: Cassandra > Issue Type: Wish > Components: Core > Reporter: Robert Stupp > Priority: Minor > > {{QueryHandler}} is missing the method {{parseStatement()}} as implemented by > {{QueryProcessor}}. This is a bit strange when looking into the code in > {{BatchMessage.execute}} which uses {{QueryProcessor.parseStatement}} for > {{String}}s but {{QueryHandler}} for prepared statements: > {code} > if (query instanceof String) > { > p = QueryProcessor.parseStatement((String)query, state); > } > else > { > p = handler.getPrepared((MD5Digest)query); > if (p == null) > throw new > PreparedQueryNotFoundException((MD5Digest)query); > } > {code} > Note: this is not an issue right now, more a note that handling in > {{BatchMessage}} is different. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org