org.exist.storage
Class GeneralRangeIndexSpec

java.lang.Object
  extended byorg.exist.storage.RangeIndexSpec
      extended byorg.exist.storage.GeneralRangeIndexSpec

public class GeneralRangeIndexSpec
extends RangeIndexSpec

Used to specify a range index on a node path. Contrary to the fulltext index, a range index indexes the value of nodes according to a predefined type.

Author:
wolf

Field Summary
 
Fields inherited from class org.exist.storage.RangeIndexSpec
BOOLEAN, DATE_TIME, DOUBLE, FLOAT, HAS_VALUE_INDEX_MASK, indexTypes, INTEGER, MIXED_CONTENT, NO_INDEX, QNAME_INDEX, RANGE_INDEX_MASK, STRING, TEXT, type
 
Constructor Summary
GeneralRangeIndexSpec(java.util.Map namespaces, java.lang.String pathStr, java.lang.String typeStr)
           
 
Method Summary
 NodePath getPath()
          Returns the path corresponding to this index.
protected  boolean matches(NodePath otherPath)
          Check if the path argument matches the path of this index spec.
 java.lang.String toString()
           
 
Methods inherited from class org.exist.storage.RangeIndexSpec
getIndexType, getType, hasFulltextIndex, hasMixedContent, hasQNameIndex, hasQNameOrValueIndex, hasRangeIndex, indexTypeToXPath, xpathTypeToIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralRangeIndexSpec

public GeneralRangeIndexSpec(java.util.Map namespaces,
                             java.lang.String pathStr,
                             java.lang.String typeStr)
                      throws DatabaseConfigurationException
Method Detail

getPath

public NodePath getPath()
Returns the path corresponding to this index.

Returns:

matches

protected boolean matches(NodePath otherPath)
Check if the path argument matches the path of this index spec.

Parameters:
otherPath -
Returns:

toString

public java.lang.String toString()


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.