Issue Details (XML | Word | Printable)

Key: GALAXY-241
Type: Improvement Improvement
Status: Open Open
Priority: To be reviewed To be reviewed
Assignee: Dan Diephouse
Reporter: Dan Diephouse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Galaxy

Support functions in queries

Created: 05/May/08 01:35 PM   Updated: 13/Aug/08 10:14 PM
Component/s: Core
Affects Version/s: 1.0-beta-3
Fix Version/s: 1.x Backlog

Time Tracking:
Not Specified

Labels:
User impact: High


 Description  « Hide
I was struggling to understand how we might make searching a little bit more powerful today and I was thinking that maybe it would help if we introduced functions. Let me try to explain via two use cases.

1. Find a JAR which has a method annotated with @Foo

In GQL this would become something like.

select artifact where jar:methodIsAnnotatedWith(foo.Foo)

Contrast with the previously suggested XPath notation:

select artifact where /

2. Find all jars in the transitive dependency tree of galaxy-web.jar

Lets say you want create a view/virtual workspace over an application so that netboot knows exactly what jars to load. In this case you might want to load all artifacts which are in the transitive dependency tree of an artifact. You could then implement a function like this:

select artifact where maven:isInTransitiveTree('/foo/bar/galaxy-web.jar');



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.