History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-688
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Dmitry Katsubo
Votes: 0
Watchers: 0

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

Extends Query interface methods

Created: 23/Oct/09 02:33 PM   Updated: 23/Oct/09 02:33 PM
Component/s: Query Model
Affects Version/s: 2.2.4
Fix Version/s: None

Generally the idea is to make the query construction more fluent. Ideally I would like to program like this:

TupleQuery tupleQuery = connection.prepareTupleQuery(DEFAULT_QUERY_LANGUAGE, query);
tupleQuery.setBinding("NAME1", uri).setBinding("NAME2", "data")...;

For this case the interface should be extended as follows:

{code:title=Query interface}
    Query setBinding(String name, Value value);
    Query setBindings(BindingSet bindingSet);

Maybe one can benefit from sequencing of {{removeBinding()}}.

The message was created on the basis of [maillist message|http://sourceforge.net/mailarchive/forum.php?thread_name=4ADC839C.3010208%40mail.ru&forum_name=sesame-general].

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.