accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Stoneham (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-1730) ColumnVisibility parse tree not always correct
Date Thu, 19 Sep 2013 18:43:51 GMT
John Stoneham created ACCUMULO-1730:

             Summary: ColumnVisibility parse tree not always correct 
                 Key: ACCUMULO-1730
             Project: Accumulo
          Issue Type: Bug
          Components: client
    Affects Versions: 1.5.0, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0
            Reporter: John Stoneham
            Priority: Minor

Trying to do some transformations on visibility strings and running into issues working with
the parse tree:

Clojure 1.5.1
user=> (import [ ColumnVisibility])
user=> (def vis (ColumnVisibility. "(W)|(U|V)"))
user=> (.getTermStart (first (.getChildren (.getParseTree vis))))
user=> (.getTermEnd (first (.getChildren (.getParseTree vis))))
user=> (.getTermStart (second (.getChildren (.getParseTree vis))))
user=> (.getTermEnd (second (.getChildren (.getParseTree vis))))

Shouldn't those last two be 5 and 8?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message