01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query;
07:
08: import java.util.List;
09:
10: /**
11: * A representation of a variable-binding query result as a sequence of
12: * {@link BindingSet} objects. Each query result consists of zero or more
13: * solutions, each of which represents a single query solution as a set of
14: * bindings. Note: take care to always close a TupleQueryResult after use to
15: * free any resources it keeps hold of.
16: *
17: * @author jeen
18: */
19: public interface TupleQueryResult extends QueryResult<BindingSet> {
20:
21: /**
22: * Gets the names of the bindings, in order of projection.
23: *
24: * @return The binding names, in order of projection.
25: */
26: public List<String> getBindingNames();
27: }
|