org.apache.jackrabbit.core.query.jsr283
Interface PreparedQuery
- All Superinterfaces:
- Query
- All Known Subinterfaces:
- QueryObjectModel
- All Known Implementing Classes:
- PreparedQueryImpl, QueryObjectModelImpl
public interface PreparedQuery
- extends Query
A prepared query. A new prepared query is created by calling
QueryManager.createPreparedQuery
.
- Since:
- JCR 2.0
Method Summary |
void |
bindValue(String varName,
Value value)
Binds the given value to the variable named varName . |
bindValue
void bindValue(String varName,
Value value)
throws IllegalArgumentException,
RepositoryException
- Binds the given
value
to the variable named varName
.
- Parameters:
varName
- name of variable in queryvalue
- value to bind
- Throws:
IllegalArgumentException
- if varName
is not a valid variable in this query.
RepositoryException
- if an error occurs.
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.