Interface StatementBuilder.ExposesSetLabel<R>

Type Parameters:
R - The type of the next step
All Known Subinterfaces:
ExposesSubqueryCall.BuildableSubquery, StatementBuilder.BuildableMatchAndUpdate, StatementBuilder.BuildableOngoingMergeAction, StatementBuilder.ExposesSetAndRemove, StatementBuilder.ExposesUpdatingClause, StatementBuilder.OngoingMatchAndUpdate, StatementBuilder.OngoingMerge, StatementBuilder.OngoingMergeAction, StatementBuilder.OngoingReading, StatementBuilder.OngoingReadingAndWith, StatementBuilder.OngoingReadingAndWithWithSkip, StatementBuilder.OngoingReadingAndWithWithWhereAndOrder, StatementBuilder.OngoingReadingWithoutWhere, StatementBuilder.OngoingReadingWithWhere, StatementBuilder.OrderableOngoingReadingAndWith, StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere, StatementBuilder.OrderableOngoingReadingAndWithWithWhere, StatementBuilder.VoidCall
Enclosing interface:
StatementBuilder

public static interface StatementBuilder.ExposesSetLabel<R>
Exposes node mutations.
Since:
2023.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    set(Node node, String... labels)
    Creates SET clause for setting the given labels to a node.
    set(Node node, Collection<String> labels)
    Creates SET clause for setting the given labels to a node.
  • Method Details

    • set

      @NotNull @CheckReturnValue R set(Node node, String... labels)
      Creates SET clause for setting the given labels to a node.
      Parameters:
      node - The node whose labels are to be changed
      labels - The labels to be set
      Returns:
      A match with a SET clause that can be build now
    • set

      @NotNull @CheckReturnValue R set(Node node, Collection<String> labels)
      Creates SET clause for setting the given labels to a node.
      Parameters:
      node - The node whose labels are to be changed
      labels - The labels to be set
      Returns:
      A match with a SET clause that can be build now
      Since:
      2021.2.2