Package org.apache.cayenne.access.sqlbuilder.sqltree

# Class PerAttributeChildProcessor<T extends Node>

java.lang.Object
org.apache.cayenne.access.sqlbuilder.sqltree.PerAttributeChildProcessor<T>

Type Parameters:
  `T` - type of the node to process

All Implemented Interfaces:
  `ChildProcessor<T>`

public class PerAttributeChildProcessor<T extends Node> extends Object implements ChildProcessor<T>

Since:
  4.2

- ## Field Summary

  ### Fields inherited from interface org.apache.cayenne.access.sqlbuilder.sqltree.ChildProcessor

  `EMPTY`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PerAttributeChildProcessor(Function<T,DbAttribute> attributeMapper, Function<DbAttribute,ChildProcessor<T>> processorFactory)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<Node>`
  `process(Node parent, T child, int index)`

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

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

- ## Constructor Details

  - ### PerAttributeChildProcessor

    public PerAttributeChildProcessor(Function<T,DbAttribute> attributeMapper, Function<DbAttribute,ChildProcessor<T>> processorFactory)

- ## Method Details

  - ### process

    public Optional<Node> process(Node parent, T child, int index)
    Specified by:
      `process` in interface `ChildProcessor<T extends Node>`