OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1072) Annotation to describe supported aggregation methods


     [ https://issues.oasis-open.org/browse/ODATA-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerald Krause updated ODATA-1072:
---------------------------------

    Proposal: 
Add annotation term:
<Term Name="AggregationConstraints" Type="Aggregation.AggregationConstraintsType" AppliesTo="Property"> 
  <Annotation Term="Core.Description"> 
    <String>Constraints for aggregating property values</String> 
  </Annotation>
</Term>

<ComplexType Name="AggregationConstraintsType">
  <Property Name="SupportedAggregationMethods" Type="Collection(Edm.String)">
    <Annotation Term="Core.Description"> 
      <String>Standard and custom aggregation methods than can be applied to the property. If omitted, all aggregation methods can be applied</String>
    </Annotation>
  </Property>
  <Property Name="RecommendedAggregationMethod" Type="Edm.String">
    <Annotation Term="Core.Description"> 
      <String>Recommended method for aggregating values of the property</String>
    </Annotation>
  </Property>
</ComplexType>



  was:
Add annotation term:
<Term Name="AggregationConstraints" Type="Aggregation.AggregationConstraintsType" AppliesTo="Property"> 
  <Annotation Term="Core.Description"> 
    <String>Constraints for aggregating property values</String> 
  </Annotation>
  <ComplexType Name="AggregationConstraintsType">
    <Property Name="SupportedAggregationMethods" Type="Collection(Edm.String)">
      <Annotation Term="Core.Description"> 
	<String>Standard and custom aggregation methods than can be applied to the property. If omitted, all aggregation methods can be applied</String>
      </Annotation>
    </Property>
    <Property Name="RecommendedAggregationMethod" Type="Edm.String">
      <Annotation Term="Core.Description"> 
	<String>Recommended method for aggregating values of the property</String>
      </Annotation>
    </Property>
  </ComplexType>
</Term>




> Annotation to describe supported aggregation methods
> ----------------------------------------------------
>
>                 Key: ODATA-1072
>                 URL: https://issues.oasis-open.org/browse/ODATA-1072
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: New Feature
>          Components: Extension for Data Aggregation, Vocabularies
>    Affects Versions: V4.0_CSD03
>         Environment: Proposed
>            Reporter: Gerald Krause
>             Fix For: V4.0_CSD04
>
>
> A service may support only a subset of all standard and custom aggregation methods advertised in annotation ApplySupported/CustomAggregationMethods for certain aggregatable properties. If deviations from the full set could be annotated at property level, clients would be able to recognize them and avoid requests that will be rejected by the server. In particular, this would also support the special case of an aggregatable property that does not support any aggregation method, but there is a CustomAggregate annotation with the name of the property as qualifier. Then, the property could still be used in the aggregate transformation without "with", and could also be annotated with further terms.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]