public interface EntityCountRepository<E>
| Modifier and Type | Method and Description | 
|---|---|
Long | 
count()
Count all existing entities of entity class  
<E>. | 
Long | 
count(E example,
     javax.persistence.metamodel.SingularAttribute<E,?>... attributes)
Count existing entities of entity class  
<E>
 with for a given object and a specific set of properties.. | 
Long | 
countLike(E example,
         javax.persistence.metamodel.SingularAttribute<E,?>... attributes)
Count existing entities of entity class using the like operator for String attributes  
<E>
 with for a given object and a specific set of properties.. | 
Long count()
<E>.Long count(E example, javax.persistence.metamodel.SingularAttribute<E,?>... attributes)
<E>
 with for a given object and a specific set of properties..example - Sample entity. Query all like.attributes - Which attributes to consider for the query.Long countLike(E example, javax.persistence.metamodel.SingularAttribute<E,?>... attributes)
<E>
 with for a given object and a specific set of properties..example - Sample entity. Query all like.attributes - Which attributes to consider for the query.Copyright © 2017 The Apache Software Foundation. All rights reserved.