コード例 #1
0
 public Query.ProjectionList id() {
   if (projectionList != null) {
     projectionList.id();
   }
   return projectionList;
 }
コード例 #2
0
 /**
  * Computes the max value of a property
  *
  * @param name The name of the property
  * @return The PropertyProjection instance
  */
 public ProjectionList max(String name) {
   if (projectionList != null) {
     projectionList.max(name);
   }
   return projectionList;
 }
コード例 #3
0
 /**
  * Computes the average value of a property
  *
  * @param name The name of the property
  * @return The PropertyProjection instance
  */
 public ProjectionList avg(String name) {
   if (projectionList != null) {
     projectionList.avg(name);
   }
   return projectionList;
 }
コード例 #4
0
 /**
  * Computes the sum of a property
  *
  * @param name The name of the property
  * @return The projection list
  */
 public ProjectionList sum(String name) {
   if (projectionList != null) {
     projectionList.sum(name);
   }
   return projectionList;
 }
コード例 #5
0
 /**
  * A projection that obtains the value of a property of an entity
  *
  * @param name The name of the property
  * @return The projection list
  */
 public ProjectionList property(String name) {
   if (projectionList != null) {
     projectionList.property(name);
   }
   return projectionList;
 }
コード例 #6
0
 /**
  * Projection that signifies to return only distinct results
  *
  * @param property The name of the property
  * @return The projection list
  */
 public ProjectionList distinct(String property) {
   if (projectionList != null) {
     projectionList.distinct(property);
   }
   return projectionList;
 }
コード例 #7
0
 /**
  * Projection that signifies to return only distinct results
  *
  * @return The projection list
  */
 public ProjectionList distinct() {
   if (projectionList != null) {
     projectionList.distinct();
   }
   return projectionList;
 }
コード例 #8
0
 /**
  * Count the number of records returned
  *
  * @return The project list
  */
 public Query.ProjectionList count() {
   if (projectionList != null) {
     projectionList.count();
   }
   return projectionList;
 }