/** * {@inheritDoc} * * @see org.modeshape.graph.query.QueryBuilder.OrderByOperandBuilder#length(java.lang.String, * java.lang.String) */ public OrderByBuilder length(String table, String property) { return addOrdering(new Length(new PropertyValue(selector(table), property))); }
/** * {@inheritDoc} * * @see org.modeshape.graph.query.QueryBuilder.DynamicOperandBuilder#length(java.lang.String, * java.lang.String) */ public ComparisonBuilder length(String table, String property) { return comparisonBuilder(new Length(new PropertyValue(selector(table), property))); }
/** * {@inheritDoc} * * @see org.modeshape.graph.query.QueryBuilder.DynamicOperandBuilder#propertyValue(String, * String) */ public ComparisonBuilder propertyValue(String table, String property) { return comparisonBuilder(new PropertyValue(selector(table), property)); }
/** * {@inheritDoc} * * @see org.modeshape.graph.query.QueryBuilder.OrderByOperandBuilder#propertyValue(java.lang.String, * java.lang.String) */ public OrderByBuilder propertyValue(String table, String property) { return addOrdering(new PropertyValue(selector(table), property)); }
res = new Ordering(new PropertyValue(selName, n), Order.ASCENDING); res = new Ordering(new PropertyValue(selName, n), Order.DESCENDING);
if(selName == null) throw new TreeWalkerException("There is more than one table. Use selector or table name."); res=new PropertyValue(selName,p); res=new PropertyValue(selName , p);