Class AbstractCorrelatedTupleListTransformer
java.lang.Object
com.blazebit.persistence.view.impl.objectbuilder.transformer.TupleListTransformer
com.blazebit.persistence.view.impl.objectbuilder.transformer.correlation.AbstractCorrelatedTupleListTransformer
- Direct Known Subclasses:
AbstractCorrelatedBatchTupleListTransformer
,AbstractCorrelatedSubselectTupleListTransformer
public abstract class AbstractCorrelatedTupleListTransformer extends TupleListTransformer
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AbstractCorrelatedTupleListTransformer.FixedArrayList
protected static class
AbstractCorrelatedTupleListTransformer.TuplePromise
-
Field Summary
Fields Modifier and Type Field Description protected String
attributePath
protected ContainerAccumulator<Object>
containerAccumulator
protected String
correlationAlias
protected Class<?>
correlationBasisEntity
protected Class<?>
correlationBasisType
protected String
correlationExternalAlias
protected CorrelationProviderFactory
correlationProviderFactory
protected String
correlationResult
protected Correlator
correlator
protected int
embeddingViewIndex
protected ManagedViewType<?>
embeddingViewType
protected static String[]
EMPTY
protected EntityViewConfiguration
entityViewConfiguration
protected String[]
fetches
protected Correlator
indexCorrelator
protected String
indexExpression
protected String[]
indexFetches
protected JpaProvider
jpaProvider
protected Limiter
limiter
protected int
viewRootIndex
protected ManagedViewType<?>
viewRootType
Fields inherited from class com.blazebit.persistence.view.impl.objectbuilder.transformer.TupleListTransformer
startIndex
-
Constructor Summary
Constructors Constructor Description AbstractCorrelatedTupleListTransformer(ExpressionFactory ef, Correlator correlator, ContainerAccumulator<?> containerAccumulator, ManagedViewType<?> viewRootType, ManagedViewType<?> embeddingViewType, Expression correlationResult, CorrelationProviderFactory correlationProviderFactory, String attributePath, String[] fetches, String[] indexFetches, Expression indexExpression, Correlator indexCorrelator, int viewRootIndex, int embeddingViewIndex, int tupleIndex, Class<?> correlationBasisType, Class<?> correlationBasisEntity, Limiter limiter, EntityViewConfiguration entityViewConfiguration)
-
Method Summary
Modifier and Type Method Description Object
copy(Object o)
protected Object
createContainer(Object container)
protected Object
createDefaultResult()
protected void
fillDefaultValues(Map<Object,Map<Object,AbstractCorrelatedTupleListTransformer.TuplePromise>> promiseMap)
int
getConsumableIndex()
protected String
getEntityIdName(Class<?> entityClass)
protected boolean
isRecording()
protected void
populateParameters(FullQueryBuilder<?,?> queryBuilder)
protected Object
postConstruct(Object value)
Methods inherited from class com.blazebit.persistence.view.impl.objectbuilder.transformer.TupleListTransformer
transform
-
Field Details
-
EMPTY
-
jpaProvider
-
correlator
-
containerAccumulator
-
viewRootType
-
embeddingViewType
-
viewRootIndex
protected final int viewRootIndex -
embeddingViewIndex
protected final int embeddingViewIndex -
correlationAlias
-
correlationExternalAlias
-
correlationResult
-
correlationProviderFactory
-
correlationBasisType
-
correlationBasisEntity
-
attributePath
-
fetches
-
indexFetches
-
indexExpression
-
indexCorrelator
-
limiter
-
entityViewConfiguration
-
-
Constructor Details
-
AbstractCorrelatedTupleListTransformer
public AbstractCorrelatedTupleListTransformer(ExpressionFactory ef, Correlator correlator, ContainerAccumulator<?> containerAccumulator, ManagedViewType<?> viewRootType, ManagedViewType<?> embeddingViewType, Expression correlationResult, CorrelationProviderFactory correlationProviderFactory, String attributePath, String[] fetches, String[] indexFetches, Expression indexExpression, Correlator indexCorrelator, int viewRootIndex, int embeddingViewIndex, int tupleIndex, Class<?> correlationBasisType, Class<?> correlationBasisEntity, Limiter limiter, EntityViewConfiguration entityViewConfiguration)
-
-
Method Details
-
getEntityIdName
-
fillDefaultValues
protected void fillDefaultValues(Map<Object,Map<Object,AbstractCorrelatedTupleListTransformer.TuplePromise>> promiseMap) -
getConsumableIndex
public int getConsumableIndex()- Specified by:
getConsumableIndex
in classTupleListTransformer
-
copy
-
isRecording
protected boolean isRecording() -
postConstruct
-
createDefaultResult
-
createContainer
-
populateParameters
-