## Uses of Interface
org.modeshape.jcr.api.query.qom.NodeDepth

- Packages that use NodeDepth
  Package | Description
  --- | ---
  org.modeshape.jcr.api.query.qom |
  org.modeshape.jcr.query.lucene | The core query engine, which currently uses Lucene for indexing and raw queries, and the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA) for updating and querying the Lucene indexes.
  org.modeshape.jcr.query.lucene.basic | The "basic" `Lucene schema` has a single index in which all node and property information are indexed into separate fields.
  org.modeshape.jcr.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.

- - ### Uses of NodeDepth in org.modeshape.jcr.api.query.qom

    Methods in org.modeshape.jcr.api.query.qom that return NodeDepth
    Modifier and Type | Method and Description
    --- | ---
    `NodeDepth` | QueryObjectModelFactory.`nodeDepth(String selectorName)` Evaluates to a `LONG` value equal to the depth of a node in the specified selector.

  - ### Uses of NodeDepth in org.modeshape.jcr.query.lucene

    Methods in org.modeshape.jcr.query.lucene with parameters of type NodeDepth
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeDepth depthConstraint, Operator operator, Object value)`
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWithNumericRange(SelectorName selectorName, NodeDepth depth, Object lowerValue, Object upperValue, boolean includesLower, boolean includesUpper)` Create a query that finds documents with fields with depths that are in the supplied range.

  - ### Uses of NodeDepth in org.modeshape.jcr.query.lucene.basic

    Methods in org.modeshape.jcr.query.lucene.basic with parameters of type NodeDepth
    Modifier and Type | Method and Description
    --- | ---
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeDepth depthConstraint, Operator operator, Object value)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWithNumericRange(SelectorName selectorName, NodeDepth depth, Object lowerValue, Object upperValue, boolean includesLower, boolean includesUpper)`

  - ### Uses of NodeDepth in org.modeshape.jcr.query.model

    Classes in org.modeshape.jcr.query.model that implement NodeDepth
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NodeDepth` A dynamic operand that evaluates to the depth of a node given by a selector, used in a `Comparison` constraint.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.