T
- expression typeE
- collection element typepublic abstract class CollectionExpressionBase<T extends java.util.Collection<E>,E> extends DslExpression<T> implements CollectionExpression<T,E>
CollectionExpressionBase
is an abstract base class for CollectionExpression
implementationshashCode, mixin
Constructor and Description |
---|
CollectionExpressionBase(Expression<T> mixin) |
Modifier and Type | Method and Description |
---|---|
DslExpression<E> |
as(EntityPath<E> alias) |
BooleanExpression |
contains(E child)
Create a
this.contains(child) expression |
BooleanExpression |
contains(Expression<E> child)
Create a
this.contains(child) expression |
abstract java.lang.Class<E> |
getElementType()
Get the element type
|
BooleanExpression |
isEmpty()
Create a
this.isEmpty() expression |
BooleanExpression |
isNotEmpty()
Create a
!this.isEmpty() expression |
NumberExpression<java.lang.Integer> |
size()
Create a
this.size() expression |
as, as, equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getParameter
accept, getType
public CollectionExpressionBase(Expression<T> mixin)
public DslExpression<E> as(EntityPath<E> alias)
public final BooleanExpression contains(E child)
this.contains(child)
expression
Evaluates to true, if child is contained in this
child
- element to checkpublic final BooleanExpression contains(Expression<E> child)
this.contains(child)
expression
Evaluates to true, if child is contained in this
child
- element to checkpublic abstract java.lang.Class<E> getElementType()
public final BooleanExpression isEmpty()
this.isEmpty()
expression
Evaluates to true, if this has no elements.
public final BooleanExpression isNotEmpty()
!this.isEmpty()
expression
Evaluates to true, if this has elements
public final NumberExpression<java.lang.Integer> size()
this.size()
expression
Gets the number of elements in this collection
Copyright © 2007–2021 Querydsl. All rights reserved.