1313131413151316131713181319
{ Query.checkNull( name, "Name" ); Query.checkNull( iterable, "Iterable" ); Query.checkNull( predicateExpression, "Predicate" ); return new Value( new IterablePredicateExpression( "any", name, iterable, predicateExpression ) ); }
1351135213531354135513561357
{ Query.checkNull( name, "Name" ); Query.checkNull( iterable, "Iterable" ); Query.checkNull( predicateExpression, "Predicate" ); return new Value( new IterablePredicateExpression( "none", name, iterable, predicateExpression ) ); }
1389139013911392139313941395
{ Query.checkNull( name, "Name" ); Query.checkNull( iterable, "Iterable" ); Query.checkNull( predicateExpression, "Predicate" ); return new Value( new IterablePredicateExpression( "single", name, iterable, predicateExpression ) ); }
1406140714081409141014111412
* @return */ public static NumericExpression length( CollectionExpression expression ) { checkNull( expression, "Expression" ); return new Value( new FunctionExpression( "length", expression ) ); }
1421142214231424142514261427
* @return */ public static StringExpression type( RelationshipExpression relationshipExpression ) { checkNull( relationshipExpression, "Expression" ); return new Value( new FunctionExpression( "type", relationshipExpression ) ); }
1436143714381439144014411442
* @return */ public static NumericExpression id( String name ) { checkNull( name, "Name" ); return new Value( new FunctionExpression( "id", identifier( name ) ) ); }
1451145214531454145514561457
* @return */ public static NumericExpression id( PropertyContainerExpression propertyContainerExpression ) { checkNull( propertyContainerExpression, "Expression" ); return new Value( new FunctionExpression( "id", propertyContainerExpression ) ); }
1470147114721473147414751476
if ( expressions.length < 1 ) { throw new IllegalArgumentException( "At least one expression must be provided to coalesce function" ); } return new Value( new FunctionExpression( "coalesce", new Expressions( expressions ) ) ); }
1485148614871488148914901491
* @return */ public static Expression head( CollectionExpression collectionExpression ) { checkNull( collectionExpression, "Expression" ); return new Value( new FunctionExpression( "head", collectionExpression ) ); }
1500150115021503150415051506
* @return */ public static Expression last( CollectionExpression collectionExpression ) { checkNull( collectionExpression, "Expression" ); return new Value( new FunctionExpression( "last", collectionExpression ) ); }