org.exist.xquery
Class ForceIndexUse

java.lang.Object
  extended by org.exist.xquery.Pragma
      extended by org.exist.xquery.ForceIndexUse

public class ForceIndexUse
extends Pragma


Field Summary
static QName EXCEPTION_IF_INDEX_NOT_USED_PRAGMA
           
 
Constructor Summary
ForceIndexUse(QName qname, String contents)
           
 
Method Summary
 void after(XQueryContext context, Expression expression)
           
 void before(XQueryContext context, Expression expression)
           
 
Methods inherited from class org.exist.xquery.Pragma
analyze, eval, resetState, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXCEPTION_IF_INDEX_NOT_USED_PRAGMA

public static final QName EXCEPTION_IF_INDEX_NOT_USED_PRAGMA
Constructor Detail

ForceIndexUse

public ForceIndexUse(QName qname,
                     String contents)
              throws XPathException
Throws:
XPathException
Method Detail

before

public void before(XQueryContext context,
                   Expression expression)
            throws XPathException
Specified by:
before in class Pragma
Throws:
XPathException

after

public void after(XQueryContext context,
                  Expression expression)
           throws XPathException
Specified by:
after in class Pragma
Throws:
XPathException


Copyright (C) Wolfgang Meier. All rights reserved.