org.basex.query.xpath.internal
Class IndexAccess

java.lang.Object
  extended by org.basex.query.xpath.expr.Expr
      extended by org.basex.query.xpath.internal.InternalExpr
          extended by org.basex.query.xpath.internal.IndexAccess

public final class IndexAccess
extends InternalExpr

This index class retrieves attribute values from the index.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Tim Petrowsky, Christian Gruen

Constructor Summary
IndexAccess(Index.TYPE typ, byte[] tok)
          Constructor.
 
Method Summary
 NodeSet eval(XPContext ctx)
          Evaluates the expression with the specified context set.
 java.lang.String toString()
           
 
Methods inherited from class org.basex.query.xpath.internal.InternalExpr
compile, usesPos, usesSize
 
Methods inherited from class org.basex.query.xpath.expr.Expr
indexEquivalent, indexSizes, returnedValue, sameAs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexAccess

public IndexAccess(Index.TYPE typ,
                   byte[] tok)
Constructor.

Parameters:
typ - index type
tok - index token
Method Detail

eval

public NodeSet eval(XPContext ctx)
Description copied from class: Expr
Evaluates the expression with the specified context set. Additionally provides a context

Specified by:
eval in class Expr
Parameters:
ctx - query context
Returns:
resulting XPathValue

toString

public java.lang.String toString()
Specified by:
toString in class Expr