Interface Node

    • Method Detail

      • getLabels

        java.util.List<NodeLabel> getLabels()
      • named

        Node named​(java.lang.String newSymbolicName)
        Creates a copy of this node with a new symbolic name.
        Parameters:
        newSymbolicName - the new symbolic name.
        Returns:
        The new node.
      • named

        Node named​(SymbolicName newSymbolicName)
        Creates a copy of this node with a new symbolic name.
        Parameters:
        newSymbolicName - the new symbolic name.
        Returns:
        The new node.
      • hasLabels

        Condition hasLabels​(java.lang.String... labelsToQuery)
        A condition that checks for the presence of labels on a node.
        Parameters:
        labelsToQuery - A list of labels to query
        Returns:
        A condition that checks whether this node has all of the labels to query
      • isEqualTo

        Condition isEqualTo​(Node otherNode)
        Creates a new condition whether this node is equal to otherNode.
        Parameters:
        otherNode - The node to compare this node to.
        Returns:
        A condition.
      • isNotEqualTo

        Condition isNotEqualTo​(Node otherNode)
        Creates a new condition whether this node is not equal to otherNode.
        Parameters:
        otherNode - The node to compare this node to.
        Returns:
        A condition.
      • isNull

        Condition isNull()
        Creates a new condition based on this node whether it is null.
        Returns:
        A condition.
      • isNotNull

        Condition isNotNull()
        Creates a new condition based on this node whether it is not null.
        Returns:
        A condition.
      • descending

        SortItem descending()
        Creates a new sort item of this node in descending order.
        Returns:
        A sort item.
      • ascending

        SortItem ascending()
        Creates a new sort item of this node in ascending order.
        Returns:
        A sort item.
      • as

        AliasedExpression as​(java.lang.String alias)
        Creates an alias for this node.
        Parameters:
        alias - The alias to use.
        Returns:
        The aliased expression.
      • internalId

        FunctionInvocation internalId()
        Returns:
        A new function invocation returning the internal id of this node.
      • labels

        FunctionInvocation labels()
        Returns:
        A new function invocation returning the labels of this node.