org.apache.jackrabbit.core.query
Interface ExecutablePreparedQuery

All Superinterfaces:
ExecutableQuery
All Known Implementing Classes:
PreparedQueryImpl

public interface ExecutablePreparedQuery
extends ExecutableQuery

ExecutablePreparedQuery extends ExecutableQuery with a method to bind a value to a variable.


Method Summary
 void bindValue(Name varName, Value value)
          Binds the given value to the variable named varName.
 
Methods inherited from interface org.apache.jackrabbit.core.query.ExecutableQuery
execute
 

Method Detail

bindValue

void bindValue(Name varName,
               Value value)
               throws IllegalArgumentException,
                      RepositoryException
Binds the given value to the variable named varName.

Parameters:
varName - name of variable in query
value - 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.