org.basex.query
Class IndexContext

java.lang.Object
  extended by org.basex.query.IndexContext

public final class IndexContext
extends java.lang.Object

Container for all information needed to determine whether an index is accessible or not.

Author:
Workgroup DBIS, University of Konstanz 2005-09, ISC License, Sebastian Gath

Field Summary
 Data data
          Data reference.
 boolean dupl
          Flag for potential duplicates.
 boolean ftnot
          Flag for ftnot expressions.
 boolean io
          Flag for index options.
 int is
          Number of estimated results.
 boolean iu
          Flag for index use.
 boolean seq
          Flag for sequential processing.
 Step step
          Index Step.
 
Constructor Summary
IndexContext(Data d, Step s, boolean l)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public final Data data
Data reference.


step

public final Step step
Index Step.


iu

public boolean iu
Flag for index use.


io

public boolean io
Flag for index options.


is

public int is
Number of estimated results.


ftnot

public boolean ftnot
Flag for ftnot expressions.


seq

public boolean seq
Flag for sequential processing.


dupl

public boolean dupl
Flag for potential duplicates.

Constructor Detail

IndexContext

public IndexContext(Data d,
                    Step s,
                    boolean l)
Constructor.

Parameters:
d - data reference
s - index step
l - duplicate flag