UpdateBuilder (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.access.sqlbuilder, class: UpdateBuilder

# Class UpdateBuilder

java.lang.Object
org.apache.cayenne.access.sqlbuilder.BaseBuilder
org.apache.cayenne.access.sqlbuilder.UpdateBuilder

All Implemented Interfaces:
  `NodeBuilder`

public class UpdateBuilder extends BaseBuilder

Since:
  4.2

- ## Field Summary

  ### Fields inherited from class BaseBuilder

  `nodes, root`
  Modifier and Type
  Field
  Description
  `protected final Node[]`
  `nodes`
  `protected final Node`
  `root`
  Main root of this query

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UpdateBuilder(String table)`
  `UpdateBuilder(DbEntity table)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UpdateBuilder`
  `set(NodeBuilder setExpression)`
  `UpdateBuilder`
  `where(NodeBuilder expression)`

  ### Methods inherited from class BaseBuilder

  `build, getRoot, node`
  Modifier and Type
  Method
  Description
  `Node`
  `build()`
  `Node`
  `getRoot()`
  `protected Node`
  `node(int idx, Supplier<Node> nodeSupplier)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### UpdateBuilder

    public UpdateBuilder(String table)

  - ### UpdateBuilder

    public UpdateBuilder(DbEntity table)

- ## Method Details

  - ### set

    public UpdateBuilder set(NodeBuilder setExpression)

  - ### where

    public UpdateBuilder where(NodeBuilder expression)