Class AbstractFetchBuilderContainer<T extends AbstractFetchBuilderContainer<T>>
- java.lang.Object
-
- org.hibernate.query.results.dynamic.AbstractFetchBuilderContainer<T>
-
- All Implemented Interfaces:
DynamicFetchBuilderContainer
- Direct Known Subclasses:
DynamicResultBuilderEntityStandard
public abstract class AbstractFetchBuilderContainer<T extends AbstractFetchBuilderContainer<T>> extends Object implements DynamicFetchBuilderContainer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFetchBuilderContainer()
protected
AbstractFetchBuilderContainer(AbstractFetchBuilderContainer<T> original)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addFetchBuilder(String propertyName, FetchBuilder fetchBuilder)
DynamicFetchBuilder
addProperty(String propertyName)
Add a property whose columns can later be defined usingNativeQuery.ReturnProperty.addColumnAlias(java.lang.String)
T
addProperty(String propertyName, String columnAlias)
Add a property mapped to a single column.T
addProperty(String propertyName, String... columnAliases)
Add a property mapped to multiple columnsboolean
equals(Object o)
FetchBuilder
findFetchBuilder(String fetchableName)
Locate an explicit fetch definition for the named fetchableprotected abstract String
getPropertyBase()
int
hashCode()
-
-
-
Constructor Detail
-
AbstractFetchBuilderContainer
protected AbstractFetchBuilderContainer()
-
AbstractFetchBuilderContainer
protected AbstractFetchBuilderContainer(AbstractFetchBuilderContainer<T> original)
-
-
Method Detail
-
getPropertyBase
protected abstract String getPropertyBase()
-
findFetchBuilder
public FetchBuilder findFetchBuilder(String fetchableName)
Description copied from interface:DynamicFetchBuilderContainer
Locate an explicit fetch definition for the named fetchable- Specified by:
findFetchBuilder
in interfaceDynamicFetchBuilderContainer
-
addProperty
public T addProperty(String propertyName, String columnAlias)
Description copied from interface:DynamicFetchBuilderContainer
Add a property mapped to a single column.- Specified by:
addProperty
in interfaceDynamicFetchBuilderContainer
-
addProperty
public T addProperty(String propertyName, String... columnAliases)
Description copied from interface:DynamicFetchBuilderContainer
Add a property mapped to multiple columns- Specified by:
addProperty
in interfaceDynamicFetchBuilderContainer
-
addProperty
public DynamicFetchBuilder addProperty(String propertyName)
Description copied from interface:DynamicFetchBuilderContainer
Add a property whose columns can later be defined usingNativeQuery.ReturnProperty.addColumnAlias(java.lang.String)
- Specified by:
addProperty
in interfaceDynamicFetchBuilderContainer
-
addFetchBuilder
public void addFetchBuilder(String propertyName, FetchBuilder fetchBuilder)
- Specified by:
addFetchBuilder
in interfaceDynamicFetchBuilderContainer
-
-