Package jakarta.persistence
Interface TupleElement<X>
- Type Parameters:
X- the type of the element
- All Known Subinterfaces:
CollectionJoin<Z,,E> CompoundSelection<X>,CriteriaBuilder.Case<R>,CriteriaBuilder.Coalesce<T>,CriteriaBuilder.In<T>,CriteriaBuilder.SimpleCase<C,,R> DiscriminatorSqmPath<T>,Expression<T>,From<Z,,X> Join<Z,,X> JpaCoalesce<T>,JpaCollectionJoin<O,,T> JpaCompoundSelection<T>,JpaCrossJoin<T>,JpaDerivedFrom<T>,JpaDerivedJoin<T>,JpaDerivedRoot<T>,JpaEntityJoin<T>,JpaExpression<T>,JpaFrom<O,,T> JpaFunction<T>,JpaInPredicate<T>,JpaJoin<O,,T> JpaJoinedFrom<O,,T> JpaListJoin<O,,T> JpaMapJoin<O,,K, V> JpaParameterExpression<T>,JpaPath<T>,JpaPluralJoin<O,,C, E> JpaPredicate,JpaRoot<T>,JpaSearchedCase<T>,JpaSelection<T>,JpaSetJoin<O,,T> JpaSimpleCase<C,,R> JpaSubQuery<T>,JpaTupleElement<T>,ListJoin<Z,,E> MapJoin<Z,,K, V> ParameterExpression<T>,Path<X>,PluralJoin<Z,,C, E> Predicate,Root<X>,Selection<X>,SetJoin<Z,,E> SqmAggregateFunction<T>,SqmAttributeJoin<O,,T> SqmCorrelation<O,,T> SqmExpression<T>,SqmFrom<O,,T> SqmInPredicate<T>,SqmJoin<O,,T> SqmNegatablePredicate,SqmOrderedSetAggregateFunction<T>,SqmParameter<T>,SqmPath<T>,SqmPathWrapper<W,,T> SqmPredicate,SqmQualifiedJoin<O,,T> SqmSelectableNode<T>,SqmSimplePath<T>,SqmTreatedPath<T,,S> SqmWindowFunction<T>,Subquery<T>
- All Known Implementing Classes:
AbstractJpaSelection,AbstractJpaTupleElement,AbstractNegatableSqmPredicate,AbstractSqmAttributeJoin,AbstractSqmExpression,AbstractSqmFrom,AbstractSqmJoin,AbstractSqmParameter,AbstractSqmPath,AbstractSqmPluralJoin,AbstractSqmPredicate,AbstractSqmQualifiedJoin,AbstractSqmSimplePath,AbstractSqmSpecificPluralPartPath,AnyDiscriminatorSqmPath,AsWrapperSqmExpression,EmbeddedDiscriminatorSqmPath,EntityDiscriminatorSqmPath,FormatFunction.FormatSqmFunction,FullyQualifiedReflectivePathTerminal,InverseDistributionFunction.SelfRenderingInverseDistributionFunction,JpaCriteriaParameter,NonAggregatedCompositeSimplePath,SelfRenderingSqmAggregateFunction,SelfRenderingSqmFunction,SelfRenderingSqmOrderedSetAggregateFunction,SelfRenderingSqmWindowFunction,SqmAliasedNodeRef,SqmAny,SqmAnyDiscriminatorValue,SqmAnyValuedSimplePath,SqmBagJoin,SqmBasicValuedSimplePath,SqmBetweenPredicate,SqmBinaryArithmetic,SqmBooleanExpressionPredicate,SqmByUnit,SqmCaseSearched,SqmCaseSimple,SqmCoalesce,SqmCollation,SqmCollectionSize,SqmComparisonPredicate,SqmCorrelatedBagJoin,SqmCorrelatedCrossJoin,SqmCorrelatedEntityJoin,SqmCorrelatedListJoin,SqmCorrelatedMapJoin,SqmCorrelatedPluralPartJoin,SqmCorrelatedRoot,SqmCorrelatedRootJoin,SqmCorrelatedSetJoin,SqmCorrelatedSingularJoin,SqmCrossJoin,SqmCteJoin,SqmCteRoot,SqmDerivedJoin,SqmDerivedRoot,SqmDynamicInstantiation,SqmElementAggregateFunction,SqmEmbeddedValuedSimplePath,SqmEmptinessPredicate,SqmEntityJoin,SqmEntityValuedSimplePath,SqmEnumLiteral,SqmEvery,SqmExistsPredicate,SqmFieldLiteral,SqmFkExpression,SqmFormat,SqmFunction,SqmFunctionPath,SqmGroupedPredicate,SqmHqlNumericLiteral,SqmIndexAggregateFunction,SqmIndexedCollectionAccessPath,SqmInListPredicate,SqmInSubQueryPredicate,SqmJpaCompoundSelection,SqmJpaCriteriaParameterWrapper,SqmJunctionPredicate,SqmLikePredicate,SqmListJoin,SqmLiteral,SqmLiteralEmbeddableType,SqmLiteralEntityType,SqmLiteralNull,SqmMapEntryReference,SqmMapJoin,SqmMemberOfPredicate,SqmModifiedSubQueryExpression,SqmNamedParameter,SqmNegatedPredicate,SqmNullnessPredicate,SqmOver,SqmOverflow,SqmParameterizedEntityType,SqmPluralPartJoin,SqmPluralValuedSimplePath,SqmPositionalParameter,SqmRoot,SqmSelectClause,SqmSelfRenderingExpression,SqmSetJoin,SqmSingularJoin,SqmStar,SqmSubQuery,SqmSummarization,SqmToDuration,SqmTreatedBagJoin,SqmTreatedCrossJoin,SqmTreatedEmbeddedValuedSimplePath,SqmTreatedEntityJoin,SqmTreatedEntityValuedSimplePath,SqmTreatedListJoin,SqmTreatedMapJoin,SqmTreatedPluralPartJoin,SqmTreatedRoot,SqmTreatedSetJoin,SqmTreatedSingularJoin,SqmTruthnessPredicate,SqmTuple,SqmUnaryOperation,TupleElementImpl,ValueBindJpaCriteriaParameter
public interface TupleElement<X>
The
TupleElement interface defines an element that is returned in
a query result tuple.- Since:
- 2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Return the alias assigned to the tuple element or null, if no alias has been assigned.Return the Java type of the tuple element.
-
Method Details
-
getJavaType
Return the Java type of the tuple element.- Returns:
- the Java type of the tuple element
-
getAlias
String getAlias()Return the alias assigned to the tuple element or null, if no alias has been assigned.- Returns:
- alias
-