org.modeshape.graph.query
Class QueryBuilder.ArithmeticBuilder

java.lang.Object
  extended by org.modeshape.graph.query.QueryBuilder.ArithmeticBuilder
Enclosing class:
QueryBuilder

public class QueryBuilder.ArithmeticBuilder
extends Object


Method Summary
 QueryBuilder.ComparisonBuilder depth(String table)
          Constrains the nodes in the the supplied table based upon criteria on the node's depth.
 QueryBuilder.ComparisonBuilder fullTextSearchScore(String table)
          Constrains the nodes in the the supplied table such that they must satisfy the supplied full-text search on the nodes' property values.
 QueryBuilder.ComparisonBuilder length(String table, String property)
          Constrains the nodes in the the supplied table such that they must have a property value whose length matches the criteria.
 QueryBuilder.ComparisonBuilder propertyValue(String table, String property)
          Constrains the nodes in the the supplied table such that they must have a matching value for the named property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

length

public QueryBuilder.ComparisonBuilder length(String table,
                                             String property)
Constrains the nodes in the the supplied table such that they must have a property value whose length matches the criteria.

Parameters:
table - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
property - the name of the property; may not be null and must refer to a valid property name
Returns:
the interface for completing the value portion of the criteria specification; never null

propertyValue

public QueryBuilder.ComparisonBuilder propertyValue(String table,
                                                    String property)
Constrains the nodes in the the supplied table such that they must have a matching value for the named property.

Parameters:
table - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
property - the name of the property; may not be null and must refer to a valid property name
Returns:
the interface for completing the value portion of the criteria specification; never null

fullTextSearchScore

public QueryBuilder.ComparisonBuilder fullTextSearchScore(String table)
Constrains the nodes in the the supplied table such that they must satisfy the supplied full-text search on the nodes' property values.

Parameters:
table - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
Returns:
the interface for completing the value portion of the criteria specification; never null

depth

public QueryBuilder.ComparisonBuilder depth(String table)
Constrains the nodes in the the supplied table based upon criteria on the node's depth.

Parameters:
table - the name of the table; may not be null and must refer to a valid name or alias of a table appearing in the FROM clause
Returns:
the interface for completing the value portion of the criteria specification; never null


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