Uses of Interface
com.querydsl.core.types.Expression
Packages that use Expression
Package
Description
Basic Query elements
Alias functionality
DML interfaces
Aggregating post processing functionality
Various support classes
Expression types
DSL expression types
-
Uses of Expression in com.querydsl.core
Classes in com.querydsl.core that implement ExpressionModifier and TypeClassDescriptionfinal classBooleanBuilderis a cascading builder forPredicateexpressions.Methods in com.querydsl.core that return ExpressionModifier and TypeMethodDescriptionExpression<?>JoinFlag.getFlag()Expression<?>QueryFlag.getFlag()Expression<?>DefaultQueryMetadata.getProjection()Expression<?>EmptyMetadata.getProjection()@Nullable Expression<?>QueryMetadata.getProjection()Get the projectionExpression<?>JoinExpression.getTarget()Methods in com.querydsl.core that return types with arguments of type ExpressionModifier and TypeMethodDescriptionList<Expression<?>>DefaultQueryMetadata.getGroupBy()List<Expression<?>>EmptyMetadata.getGroupBy()@Unmodifiable List<Expression<?>>QueryMetadata.getGroupBy()Get the group by expressionsMethods in com.querydsl.core with parameters of type ExpressionModifier and TypeMethodDescriptionvoidDefaultQueryMetadata.addGroupBy(Expression<?> o) voidEmptyMetadata.addGroupBy(Expression<?> o) voidQueryMetadata.addGroupBy(Expression<?> o) Add the given group by expressionsvoidDefaultQueryMetadata.addJoin(JoinType joinType, Expression<?> expr) voidEmptyMetadata.addJoin(JoinType joinType, Expression<?> expr) voidQueryMetadata.addJoin(JoinType joinType, Expression<?> expr) Add the given query join<T> TTuple.get(Expression<T> expr) Get a tuple element by expressionQuery.groupBy(Expression<?>... o) Add grouping/aggregation expressionsFetchableQuery.select(Expression<?>... exprs) Change the projection of this query<U> FetchableQuery<U,?> FetchableQuery.select(Expression<U> expr) Change the projection of this queryvoidDefaultQueryMetadata.setProjection(Expression<?> o) voidEmptyMetadata.setProjection(Expression<?> o) voidQueryMetadata.setProjection(Expression<?> o) Set the projectionConstructors in com.querydsl.core with parameters of type ExpressionModifierConstructorDescriptionJoinExpression(JoinType type, Expression<?> target) Create a new JoinExpression instanceJoinExpression(JoinType type, Expression<?> target, @Nullable Predicate condition, Set<JoinFlag> flags) Create a new JoinExpression instanceJoinFlag(Expression<?> flag) Create a new instance using the given flagJoinFlag(Expression<?> flag, JoinFlag.Position position) Create a new instance using the given flag and positionQueryFlag(QueryFlag.Position position, Expression<?> flag) -
Uses of Expression in com.querydsl.core.alias
Methods in com.querydsl.core.alias with type parameters of type ExpressionModifier and TypeMethodDescriptionstatic <D extends Expression<?>>
DAlias.$()Convert the given alias to an expressionMethods in com.querydsl.core.alias that return ExpressionModifier and TypeMethodDescriptionstatic <D> Expression<D>Alias.getAny(D arg) Convert the given alias to an expressionMethods in com.querydsl.core.alias with parameters of type ExpressionModifier and TypeMethodDescriptionstatic <A> AAlias.alias(Class<A> cl, Expression<? extends A> expr) Create a new alias proxy of the given type for the given expression -
Uses of Expression in com.querydsl.core.dml
Methods in com.querydsl.core.dml with parameters of type ExpressionModifier and TypeMethodDescription<T> CStoreClause.set(Path<T> path, Expression<? extends T> expression) Add an expression binding -
Uses of Expression in com.querydsl.core.group
Subinterfaces of Expression in com.querydsl.core.groupModifier and TypeInterfaceDescriptioninterfaceGroupExpression<T,R> Defines the way results of a given expression are grouped.Classes in com.querydsl.core.group that implement ExpressionModifier and TypeClassDescriptionclassA base class for GroupExpressionsclassMixinGroupExpression<E,F, R> MixinGroupExpressionprovides nesting support forGroupExpressioninstancesfinal classQPair<K,V> A pair of (Map) key and valueFields in com.querydsl.core.group declared as ExpressionModifier and TypeFieldDescriptionprotected final Expression<?>[]AbstractGroupByTransformer.expressionsprotected final Expression<K>GroupByBuilder.keyMethods in com.querydsl.core.group that return ExpressionModifier and TypeMethodDescriptionAbstractGroupExpression.getExpression()GroupExpression.getExpression()Get the expression wrapped by this group definitionprotected <V> Expression<V>GroupByBuilder.getLookup(Expression<V> expression) Methods in com.querydsl.core.group with parameters of type ExpressionModifier and TypeMethodDescriptionGroupByBuilder.as(Expression<?>... expressions) Get the results as a map<V> ResultTransformer<Map<K,V>> GroupByBuilder.as(Expression<V> expression) Get the results as a map<RES extends Map<K,Group>>
ResultTransformer<RES>GroupByBuilder.as(Supplier<RES> mapFactory, Expression<?>... expressions) Get the results as a map<V,RES extends Map<K, V>>
ResultTransformer<RES>GroupByBuilder.as(Supplier<RES> mapFactory, Expression<V> expression) Get the results as a mapstatic <E extends Number>
AbstractGroupExpression<E,E> GroupBy.avg(Expression<E> expression) Create a new aggregating avg expression, uses default MathContext.DECIMAL128 for average calculationstatic <E extends Number>
AbstractGroupExpression<E,E> GroupBy.avg(Expression<E> expression, MathContext mathContext) Create a new aggregating avg expression with a user-provided MathContext<RES extends Collection<Group>>
ResultTransformer<RES>GroupByBuilder.collection(Supplier<RES> resultFactory, Expression<?>... expressions) Get the results as a collection.<V,RES extends Collection<V>>
ResultTransformer<RES>GroupByBuilder.collection(Supplier<RES> resultFactory, Expression<V> expression) Get the results as a setstatic <K,V> QPair<K, V> QPair.create(Expression<K> key, Expression<V> value) booleanQPair.equals(Expression<?> keyExpr, Expression<?> valueExpr) booleanQPair.equals(Expression<?> keyExpr, Class<?> valueType) <T> List<T>Group.getList(Expression<T> expr) Returns a List of values in this group.<T> List<T>GroupImpl.getList(Expression<T> expr) protected <V> Expression<V>GroupByBuilder.getLookup(Expression<V> expression) <K,V> Map<K, V> Group.getMap(Expression<K> key, Expression<V> value) Returns a Map of values in this group<K,V> Map<K, V> GroupImpl.getMap(Expression<K> key, Expression<V> value) <T> TGroup.getOne(Expression<T> expr) Returns the value of the given single valued expression.<T> TGroupImpl.getOne(Expression<T> expr) <T> Set<T>Group.getSet(Expression<T> expr) Returns a Set of values in this group.<T> Set<T>GroupImpl.getSet(Expression<T> expr) <K,V> SortedMap<K, V> Group.getSortedMap(Expression<K> key, Expression<V> value) Returns a SortedMap of values in this group<K,V> SortedMap<K, V> GroupImpl.getSortedMap(Expression<K> key, Expression<V> value) <T> SortedSet<T>Group.getSortedSet(Expression<T> expr) Returns a SortedSet of values in this group.<T> SortedSet<T>GroupImpl.getSortedSet(Expression<T> expr) static GroupByBuilder<List<?>>GroupBy.groupBy(Expression<?>... keys) Create a new GroupByBuilder for the given key expressionsstatic <K> GroupByBuilder<K>GroupBy.groupBy(Expression<K> key) Create a new GroupByBuilder for the given key expressionResultTransformer<com.mysema.commons.lang.CloseableIterator<Group>>GroupByBuilder.iterate(Expression<?>... expressions) Get the results as a closeable iterator<V> ResultTransformer<com.mysema.commons.lang.CloseableIterator<V>>GroupByBuilder.iterate(Expression<V> expression) Get the results as a closeable iteratorstatic <E> AbstractGroupExpression<E,List<E>> GroupBy.list(Expression<E> expression) Create a new aggregating list expressionGroupByBuilder.list(Expression<?>... expressions) Get the results as a list<V> ResultTransformer<List<V>>GroupByBuilder.list(Expression<V> expression) Get the results as a liststatic <K,V, T> AbstractGroupExpression<com.mysema.commons.lang.Pair<K, V>, Map<T, V>> GroupBy.map(GroupExpression<K, T> key, Expression<V> value) Create a new aggregating map expression using a backing LinkedHashMapstatic <K,V, U> AbstractGroupExpression<com.mysema.commons.lang.Pair<K, V>, Map<K, U>> GroupBy.map(Expression<K> key, GroupExpression<V, U> value) Create a new aggregating map expression using a backing LinkedHashMapstatic <K,V> AbstractGroupExpression<com.mysema.commons.lang.Pair<K, V>, Map<K, V>> GroupBy.map(Expression<K> key, Expression<V> value) Create a new aggregating map expression using a backing LinkedHashMapstatic <E extends Comparable<? super E>>
AbstractGroupExpression<E,E> GroupBy.max(Expression<E> expression) Create a new aggregating max expressionstatic <E extends Comparable<? super E>>
AbstractGroupExpression<E,E> GroupBy.min(Expression<E> expression) Create a new aggregating min expressionstatic <E> AbstractGroupExpression<E,Set<E>> GroupBy.set(Expression<E> expression) Create a new aggregating set expression using a backing LinkedHashSetstatic <K,V, T extends Comparable<? super T>>
AbstractGroupExpression<com.mysema.commons.lang.Pair<K,V>, SortedMap<T, V>> GroupBy.sortedMap(GroupExpression<K, T> key, Expression<V> value) Create a new aggregating map expression using a backing TreeMapstatic <K,V, T> AbstractGroupExpression<com.mysema.commons.lang.Pair<K, V>, SortedMap<T, V>> GroupBy.sortedMap(GroupExpression<K, T> key, Expression<V> value, Comparator<? super T> comparator) Create a new aggregating map expression using a backing TreeMap using the given comparatorstatic <K extends Comparable<? super K>,V, U>
AbstractGroupExpression<com.mysema.commons.lang.Pair<K,V>, SortedMap<K, U>> GroupBy.sortedMap(Expression<K> key, GroupExpression<V, U> value) Create a new aggregating map expression using a backing TreeMapstatic <K,V, U> AbstractGroupExpression<com.mysema.commons.lang.Pair<K, V>, SortedMap<K, U>> GroupBy.sortedMap(Expression<K> key, GroupExpression<V, U> value, Comparator<? super K> comparator) Create a new aggregating map expression using a backing TreeMap using the given comparatorstatic <K extends Comparable<? super K>,V>
AbstractGroupExpression<com.mysema.commons.lang.Pair<K,V>, SortedMap<K, V>> GroupBy.sortedMap(Expression<K> key, Expression<V> value) Create a new aggregating map expression using a backing TreeMapstatic <K,V> AbstractGroupExpression<com.mysema.commons.lang.Pair<K, V>, SortedMap<K, V>> GroupBy.sortedMap(Expression<K> key, Expression<V> value, Comparator<? super K> comparator) Create a new aggregating map expression using a backing TreeMap using the given comparatorstatic <E extends Comparable<? super E>>
AbstractGroupExpression<E,SortedSet<E>> GroupBy.sortedSet(Expression<E> expression) Create a new aggregating set expression using a backing TreeSetstatic <E> AbstractGroupExpression<E,SortedSet<E>> GroupBy.sortedSet(Expression<E> expression, Comparator<? super E> comparator) Create a new aggregating set expression using a backing TreeSet using the given comparatorstatic <E extends Number>
AbstractGroupExpression<E,E> GroupBy.sum(Expression<E> expression) Create a new aggregating sum expressionConstructors in com.querydsl.core.group with parameters of type ExpressionModifierConstructorDescriptionprotectedAbstractGroupByTransformer(Expression<K> key, Expression<?>... expressions) AbstractGroupExpression(Class<? super R> type, Expression<T> expr) GroupByBuilder(Expression<K> key) Create a new GroupByBuilder for the given key expressionGroupByProjection(Expression<K> key, Expression<?>... expressions) QPair(Expression<K> key, Expression<V> value) -
Uses of Expression in com.querydsl.core.support
Subinterfaces of Expression in com.querydsl.core.supportModifier and TypeInterfaceDescriptioninterfaceExtendedSubQueryextends theSubQueryExpressioninterface to provide fluent expression creation functionalityClasses in com.querydsl.core.support that implement ExpressionModifier and TypeClassDescriptionclassConstantHidingExpressionremoves constants from the argument list and injects them back into the result chainclassEnumConversionensures that the results of an enum projection conform to the type of the projection expressionclassFetchableSubQueryBase<T,Q extends FetchableSubQueryBase<T, Q>> FetchableSubQueryBaseextendsFetchableQueryBaseto provide fluent Expression creation functionalityclassNumberConversionensures that the results of a numeric projection conform to the type of the projection expressionclassNumberConversionsensures that the results of a projection involving numeric expressions conform to the types of the numeric expressionsMethods in com.querydsl.core.support that return ExpressionModifier and TypeMethodDescription<RT> Expression<RT>QueryMixin.convert(Expression<RT> expr, QueryMixin.Role role) protected <D> Expression<D>QueryMixin.createAlias(Expression<?> expr, Path<D> alias) Expression<?>QueryMixin.setProjection(Expression<?>... o) <E> Expression<E>QueryMixin.setProjection(Expression<E> e) Expression<?>Expression<?>CollectionAnyVisitor.visit(FactoryExpression<?> expr, Context context) Expression<?>Expression<?>CollectionAnyVisitor.visit(ParamExpression<?> expr, Context context) Expression<?>Expression<?>CollectionAnyVisitor.visit(SubQueryExpression<?> expr, Context context) Expression<?>CollectionAnyVisitor.visit(TemplateExpression<?> expr, Context context) Expression<?>Expression<?>ReplaceVisitor.visit(FactoryExpression<?> expr, C context) Expression<?>Expression<?>ReplaceVisitor.visit(ParamExpression<?> expr, C context) Expression<?>Expression<?>ReplaceVisitor.visit(SubQueryExpression<?> expr, C context) Expression<?>ReplaceVisitor.visit(TemplateExpression<?> expr, C context) Methods in com.querydsl.core.support that return types with arguments of type ExpressionModifier and TypeMethodDescriptionList<Expression<?>>ConstantHidingExpression.getArgs()List<Expression<?>>EnumConversion.getArgs()List<Expression<?>>NumberConversion.getArgs()List<Expression<?>>NumberConversions.getArgs()Methods in com.querydsl.core.support with parameters of type ExpressionModifier and TypeMethodDescriptionvoidOrderedQueryMetadata.addJoin(JoinType joinType, Expression<?> expr) QueryMixin.addJoin(JoinType joinType, Expression<?> target) ExtendedSubQuery.contains(Expression<? extends T> right) Create aright in thisexpressionFetchableSubQueryBase.contains(Expression<? extends T> right) <RT> Expression<RT>QueryMixin.convert(Expression<RT> expr, QueryMixin.Role role) protected <D> Expression<D>QueryMixin.createAlias(Expression<?> expr, Path<D> alias) ExtendedSubQuery.eq(Expression<? extends T> expr) Create athis == rightexpressionFetchableSubQueryBase.eq(Expression<? extends T> expr) final TQueryMixin.from(Expression<?> arg) final TQueryMixin.from(Expression<?>... args) final TQueryMixin.fullJoin(Expression<?> target) final <P> TQueryMixin.fullJoin(Expression<P> target, Path<P> alias) ExtendedSubQuery.goe(Expression<? extends T> expr) Create athis >= rightexpressionFetchableSubQueryBase.goe(Expression<? extends T> expr) QueryBase.groupBy(Expression<?> e) Add a single grouping expressionQueryBase.groupBy(Expression<?>... o) Add grouping/aggregation expressionsfinal TQueryMixin.groupBy(Expression<?> e) final TQueryMixin.groupBy(Expression<?>... o) ExtendedSubQuery.gt(Expression<? extends T> expr) Create athis > rightexpressionFetchableSubQueryBase.gt(Expression<? extends T> expr) final SSerializerBase.handle(Expression<?> expr) final SSerializerBase.handle(String sep, Expression<?>[] expressions) final <P> TQueryMixin.innerJoin(Expression<P> target) final <P> TQueryMixin.innerJoin(Expression<P> target, Path<P> alias) final <P> TQueryMixin.join(Expression<P> target) final <P> TQueryMixin.join(Expression<P> target, Path<P> alias) final <P> TQueryMixin.leftJoin(Expression<P> target) final <P> TQueryMixin.leftJoin(Expression<P> target, Path<P> alias) ExtendedSubQuery.loe(Expression<? extends T> expr) Create athis <= rightexpressionFetchableSubQueryBase.loe(Expression<? extends T> expr) ExtendedSubQuery.lt(Expression<? extends T> expr) Create athis < rightexpressionFetchableSubQueryBase.lt(Expression<? extends T> expr) ExtendedSubQuery.ne(Expression<? extends T> expr) Create athis != rightexpressionFetchableSubQueryBase.ne(Expression<? extends T> expr) final <P> TQueryMixin.rightJoin(Expression<P> target) final <P> TQueryMixin.rightJoin(Expression<P> target, Path<P> alias) Expression<?>QueryMixin.setProjection(Expression<?>... o) <E> Expression<E>QueryMixin.setProjection(Expression<E> e) Method parameters in com.querydsl.core.support with type arguments of type ExpressionModifier and TypeMethodDescriptionfinal SSerializerBase.handle(String sep, List<? extends Expression<?>> expressions) protected voidSerializerBase.visitOperation(Class<?> type, Operator operator, List<? extends Expression<?>> args) Constructors in com.querydsl.core.support with parameters of type ExpressionModifierConstructorDescriptionEnumConversion(Expression<T> expr) NumberConversion(Expression<T> expr) -
Uses of Expression in com.querydsl.core.types
Subinterfaces of Expression in com.querydsl.core.typesModifier and TypeInterfaceDescriptioninterfaceCollectionExpression<T extends Collection<E>,E> CollectionExpressionrepresentsjava.util.Collectiontyped expressionsinterfaceConstant<T>Constantrepresents a general constant expression.interfaceEntityPath<T>EntityPathis the common interface for entity path expressionsinterfaceFactoryExpressionrepresents factory expressions such as JavaBean or Constructor projectionsinterfaceMapExpression<K,V> MapExpressionrepresentsjava.util.Maptyped expressionsinterfaceOperation<T>Operationrepresents an operation with operator and argumentsinterfaceParameterizedExpressionis a common interface for expressions with generic type parametersinterfaceParamExpressiondefines named and unnamed parameters in queriesinterfacePath<T>Pathrepresents a path expression.interfacePredicateis the common interface for Boolean typed expressionsinterfaceSubQueryExpressionrepresents a sub query.interfaceTemplateExpressionprovides base types for custom expressions with integrated serialization templatesClasses in com.querydsl.core.types that implement ExpressionModifier and TypeClassDescriptionclassArrayConstructorExpressionextendsFactoryExpressionBaseto represent array initializersfinal classConstantImpl<T>ConstantImplis the default implementation of theConstantinterfaceclassConstructorExpressionrepresents a constructor invocationclassExpressionBaseis the base class for immutableExpressionimplementationsclassCommon superclass forFactoryExpressionimplementationsstatic classFactoryExpressionAdapterprovides an adapter implementation of theFactoryExpressioninterfaceclassProjection template that allows implementing arbitrary mapping of rows to result objects.classMutableExpressionBaseis the base class for mutable Expression implementationsfinal classNullExpressiondefines a general null expressionclassOperationImplis the default implementation of theOperationinterfaceclassParameterizedPathImplrepresentsPathinstances with a parameterized generic typeclassParamExpressionImpldefines a parameter in a query with an optional nameclassPathImpl<T>PathImpldefines a default implementation of thePathinterfacefinal classPredicateOperationprovides a Boolean typedOperationimplementationclassPredicateTemplateprovides a Boolean typedTemplateExpressionimplementationclassQBean<T>QBeanis a JavaBean populating projection typeclassQListrepresents a projection of type ListclassQMaprepresents a projection of type MapclassQTuplerepresents a projection of typeTupleclassSubQueryExpressionImplis the default implementation of theSubQueryExpressioninterfaceclassDefault implementation of theTemplateExpressioninterfaceMethods in com.querydsl.core.types that return ExpressionModifier and TypeMethodDescriptionstatic <T> Expression<T>ExpressionUtils.all(CollectionExpression<?, ? super T> col) Create aall colexpressionstatic <T> Expression<T>ExpressionUtils.all(SubQueryExpression<? extends T> col) Create aall colexpressionstatic <T> Expression<T>ExpressionUtils.any(CollectionExpression<?, ? super T> col) Create aany colexpressionstatic <T> Expression<T>ExpressionUtils.any(SubQueryExpression<? extends T> col) Create aany colexpressionCreate an alias for the expressionCreate an alias for the expressionstatic <D> Expression<D>ExpressionUtils.as(Expression<D> source, Path<D> alias) Create an alias expression with the given source and aliasstatic <D> Expression<D>ExpressionUtils.as(Expression<D> source, String alias) Create an alias expression with the given source and aliasCreate an alias for the expressionCreate an alias for the expressionstatic Expression<Long>ExpressionUtils.count(Expression<?> source) Create acount(source)expressionstatic <T> Expression<T>ExpressionUtils.extract(Expression<T> expr) Get the potentially wrapped expressionExpression<?>Operation.getArg(int index) Get the argument with the given indexfinal Expression<?>OperationImpl.getArg(int i) ProjectionRole.getProjection()Return the custom projectionOrderSpecifier.getTarget()Get the target expression of this OrderSpecifierstatic Expression<String>ExpressionUtils.likeToRegex(Expression<String> expr) Convert the given like pattern to a regex patternstatic Expression<String>ExpressionUtils.likeToRegex(Expression<String> expr, boolean matchStartAndEnd) Convert the given like pattern to a regex patternstatic <T> Expression<T>ExpressionUtils.list(Class<T> clazz, Expression<?>... exprs) Create a list expression for the given argumentsstatic <T> Expression<T>ExpressionUtils.list(Class<T> clazz, List<? extends Expression<?>> exprs) Create a list expression for the given argumentsstatic Expression<?>ExpressionUtils.orderBy(List<OrderSpecifier<?>> args) Create an expression out of the given order specifiersstatic Expression<String>ExpressionUtils.regexToLike(Expression<String> expr) Convert the given expression from regex form to likestatic Expression<?>ExpressionUtils.toExpression(Object o) Converts the given object to an Expressionstatic Expression<String>ExpressionUtils.toLower(Expression<String> stringExpression) Converts the given expression to lower(expression)Methods in com.querydsl.core.types that return types with arguments of type ExpressionModifier and TypeMethodDescriptionstatic List<Expression<?>>ExpressionUtils.distinctList(Expression<?>... args) Create a distinct list of the given argsstatic List<Expression<?>>ExpressionUtils.distinctList(Expression<?>[]... args) Create a distinct list of the concatenated array contents@Unmodifiable List<Expression<?>>ArrayConstructorExpression.getArgs()final @Unmodifiable List<Expression<?>>ConstructorExpression.getArgs()List<Expression<?>>FactoryExpression.getArgs()Get the invocation argumentsList<Expression<?>>FactoryExpressionUtils.FactoryExpressionAdapter.getArgs()List<Expression<?>>MappingProjection.getArgs()@Unmodifiable List<Expression<?>>Operation.getArgs()Get the arguments of this operationfinal @Unmodifiable List<Expression<?>>OperationImpl.getArgs()List<Expression<?>>QBean.getArgs()@Unmodifiable List<Expression<?>>QList.getArgs()@Unmodifiable List<Expression<?>>QMap.getArgs()@Unmodifiable List<Expression<?>>QTuple.getArgs()@Nullable Map<Expression<?>,?> QMap.newInstance(Object... args) Set<Expression<?>>ValidatingVisitor.visit(Constant<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(FactoryExpression<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(Operation<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(ParamExpression<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(Path<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(SubQueryExpression<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(TemplateExpression<?> expr, Set<Expression<?>> known) Methods in com.querydsl.core.types with parameters of type ExpressionModifier and TypeMethodDescriptionstatic <T> com.querydsl.core.types.AppendingFactoryExpression<T>Projections.appending(Expression<T> base, Expression<?>... rest) Create an appending factory expression which serializes all the arguments but the uses the base value as the return valuestatic <T> ArrayConstructorExpression<T>Projections.array(Class<T[]> type, Expression<T>... exprs) Create a typed array projection for the given type and expressionsstatic <D> Expression<D>ExpressionUtils.as(Expression<D> source, Path<D> alias) Create an alias expression with the given source and aliasstatic <D> Expression<D>ExpressionUtils.as(Expression<D> source, String alias) Create an alias expression with the given source and aliasstatic <T> QBean<T>Projections.bean(Path<? extends T> type, Expression<?>... exprs) Create a Bean populating projection for the given type and expressionsstatic <T> QBean<T>Projections.bean(Class<? extends T> type, Expression<?>... exprs) Create a Bean populating projection for the given type and expressionsstatic <T> ConstructorExpression<T>Projections.constructor(Class<? extends T> type, Expression<?>... exprs) Create a constructor invocation projection for the given type and expressionsstatic <T> ConstructorExpression<T>Projections.constructor(Class<? extends T> type, Class<?>[] paramTypes, Expression<?>... exprs) Create a constructor invocation projection for given type, parameter types and expressionsstatic Expression<Long>ExpressionUtils.count(Expression<?> source) Create acount(source)expressionstatic List<Expression<?>>ExpressionUtils.distinctList(Expression<?>... args) Create a distinct list of the given argsstatic List<Expression<?>>ExpressionUtils.distinctList(Expression<?>[]... args) Create a distinct list of the concatenated array contentsstatic <D> PredicateExpressionUtils.eq(Expression<D> left, Expression<? extends D> right) Create aleft == rightexpressionstatic <D> PredicateExpressionUtils.eqConst(Expression<D> left, D constant) Create aleft == constantexpressionstatic <T> Expression<T>ExpressionUtils.extract(Expression<T> expr) Get the potentially wrapped expressionstatic <T> QBean<T>Projections.fields(Path<? extends T> type, Expression<?>... exprs) Create a field access based Bean populating projection for the given type and expressionsstatic <T> QBean<T>Projections.fields(Class<? extends T> type, Expression<?>... exprs) Create a field access based Bean populating projection for the given type and expressionsstatic PathMetadataPathMetadataFactory.forArrayAccess(Path<?> parent, Expression<Integer> index) Create a new PathMetadata instance for indexed array accessstatic PathMetadataPathMetadataFactory.forListAccess(Path<?> parent, Expression<Integer> index) Create a new PathMetadata instance for indexed list accessstatic <KT> PathMetadataPathMetadataFactory.forMapAccess(Path<?> parent, Expression<KT> key) Create a new PathMetadata instance for key based map accessstatic <D> PredicateExpressionUtils.in(Expression<D> left, CollectionExpression<?, ? extends D> right) Create aleft in rightexpressionstatic <D> PredicateExpressionUtils.in(Expression<D> left, SubQueryExpression<? extends D> right) Create aleft in rightexpressionstatic <D> PredicateExpressionUtils.in(Expression<D> left, Collection<? extends D> right) Create aleft in rightexpressionstatic <D> PredicateExpressionUtils.inAny(Expression<D> left, Iterable<? extends Collection<? extends D>> lists) Create aleft in right or...expression for each liststatic PredicateExpressionUtils.isNotNull(Expression<?> left) Create aleft is not nullexpressionstatic PredicateExpressionUtils.isNull(Expression<?> left) Create aleft is nullexpressionstatic Expression<String>ExpressionUtils.likeToRegex(Expression<String> expr) Convert the given like pattern to a regex patternstatic Expression<String>ExpressionUtils.likeToRegex(Expression<String> expr, boolean matchStartAndEnd) Convert the given like pattern to a regex patternstatic <T> Expression<T>ExpressionUtils.list(Class<T> clazz, Expression<?>... exprs) Create a list expression for the given argumentsstatic QListProjections.list(Expression<?>... args) Create a new List typed projection for the given expressionsstatic QListProjections.list(Expression<?>[]... args) Create a new List typed projection for the given expressionsstatic QMapProjections.map(Expression<?>... exprs) Create a Map typed projection for the given expressionsstatic <D> PredicateExpressionUtils.ne(Expression<D> left, Expression<? super D> right) Create aleft != rightexpressionstatic <D> PredicateExpressionUtils.neConst(Expression<D> left, D constant) Create aleft != constantexpressionstatic <D> PredicateExpressionUtils.notIn(Expression<D> left, CollectionExpression<?, ? extends D> right) Create aleft not in rightexpressionstatic <D> PredicateExpressionUtils.notIn(Expression<D> left, SubQueryExpression<? extends D> right) Create aleft not in rightexpressionstatic <D> PredicateExpressionUtils.notIn(Expression<D> left, Collection<? extends D> right) Create aleft not in rightexpressionstatic <D> PredicateExpressionUtils.notInAny(Expression<D> left, Iterable<? extends Collection<? extends D>> lists) Create aleft not in right and...expression for each liststatic <T> Operation<T>ExpressionUtils.operation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionstatic PredicateOperationExpressionUtils.predicate(Operator operator, Expression<?>... args) Create a new Operation expressionprotected voidQBean.propertyNotFound(Expression<?> expr, String property) static Expression<String>ExpressionUtils.regexToLike(Expression<String> expr) Convert the given expression from regex form to likestatic Expression<String>ExpressionUtils.toLower(Expression<String> stringExpression) Converts the given expression to lower(expression)static QTupleProjections.tuple(Expression<?>... exprs) Create a Tuple typed projection for the given expressionsstatic QTupleProjections.tuple(Expression<?>[]... exprs) Create a Tuple typed projection for the given expressionsprotected voidQBean.typeMismatch(Class<?> type, Expression<?> expr) Method parameters in com.querydsl.core.types with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic <T> QBean<T>Projections.bean(Path<? extends T> type, Map<String, ? extends Expression<?>> bindings) Create a Bean populating projection for the given type and bindingsstatic <T> QBean<T>Projections.bean(Class<? extends T> type, Map<String, ? extends Expression<?>> bindings) Create a Bean populating projection for the given type and bindingsstatic <T> ConstructorExpression<T>Projections.constructor(Class<? extends T> type, Class<?>[] paramTypes, List<Expression<?>> exprs) Create a constructor invocation projection for given type, parameter types and expressionsstatic <T> QBean<T>Projections.fields(Path<? extends T> type, Map<String, ? extends Expression<?>> bindings) Create a field access based Bean populating projection for the given type and bindingsstatic <T> QBean<T>Projections.fields(Class<? extends T> type, Map<String, ? extends Expression<?>> bindings) Create a field access based Bean populating projection for the given type and bindingsstatic <T> Expression<T>ExpressionUtils.list(Class<T> clazz, List<? extends Expression<?>> exprs) Create a list expression for the given argumentsstatic QListProjections.list(List<Expression<?>> args) Create a new List typed projection for the given expressionsstatic <T> Operation<T>ExpressionUtils.operation(Class<? extends T> type, Operator operator, List<Expression<?>> args) Create a new Operation expressionstatic PredicateOperationExpressionUtils.predicate(Operator operator, List<Expression<?>> args) Create a new Operation expressionstatic QTupleProjections.tuple(List<Expression<?>> exprs) Create a Tuple typed projection for the given expressionsSet<Expression<?>>ValidatingVisitor.visit(Constant<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(FactoryExpression<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(Operation<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(ParamExpression<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(Path<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(SubQueryExpression<?> expr, Set<Expression<?>> known) Set<Expression<?>>ValidatingVisitor.visit(TemplateExpression<?> expr, Set<Expression<?>> known) static <T> FactoryExpression<T>FactoryExpressionUtils.wrap(FactoryExpression<T> expr, List<Expression<?>> conversions) static FactoryExpression<?>FactoryExpressionUtils.wrap(List<? extends Expression<?>> projection) Constructors in com.querydsl.core.types with parameters of type ExpressionModifierConstructorDescriptionArrayConstructorExpression(Expression<?>... args) ArrayConstructorExpression(Class<T[]> type, Expression<T>... args) protectedConstructorExpression(Class<? extends T> type, Expression<?>... args) protectedConstructorExpression(Class<? extends T> type, Class<?>[] paramTypes, Expression<?>... args) MappingProjection(Class<? super T> type, Expression<?>... args) Create a new MappingProjection instanceMappingProjection(Class<? super T> type, Expression<?>[]... args) Create a new MappingProjection instanceprotectedOperationImpl(Class<? extends T> type, Operator operator, Expression<?>... args) OrderSpecifier(Order order, Expression<T> target) OrderSpecifier(Order order, Expression<T> target, OrderSpecifier.NullHandling nullhandling) protectedQBean(Class<? extends T> type, boolean fieldAccess, Expression<?>... args) Create a new QBean instanceprotectedQBean(Class<? extends T> type, Expression<?>... args) Create a new QBean instanceprotectedQList(Expression<?>... args) Create a new QList instanceprotectedQList(Expression<?>[]... args) Create a new QMap instanceprotectedQMap(Expression<?>... args) Create a new QMap instanceprotectedQMap(Expression<?>[]... args) Create a new QMap instanceprotectedQTuple(Expression<?>... args) Create a new QTuple instanceprotectedQTuple(Expression<?>[]... args) Create a new QTuple instanceConstructor parameters in com.querydsl.core.types with type arguments of type ExpressionModifierConstructorDescriptionprotectedConstructorExpression(Class<? extends T> type, Class<?>[] paramTypes, List<Expression<?>> args) protectedOperationImpl(Class<? extends T> type, Operator operator, List<Expression<?>> args) protectedPredicateOperation(Operator operator, List<Expression<?>> args) protectedCreate a new QBean instanceprotectedCreate a new QBean instanceprotectedQList(List<Expression<?>> args) Create a new QList instanceprotectedQMap(List<Expression<?>> args) Create a new QMap instanceprotectedQTuple(List<Expression<?>> args) Create a new QTuple instance -
Uses of Expression in com.querydsl.core.types.dsl
Classes in com.querydsl.core.types.dsl with type parameters of type ExpressionModifier and TypeClassDescriptionstatic classCaseBuilder.Cases<A,Q extends Expression<A>> Cascading typesafe Case builderstatic classCaseBuilder.CaseWhen<A,Q extends Expression<A>> Intermediate When stateclassCaseForEqBuilder.Cases<T,Q extends Expression<T>> Intermediate stepclassCaseForEqBuilder.CaseWhen<T,Q extends Expression<T>> Intermediate stepSubinterfaces of Expression in com.querydsl.core.types.dslModifier and TypeInterfaceDescriptioninterfaceArrayExpression<A,T> ArrayExpressiondefines an interface for array typed expressioninterfaceListExpression<E,Q extends SimpleExpression<? super E>> ListExpressionrepresentsjava.util.Listtyped expressionsClasses in com.querydsl.core.types.dsl that implement ExpressionModifier and TypeClassDescriptionclassArrayPath<A,E> ArrayPathrepresents an array typed pathclassBeanPath<T>BeanPathrepresents bean pathsclassBooleanExpressionrepresentsBooleanexpressionsclassBooleanOperationrepresents boolean operationsclassBooleanPathrepresents boolean path expressionsclassBooleanTemplateis a custom boolean expressionclassCoalesce<T extends Comparable>Coalescedefines a coalesce function invocation.classCollectionExpressionBase<T extends Collection<E>,E> CollectionExpressionBaseis an abstract base class forCollectionExpressionimplementationsclassCollectionOperationis a collection typed operationclassCollectionPath<E,Q extends SimpleExpression<? super E>> CollectionPathrepresents collection pathsclassCollectionPathBase<C extends Collection<E>,E, Q extends SimpleExpression<? super E>> CollectionPathis a base class for collection typed pathsclassComparableEntityPath<T extends Comparable>ComparableEntityPathextends theComparablePathclass to implement the EntityPath interfaceclassComparableExpression<T extends Comparable>ComparableExpressionextendsComparableExpressionBaseto provide comparison methods.classComparableExpressionBase<T extends Comparable>ComparableExpressionBaserepresents comparable expressionsclassComparableOperation<T extends Comparable<?>>ComparableOperationrepresents Comparable operationsclassComparablePath<T extends Comparable>ComparablePathrepresents comparable pathsclassComparableTemplate<T extends Comparable<?>>ComparableTemplatedefines custom comparable expressionsclassDateExpression<T extends Comparable>DateExpressionrepresents Date expressions The date representation is compatible with the Gregorian calendar.classDateOperation<T extends Comparable<?>>DateOperationrepresents Date operationsclassDatePath<T extends Comparable>DatePathpresents Date pathsclassDateTemplate<T extends Comparable<?>>DateTemplatedefines custom date expressionsclassDateTimeExpression<T extends Comparable>DateTimeExpressionrepresents Date / Time expressions The date representation is compatible with the Gregorian calendar.classDateTimeOperation<T extends Comparable<?>>DateTimeOperationrepresents DateTime operationsclassDateTimePath<T extends Comparable>DateTimePathpresents DateTime typed pathsclassDateTimeTemplate<T extends Comparable<?>>DateTimeTemplatedefines custom dateTime expressionsclassDslExpressionis the base class for DSL expressions, butSimpleExpressionis the base class for scalar ExpressionsclassDslOperation<T>DslOperationrepresents a simple operation expressionclassDslPath<T>DslPathrepresents simple pathsclassDslTemplate<T>DslTemplatedefines custom simple expressionsclassEntityPathBaseprovides a base class forEntityPathimplementationsclassEnumExpression<T extends Enum<T>>EnumExpressionrepresents Enum typed expressionsclassEnumOperation<T extends Enum<T>>EnumOperationrepresents enum operationsclassEnumPathrepresents enum pathsclassEnumTemplate<T extends Enum<T>>EnumTemplatedefines custom enum expressionsclassListPath<E,Q extends SimpleExpression<? super E>> ListPathrepresents list pathsclassLiteralExpression<T extends Comparable>LiteralExpressionrepresents literal expressionsclassMapExpressionBase<K,V, Q extends SimpleExpression<? super V>> MapExpressionBaseis an abstract base class forMapExpressionimplementationsclassMapPath<K,V, E extends SimpleExpression<? super V>> MapPathrepresents map pathsclassNumberExpression<T extends Number & Comparable<?>>NumberExpressionrepresents a numeric expressionclassNumberOperation<T extends Number & Comparable<?>>NumberOperationrepresents numeric operationsclassNumberPath<T extends Number & Comparable<?>>NumberPathrepresents numeric pathsclassNumberTemplate<T extends Number & Comparable<?>>NumberTemplatedefines custom numeric expressionsclassParam<T>Paramdefines a parameter in a query with an optional nameclassPathBuilder<T>PathBuilderis an extension toEntityPathBasefor dynamic path constructionclassSetPath<E,Q extends SimpleExpression<? super E>> SetPathrepresents set pathsclassSimpleExpressionis the base class forExpressionimplementations.classSimpleOperationrepresents a simple operation expressionclassSimplePath<T>SimplePathrepresents simple pathsclassSimpleTemplatedefines custom simple expressionsclassStringExpressionrepresentsStringexpressionsclassStringOperationrepresents a String typed operationclassStringPathrepresents String typed pathsclassStringTemplatedefines custom String expressionsclassTemporalExpression<T extends Comparable>TemporalExpressionis a supertype for Date/Time related typesclassTimeExpression<T extends Comparable>TimeExpressionrepresents Time expressionsclassTimeOperation<T extends Comparable<?>>TimeOperationrepresents Time operationsclassTimePath<T extends Comparable>TimePathrepresented Time pathsclassTimeTemplate<T extends Comparable<?>>TimeTemplatedefines custom time expressionsFields in com.querydsl.core.types.dsl declared as ExpressionModifier and TypeFieldDescriptionstatic final Expression<Object[]>Wildcard.allWildcard expression (*) for all columnsprotected final Expression<T>DslExpression.mixinMethods in com.querydsl.core.types.dsl that return ExpressionModifier and TypeMethodDescriptionstatic <T> Expression<T>Expressions.constant(T value) Create a Constant expression for the given valueExpression<?>BooleanOperation.getArg(int index) Expression<?>ComparableOperation.getArg(int index) Expression<?>DateOperation.getArg(int index) Expression<?>DateTimeOperation.getArg(int index) Expression<?>DslOperation.getArg(int index) Expression<?>EnumOperation.getArg(int index) Expression<?>NumberOperation.getArg(int index) Expression<?>SimpleOperation.getArg(int index) Expression<?>StringOperation.getArg(int index) Expression<?>TimeOperation.getArg(int index) static Expression<Tuple>Expressions.list(Expression<?>... exprs) Combine the given expressions into a list expressionstatic <T> Expression<T>Expressions.list(Class<T> clazz, Expression<?>... exprs) Combine the given expressions into a list expressionstatic Expression<Tuple>Expressions.set(Expression<?>... exprs) Combine the given expressions into a set expressionstatic <T> Expression<T>Expressions.set(Class<T> clazz, Expression<?>... exprs) Combine the given expressions into a set expressionMethods in com.querydsl.core.types.dsl that return types with arguments of type ExpressionModifier and TypeMethodDescriptionList<Expression<?>>BooleanOperation.getArgs()List<Expression<?>>ComparableOperation.getArgs()List<Expression<?>>DateOperation.getArgs()List<Expression<?>>DateTimeOperation.getArgs()List<Expression<?>>DslOperation.getArgs()List<Expression<?>>EnumOperation.getArgs()List<Expression<?>>NumberOperation.getArgs()List<Expression<?>>SimpleOperation.getArgs()List<Expression<?>>StringOperation.getArgs()List<Expression<?>>TimeOperation.getArgs()<T> CaseForEqBuilder<D>.Cases<T,Expression<T>> CaseForEqBuilder.then(Expression<T> expr) <T> CaseForEqBuilder<D>.Cases<T,Expression<T>> CaseForEqBuilder.then(T then) <T> CaseForEqBuilder<D>.Cases<T,Expression<T>> CaseForEqBuilder.thenNull()Methods in com.querydsl.core.types.dsl with parameters of type ExpressionModifier and TypeMethodDescriptionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.acos(Expression<A> num) Create aacos(num)expressionCoalesce.add(Expression<T> expr) <N extends Number & Comparable<?>>
NumberExpression<T>NumberExpression.add(Expression<N> right) Create athis + rightexpressionTemporalExpression.after(Expression<T> right) Create athis > rightexpressionStringExpression.append(Expression<String> str) Create aconcat(this, str)expressionstatic <D> SimpleExpression<D>Expressions.as(Expression<D> source, Path<D> alias) Create asource as aliasexpressionstatic <D> SimpleExpression<D>Expressions.as(Expression<D> source, String alias) Create asource as aliasexpressionstatic BooleanExpressionExpressions.asBoolean(Expression<Boolean> expr) Create a new BooleanExpressionstatic <T extends Comparable<?>>
ComparableExpression<T>Expressions.asComparable(Expression<T> expr) Create a new ComparableExpressionstatic <T extends Comparable<?>>
DateExpression<T>Expressions.asDate(Expression<T> expr) Create a new DateExpressionstatic <T extends Comparable<?>>
DateTimeExpression<T>Expressions.asDateTime(Expression<T> expr) Create a new DateTimeExpressionstatic <T extends Enum<T>>
EnumExpression<T>Expressions.asEnum(Expression<T> expr) Create a new EnumExpressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.asin(Expression<A> num) Create aasin(num)expressionstatic <T extends Number & Comparable<?>>
NumberExpression<T>Expressions.asNumber(Expression<T> expr) Create a new NumberExpressionstatic <T> SimpleExpression<T>Expressions.asSimple(Expression<T> expr) Create a new SimpleExpressionstatic StringExpressionExpressions.asString(Expression<String> expr) Create a new StringExpressionstatic <T extends Comparable<?>>
TimeExpression<T>Expressions.asTime(Expression<T> expr) Create a new TimeExpressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.atan(Expression<A> num) Create aatan(num)expressionTemporalExpression.before(Expression<T> right) Create athis < rightexpressionComparableExpression.between(@Nullable Expression<T> from, @Nullable Expression<T> to) Create athis between from and toexpressionfinal <A extends Number & Comparable<?>>
BooleanExpressionNumberExpression.between(@Nullable Expression<A> from, @Nullable Expression<A> to) Create athis between from and toexpressionstatic BooleanOperationExpressions.booleanOperation(Operator operator, Expression<?>... args) Create a new Boolean operationStringExpression.charAt(Expression<Integer> i) Create athis.charAt(i)expressionBooleanExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionBooleanExpression.coalesce(Expression<Boolean> expr) Create acoalesce(this, expr)expressionComparableExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionComparableExpression.coalesce(Expression<T> expr) Create acoalesce(this, expr)expressionComparableExpressionBase.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionComparableExpressionBase.coalesce(Expression<T> expr) Create acoalesce(this, expr)expressionDateExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionDateExpression.coalesce(Expression<T> expr) Create acoalesce(this, expr)expressionDateTimeExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionDateTimeExpression.coalesce(Expression<T> expr) Create acoalesce(this, expr)expressionEnumExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionEnumExpression.coalesce(Expression<T> expr) Create acoalesce(this, expr)expressionNumberExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionNumberExpression.coalesce(Expression<T> expr) Create acoalesce(this, expr)expressionStringExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionStringExpression.coalesce(Expression<String> expr) Create acoalesce(this, expr)expressionTimeExpression.coalesce(Expression<?>... exprs) Create acoalesce(this, exprs...)expressionTimeExpression.coalesce(Expression<T> expr) Create acoalesce(this, expr)expressionstatic <T> CollectionExpression<Collection<T>,T> Expressions.collectionOperation(Class<T> elementType, Operator operator, Expression<?>... args) Create a new Collection operation expressionstatic <T extends Comparable<?>>
ComparableOperation<T>Expressions.comparableOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionStringExpression.concat(Expression<String> str) Create aconcat(this, str)expressionfinal BooleanExpressionCollectionExpressionBase.contains(Expression<E> child) Create athis.contains(child)expressionfinal BooleanExpressionMapExpressionBase.contains(Expression<K> key, Expression<V> value) Create a(key, value) in thisexpressionStringExpression.contains(Expression<String> str) Create athis.contains(str)expressionStringExpression.containsIgnoreCase(Expression<String> str) Create athis.containsIgnoreCase(str)expressionfinal BooleanExpressionMapExpressionBase.containsKey(Expression<K> key) Create akey in keys(this)expressionfinal BooleanExpressionMapExpressionBase.containsValue(Expression<V> value) Create avalue in values(this)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.cos(Expression<A> num) Create acos(num)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.cosh(Expression<A> num) Create acosh(num)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.cot(Expression<A> num) Create acot(num)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.coth(Expression<A> num) Create acoth(num)expressionprotected abstract QCaseBuilder.Cases.createResult(Class<? extends A> type, Expression<A> last) protected abstract QCaseForEqBuilder.Cases.createResult(Class<T> type, Expression<T> last) static <T extends Comparable<?>>
DateOperation<T>Expressions.dateOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionstatic <T extends Comparable<?>>
DateTimeOperation<T>Expressions.dateTimeOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.degrees(Expression<A> num) Create adeg(num)expression<N extends Number & Comparable<?>>
NumberExpression<T>NumberExpression.divide(Expression<N> right) Create athis / rightexpressionstatic <T> DslOperation<T>Expressions.dslOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionStringExpression.endsWith(Expression<String> str) Create athis.endsWith(str)expressionStringExpression.endsWithIgnoreCase(Expression<String> str) Create athis.endsWithIgnoreCase(str)expressionstatic <T extends Enum<T>>
EnumOperation<T>Expressions.enumOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Enum operation expressionSimpleExpression.eq(Expression<? super T> right) Create athis == rightexpressionStringExpression.equalsIgnoreCase(Expression<String> str) Create athis.equalsIgnoreCase(str)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.exp(Expression<A> num) Create aexp(num)expressionprotected PathMetadataListPath.forListAccess(Expression<Integer> index) protected PathMetadataMapPath.forMapAccess(Expression<K> key) ArrayExpression.get(Expression<Integer> index) Create athis[index]expressionArrayPath.get(Expression<Integer> index) ListExpression.get(Expression<Integer> index) Indexed access, gets the element at the given indexListPath.get(Expression<Integer> index) abstract QMapExpressionBase.get(Expression<K> key) Create athis.get(key)expressionMapPath.get(Expression<K> key) ComparableExpression.goe(Expression<T> right) Create athis >= rightexpressionfinal <A extends Number & Comparable<?>>
BooleanExpressionNumberExpression.goe(Expression<A> right) Create athis >= rightexpressionComparableExpression.gt(Expression<T> right) Create athis > rightexpressionfinal <A extends Number & Comparable<?>>
BooleanExpressionNumberExpression.gt(Expression<A> right) Create athis > rightexpressionSimpleExpression.in(Expression<? extends T>... right) Create athis in rightexpressionStringExpression.indexOf(Expression<String> str) Create athis.indexOf(str)expressionStringExpression.indexOf(Expression<String> str, int i) Create athis.indexOf(str)expressionNumberExpression.like(Expression<String> str) Create athis like strexpressionStringExpression.like(Expression<String> str) Create athis like strexpressionStringExpression.like(Expression<String> str, char escape) Create athis like strexpressionStringExpression.likeIgnoreCase(Expression<String> str) Create athis like strexpression ignoring caseStringExpression.likeIgnoreCase(Expression<String> str, char escape) Create athis like strexpression ignoring casestatic Expression<Tuple>Expressions.list(Expression<?>... exprs) Combine the given expressions into a list expressionstatic <T> Expression<T>Expressions.list(Class<T> clazz, Expression<?>... exprs) Combine the given expressions into a list expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.ln(Expression<A> num) Create aln(num)expressionStringExpression.locate(Expression<String> str) Create alocate(str, this)expressionStringExpression.locate(Expression<String> str, NumberExpression<Integer> start) Create alocate(str, this, start)expressionStringExpression.locate(String str, Expression<Integer> start) Create alocate(str, this, start)expressionComparableExpression.loe(Expression<T> right) Create athis <= rightexpressionfinal <A extends Number & Comparable<?>>
BooleanExpressionNumberExpression.loe(Expression<A> right) Create athis <= rightexpressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.log(Expression<A> num, int base) Create alog(num, base)expressionstatic StringExpressionStringExpressions.lpad(Expression<String> in, int length) Create alpad(in, length)expressionstatic StringExpressionStringExpressions.lpad(Expression<String> in, int length, char c) Create alpad(in, length, c)expressionstatic StringExpressionStringExpressions.lpad(Expression<String> in, NumberExpression<Integer> length, char c) Create alpad(in, length, c)expressionstatic StringExpressionStringExpressions.lpad(Expression<String> in, Expression<Integer> length) Create alpad(in, length)expressionComparableExpression.lt(Expression<T> right) Create athis < rightexpressionfinal <A extends Number & Comparable<?>>
BooleanExpressionNumberExpression.lt(Expression<A> right) Create athis < rightexpressionstatic StringExpressionStringExpressions.ltrim(Expression<String> str) Create altrim(str)expressionStringExpression.matches(Expression<String> regex) Create athis.matches(regex)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<A>MathExpressions.max(Expression<A> left, Expression<A> right) Create amax(left, right)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<A>NumberExpression.max(Expression<A> left, Expression<A> right) Create amax(left, right)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<A>MathExpressions.min(Expression<A> left, Expression<A> right) Create amin(left, right)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<A>NumberExpression.min(Expression<A> left, Expression<A> right) Create amin(left, right)expressionNumberExpression.mod(Expression<T> num) Create amod(this, num)expression<N extends Number & Comparable<?>>
NumberExpression<T>NumberExpression.multiply(Expression<N> right) Create athis * rightexpressionSimpleExpression.ne(Expression<? super T> right) Create athis <> rightexpressionComparableExpression.notBetween(Expression<T> from, Expression<T> to) Create athis not between from and toexpressionfinal <A extends Number & Comparable<?>>
BooleanExpressionNumberExpression.notBetween(Expression<A> from, Expression<A> to) Create athis not between from and toexpressionStringExpression.notEqualsIgnoreCase(Expression<String> str) Create a!this.equalsIgnoreCase(str)expressionSimpleExpression.notIn(Expression<? extends T>... right) Create athis not in rightexpressionStringExpression.notLike(Expression<String> str) Create athis not like strexpressionStringExpression.notLike(Expression<String> str, char escape) Create athis not like strexpressionBooleanExpression.nullif(Expression<Boolean> other) Create anullif(this, other)expressionComparableExpression.nullif(Expression<T> other) Create anullif(this, other)expressionComparableExpressionBase.nullif(Expression<T> other) Create anullif(this, other)expressionDateExpression.nullif(Expression<T> other) Create anullif(this, other)expressionDateTimeExpression.nullif(Expression<T> other) Create anullif(this, other)expressionEnumExpression.nullif(Expression<T> other) Create anullif(this, other)expressionNumberExpression.nullif(Expression<T> other) Create anullif(this, other)expressionSimpleExpression.nullif(Expression<T> other) Create anullif(this, other)expressionStringExpression.nullif(Expression<String> other) Create anullif(this, other)expressionTimeExpression.nullif(Expression<T> other) Create anullif(this, other)expressionstatic <T extends Number & Comparable<?>>
NumberOperation<T>Expressions.numberOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionstatic <T> SimpleOperation<T>Expressions.operation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionCaseBuilder.Cases.otherwise(Expression<A> expr) CaseForEqBuilder.Cases.otherwise(Expression<T> otherwise) static <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.power(Expression<A> num, int exponent) Create apower(num, exponent)expressionstatic BooleanOperationExpressions.predicate(Operator operator, Expression<?>... args) Create a new Predicate operationStringExpression.prepend(Expression<String> str) Create aconcat(str, this)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.radians(Expression<A> num) Create arad(num)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<A>MathExpressions.round(Expression<A> num) Round to nearest integerstatic <A extends Number & Comparable<?>>
NumberExpression<A>MathExpressions.round(Expression<A> num, int s) Round to s decimal placesstatic StringExpressionStringExpressions.rpad(Expression<String> in, int length) Create arpad(in, length)expressionstatic StringExpressionStringExpressions.rpad(Expression<String> in, int length, char c) Create arpad(in, length, c)expressionstatic StringExpressionStringExpressions.rpad(Expression<String> in, NumberExpression<Integer> length, char c) Create arpad(in, length, c)expressionstatic StringExpressionStringExpressions.rpad(Expression<String> in, Expression<Integer> length) Create arpad(in, length)expressionstatic StringExpressionStringExpressions.rtrim(Expression<String> str) Create artrim(str)expressionstatic Expression<Tuple>Expressions.set(Expression<?>... exprs) Combine the given expressions into a set expressionstatic <T> Expression<T>Expressions.set(Class<T> clazz, Expression<?>... exprs) Combine the given expressions into a set expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Integer>MathExpressions.sign(Expression<A> num) Create asign(num)expressionstatic <T> SimpleOperation<T>Expressions.simpleOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.sin(Expression<A> num) Create asin(num)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.sinh(Expression<A> num) Create asinh(num)expressionStringExpression.startsWith(Expression<String> str) Create athis.startsWith(str)expressionStringExpression.startsWithIgnoreCase(Expression<String> str) Create athis.startsWithIgnoreCase(str)expressionstatic StringOperationExpressions.stringOperation(Operator operator, Expression<?>... args) Create a new Operation expressionStringExpression.substring(int beginIndex, Expression<Integer> endIndex) Create athis.substring(beginIndex, endIndex)expressionStringExpression.substring(Expression<Integer> beginIndex) Create athis.substring(beginIndex)expressionStringExpression.substring(Expression<Integer> beginIndex, int endIndex) Create athis.substring(beginIndex, endIndex)expressionStringExpression.substring(Expression<Integer> beginIndex, Expression<Integer> endIndex) Create athis.substring(beginIndex, endIndex)expression<N extends Number & Comparable<?>>
NumberExpression<T>NumberExpression.subtract(Expression<N> right) Create athis - rightexpressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.tan(Expression<A> num) Create atan(num)expressionstatic <A extends Number & Comparable<?>>
NumberExpression<Double>MathExpressions.tanh(Expression<A> num) Create atanh(num)expressionCaseBuilder.CaseWhen.then(Expression<A> expr) <A> CaseBuilder.Cases<A,SimpleExpression<A>> CaseBuilder.Initial.then(Expression<A> expr) CaseForEqBuilder<D>.Cases<T,Q> CaseForEqBuilder.CaseWhen.then(Expression<T> then) <T> CaseForEqBuilder<D>.Cases<T,Expression<T>> CaseForEqBuilder.then(Expression<T> expr) <T extends Number & Comparable<?>>
CaseForEqBuilder<D>.Cases<T,NumberExpression<T>> CaseForEqBuilder.thenNumber(Expression<T> then) static <T extends Comparable<?>>
TimeOperation<T>Expressions.timeOperation(Class<? extends T> type, Operator operator, Expression<?>... args) Create a new Operation expressionCaseForEqBuilder.Cases.when(Expression<? extends D> when) SimpleExpression.when(Expression<? extends T> other) Create a case expression builderConstructors in com.querydsl.core.types.dsl with parameters of type ExpressionModifierConstructorDescriptionBooleanExpression(Expression<Boolean> mixin) protectedBooleanOperation(Operator op, Expression<?>... args) CaseForEqBuilder(Expression<D> base, Expression<? extends D> other) CaseWhen(CaseForEqBuilder<D>.Cases<T, Q> cases, Expression<? extends D> when) Coalesce(Expression... exprs) Coalesce(Class<? extends T> type, Expression<?>... exprs) Coalesce(Class<? extends T> type, Expression<T> expr) CollectionExpressionBase(Expression<T> mixin) protectedCollectionOperation(Class<? super E> type, Operator op, Expression<?>... args) ComparableExpression(Expression<T> mixin) ComparableExpressionBase(Expression<T> mixin) protectedComparableOperation(Class<? extends T> type, Operator op, Expression<?>... args) DateExpression(Expression<T> mixin) protectedDateOperation(Class<? extends T> type, Operator op, Expression<?>... args) DateTimeExpression(Expression<T> mixin) protectedDateTimeOperation(Class<? extends T> type, Operator op, Expression<?>... args) DslExpression(Expression<T> mixin) protectedDslOperation(Class<? extends T> type, Operator op, Expression<?>... args) EnumExpression(Expression<T> mixin) protectedEnumOperation(Class<? extends T> type, Operator op, Expression<?>... args) LiteralExpression(Expression<T> mixin) MapExpressionBase(Expression<Map<K, V>> mixin) NumberExpression(Expression<T> mixin) protectedNumberOperation(Class<? extends T> type, Operator op, Expression<?>... args) SimpleExpression(Expression<T> mixin) protectedSimpleOperation(Class<? extends T> type, Operator op, Expression<?>... args) StringExpression(Expression<String> mixin) protectedStringOperation(Operator op, Expression<?>... args) TemporalExpression(Expression<T> mixin) TimeExpression(Expression<T> mixin) protectedTimeOperation(Class<? extends T> type, Operator op, Expression<?>... args) Constructor parameters in com.querydsl.core.types.dsl with type arguments of type ExpressionModifierConstructorDescriptionprotectedBooleanOperation(Operator op, List<Expression<?>> args) protectedCollectionOperation(Class<? super E> type, Operator op, List<Expression<?>> args) protectedComparableOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) protectedDateOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) protectedDateTimeOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) protectedDslOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) protectedEnumOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) protectedNumberOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) protectedSimpleOperation(Class<? extends T> type, Operator op, List<Expression<?>> args) protectedStringOperation(Operator op, List<Expression<?>> args) protectedTimeOperation(Class<? extends T> type, Operator op, List<Expression<?>> args)