/** * Constrains the nodes in the the supplied table such that they must satisfy the supplied full-text search on the nodes' * property values. * * @param 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 * @return the interface for completing the value portion of the criteria specification; never null */ public ComparisonBuilder fullTextSearchScore( String table ) { return comparisonBuilder(new FullTextSearchScore(selector(table))); }
/** * Constrains the nodes in the the supplied table such that they must have a matching value for the named property. * * @param 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 * @param property the name of the property; may not be null and must refer to a valid property name * @return the interface for completing the value portion of the criteria specification; never null */ public ComparisonBuilder propertyValue( String table, String property ) { return comparisonBuilder(new PropertyValue(selector(table), property)); }
@Override public ComparisonBuilder propertyValue( String table, String property ) { return comparisonBuilder(new PropertyValue(selector(table), property)); }
/** * Constrains the nodes in the the supplied table such that they must have a matching value for any of the node's * reference properties. * * @param 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 * @return the interface for completing the value portion of the criteria specification; never null */ public ComparisonBuilder referenceValue( String table ) { return comparisonBuilder(new ReferenceValue(selector(table))); }
/** * Constrains the nodes in the the supplied table based upon criteria on the node's number of children. * * @param 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 * @return the interface for completing the value portion of the criteria specification; never null */ public ComparisonBuilder childCount( String table ) { return comparisonBuilder(new ChildCount(selector(table))); }
@Override public OrderByBuilder nodeName( String table ) { return addOrdering(new NodeName(selector(table))); }
@Override public OrderByBuilder nodeLocalName( String table ) { return addOrdering(new NodeLocalName(selector(table))); }
@Override public OrderByBuilder nodeName( String table ) { return addOrdering(new NodeName(selector(table))); }
/** * Define a constraint clause that the node within the named table have at least one property that satisfies the full-text * search expression. * * @param 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 * @param searchExpression the full-text search expression * @return the constraint builder that was used to create this clause; never null */ public ConstraintBuilder search( String table, String searchExpression ) { return setConstraint(new FullTextSearch(selector(table), searchExpression)); }
@Override public OrderByBuilder propertyValue( String table, String property ) { return addOrdering(new PropertyValue(selector(table), property)); }
@Override public OrderByBuilder referenceValue( String table, String property ) { return addOrdering(new ReferenceValue(selector(table), property)); }
@Override public ComparisonBuilder referenceValue( String table, String property ) { return comparisonBuilder(new ReferenceValue(selector(table), property)); }
/** * Constrains the nodes in the the supplied table based upon criteria on the node's number of children. * * @param 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 * @return the interface for completing the value portion of the criteria specification; never null */ public ComparisonBuilder childCount( String table ) { return comparisonBuilder(new ChildCount(selector(table))); }
/** * Define a constraint clause that the node within the named table is the child of the node at the supplied path. * * @param childTable 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 * @param parentPath the path to the parent node * @return the constraint builder that was used to create this clause; never null */ public ConstraintBuilder isChild( String childTable, String parentPath ) { return setConstraint(new ChildNode(selector(childTable), parentPath)); }
/** * Define a constraint clause that the node within the named table has at least one value for the named property. * * @param 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 * @param propertyName the name of the property * @return the constraint builder that was used to create this clause; never null */ public ConstraintBuilder hasProperty( String table, String propertyName ) { return setConstraint(new PropertyExistence(selector(table), propertyName)); }
/** * Constrains the nodes in the the supplied table such that they must have a matching value for any of the node's * reference properties. * * @param 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 * @return the interface for completing the value portion of the criteria specification; never null */ public ComparisonBuilder referenceValue( String table ) { return comparisonBuilder(new ReferenceValue(selector(table))); }
/** * Define a constraint clause that the node within the named table has at least one value for the named property. * * @param 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 * @param propertyName the name of the property * @return the constraint builder that was used to create this clause; never null */ public ConstraintBuilder hasProperty( String table, String propertyName ) { return setConstraint(new PropertyExistence(selector(table), propertyName)); }
@Override public ComparisonBuilder length( String table, String property ) { return comparisonBuilder(new Length(new PropertyValue(selector(table), property))); }
@Override public OrderByBuilder length( String table, String property ) { return addOrdering(new Length(new PropertyValue(selector(table), property))); }
@Override public ComparisonBuilder length( String table, String property ) { return comparisonBuilder(new Length(new PropertyValue(selector(table), property))); }