org.apache.cayenne.access.sqlbuilder

## Class BaseBuilder

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

- All Implemented Interfaces:
    NodeBuilder
  Direct Known Subclasses:
    DeleteBuilder, InsertBuilder, SelectBuilder, UpdateBuilder

      public abstract class BaseBuilder
      extends Object
      implements NodeBuilder

  Since:
    4.2

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Node[]` | `nodes`
    `protected Node` | `root` Main root of this query

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseBuilder(Node root, int size)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Node` | `build()`
    `Node` | `getRoot()`
    `protected Node` | `node(int idx, Supplier<Node> nodeSupplier)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### root

          protected final Node root

      Main root of this query

    - #### nodes

          protected final Node[] nodes

  - ### Constructor Detail

    - #### BaseBuilder

          public BaseBuilder(Node root,
                             int size)

  - ### Method Detail

    - #### node

          protected Node node(int idx,
                              Supplier<Node> nodeSupplier)

    - #### build

          public Node build()

      Specified by:
        `build` in interface `NodeBuilder`

    - #### getRoot

          public Node getRoot()

Copyright © 2001–2021 Apache Cayenne. All rights reserved.