|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutableQuery
Specifies an interface for a query object implementation that can just be executed.
QueryImpl
Method Summary | |
---|---|
void |
bindValue(Name varName,
Value value)
Binds the given value to the variable named
varName . |
QueryResult |
execute(long offset,
long limit)
Executes this query and returns a . |
Name[] |
getBindVariableNames()
|
Method Detail |
---|
QueryResult execute(long offset, long limit) throws RepositoryException
QueryResult
.
offset
- the offset in the total result setlimit
- the maximum result size
QueryResult
RepositoryException
- if an error occursvoid bindValue(Name varName, Value value) throws IllegalArgumentException, RepositoryException
value
to the variable named
varName
.
varName
- name of variable in queryvalue
- value to bind
IllegalArgumentException
- if varName
is not a
valid variable in this query.
RepositoryException
- if an error occurs.Name[] getBindVariableNames() throws RepositoryException
RepositoryException
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |