Interface ProjectionList


@Deprecated(forRemoval=true, since="4.9") public interface ProjectionList
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by JPA criteria
Models a list of projections.
Since:
1.0
Author:
Graeme Rocher
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Adds a projection to the projection list.
    avg(String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Computes the average value of a property.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Count the number of records returned.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Count the number of records returned.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Projection to return only distinct records.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Defines a group by projection for datastores that support it.
    id()
    Deprecated, for removal: This API element is subject to removal in a future version.
    A Projection that obtains the id of an object.
    max(String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Computes the pageSize value of a property.
    min(String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Computes the min value of a property.
    Deprecated, for removal: This API element is subject to removal in a future version.
    A projection that obtains the value of a property of an entity.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Count the number of records returned.
    sum(String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Computes the sum of a property.
  • Method Details

    • id

      Deprecated, for removal: This API element is subject to removal in a future version.
      A Projection that obtains the id of an object.
      Returns:
      The projection list
    • count

      Deprecated, for removal: This API element is subject to removal in a future version.
      Count the number of records returned.
      Returns:
      The projection list
    • countDistinct

      ProjectionList countDistinct(String property)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Count the number of records returned.
      Parameters:
      property - The property name to count
      Returns:
      The projection list
    • groupProperty

      ProjectionList groupProperty(String property)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Defines a group by projection for datastores that support it.
      Parameters:
      property - The property name
      Returns:
      The projection list
    • distinct

      ProjectionList distinct()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Projection to return only distinct records.
      Returns:
      The projection list
    • rowCount

      ProjectionList rowCount()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Count the number of records returned.
      Returns:
      The projection list
    • property

      ProjectionList property(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      A projection that obtains the value of a property of an entity.
      Parameters:
      name - The name of the property
      Returns:
      The PropertyProjection instance
    • sum

      Deprecated, for removal: This API element is subject to removal in a future version.
      Computes the sum of a property.
      Parameters:
      name - The name of the property
      Returns:
      The PropertyProjection instance
    • min

      Deprecated, for removal: This API element is subject to removal in a future version.
      Computes the min value of a property.
      Parameters:
      name - The name of the property
      Returns:
      The PropertyProjection instance
    • max

      Deprecated, for removal: This API element is subject to removal in a future version.
      Computes the pageSize value of a property.
      Parameters:
      name - The name of the property
      Returns:
      The PropertyProjection instance
    • avg

      Deprecated, for removal: This API element is subject to removal in a future version.
      Computes the average value of a property.
      Parameters:
      name - The name of the property
      Returns:
      The PropertyProjection instance
    • add

      ProjectionList add(@NonNull QueryModel.Projection projection)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Adds a projection to the projection list.
      Parameters:
      projection - The projection to add
      Returns:
      This list