Examples of FunctionExpression


Examples of org.neo4j.cypherdsl.query.FunctionExpression

     * @return
     */
    public static NumericExpression id( String name )
    {
        checkNull( name, "Name" );
        return new Value( new FunctionExpression( "id", identifier( name ) ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     * @return
     */
    public static NumericExpression id( PropertyContainerExpression propertyContainerExpression )
    {
        checkNull( propertyContainerExpression, "Expression" );
        return new Value( new FunctionExpression( "id", propertyContainerExpression ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

        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 ) ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     * @return
     */
    public static Expression head( CollectionExpression collectionExpression )
    {
        checkNull( collectionExpression, "Expression" );
        return new Value( new FunctionExpression( "head", collectionExpression ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     * @return
     */
    public static Expression last( CollectionExpression collectionExpression )
    {
        checkNull( collectionExpression, "Expression" );
        return new Value( new FunctionExpression( "last", collectionExpression ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     */
    public static CollectionExpression nodes( PathExpression pathExpression )
    {
        checkNull( pathExpression, "Expression" );

        return new Value( new FunctionExpression( "nodes", pathExpression ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     */
    public static CollectionExpression relationships( PathExpression pathExpression )
    {
        checkNull( pathExpression, "Expression" );

        return new Value( new FunctionExpression( "relationships", pathExpression ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     */
    public static CollectionExpression labels( NodeExpression nodeExpression )
    {
        checkNull( nodeExpression, "Expression" );

        return new Value( new FunctionExpression( "labels", nodeExpression ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     * @return
     */
    public static CollectionExpression tail( CollectionExpression collectionExpression )
    {
        checkNull( collectionExpression, "Expression" );
        return new Value( new FunctionExpression( "tail", collectionExpression ) );
    }
View Full Code Here

Examples of org.neo4j.cypherdsl.query.FunctionExpression

     */
    public static CollectionExpression range( NumericExpression start, NumericExpression end, NumericExpression step )
    {
        if ( step == null )
        {
            return new Value( new FunctionExpression( "range", new Expressions( new Expression[]{start, end} ) ) );
        }
        else
        {
            return new Value( new FunctionExpression( "range", new Expressions( new Expression[]{start, end,
                    step} ) ) );
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.