Class AttributeFetchGraphNode<X extends AttributeFetchGraphNode<X>>
java.lang.Object
com.blazebit.persistence.view.impl.update.flush.AttributeFetchGraphNode<X>
- All Implemented Interfaces:
FetchGraphNode<X>
- Direct Known Subclasses:
AbstractPluralAttributeFlusher
,SubviewAttributeFlusher
public class AttributeFetchGraphNode<X extends AttributeFetchGraphNode<X>> extends Object implements FetchGraphNode<X>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description protected String
attributeName
protected boolean
fetch
protected String
mapping
-
Constructor Summary
Constructors Constructor Description AttributeFetchGraphNode(String attributeName, String mapping, boolean fetch, FetchGraphNode nestedGraphNode)
-
Method Summary
Modifier and Type Method Description void
appendFetchJoinQueryFragment(String base, StringBuilder sb)
String
getAttributeName()
String
getMapping()
protected FetchGraphNode<?>
getNestedGraphNode()
FetchGraphNode<?>
mergeWith(List<X> fetchGraphNodes)
-
Field Details
-
attributeName
-
mapping
-
fetch
protected final boolean fetch
-
-
Constructor Details
-
AttributeFetchGraphNode
public AttributeFetchGraphNode(String attributeName, String mapping, boolean fetch, FetchGraphNode nestedGraphNode)
-
-
Method Details
-
getAttributeName
- Specified by:
getAttributeName
in interfaceFetchGraphNode<X extends AttributeFetchGraphNode<X>>
-
getMapping
- Specified by:
getMapping
in interfaceFetchGraphNode<X extends AttributeFetchGraphNode<X>>
-
getNestedGraphNode
-
appendFetchJoinQueryFragment
- Specified by:
appendFetchJoinQueryFragment
in interfaceFetchGraphNode<X extends AttributeFetchGraphNode<X>>
-
mergeWith
- Specified by:
mergeWith
in interfaceFetchGraphNode<X extends AttributeFetchGraphNode<X>>
-