[oslc-core] oslc:totalSize Clarification

Arthur Ryman ryman at ca.ibm.com
Fri Dec 3 11:18:20 EST 2010


Andy,

Yes, totalCount is repeated. See [1] for a discuss of stable vs unstable 
paging.

[1] 
http://open-services.net/bin/view/Main/OslcCoreSpecification#Resource_Paging

Regards, 
___________________________________________________________________________ 

Arthur Ryman, PhD, DE

Chief Architect, Project and Portfolio Management
IBM Software, Rational
Markham, ON, Canada | Office: 905-413-3077, Cell: 416-939-5063





From:
Andrew J Berner <ajberner at us.ibm.com>
To:
Scott Bosworth <bosworth at us.ibm.com>
Cc:
oslc-core <oslc-core at open-services.net>, 
oslc-core-bounces at open-services.net
Date:
12/03/2010 11:03 AM
Subject:
Re: [oslc-core] oslc:totalSize Clarification
Sent by:
oslc-core-bounces at open-services.net



+1 for only using totalCount in conjunction with query responses (and also
probably for Arthur's amendment in another e-mail for "thisCount" on a 
page
of the response, but is totalCount repeated on every page???  what happens
with -- I forget the terminology -- queries where the paged results aren't
cached, so the "second page" is different based on when it's retrieved)

It's for queries that this is important; it's not a new concept in this
context.

Andy Berner
Lead Architect, ISV Technical Enablement and Strategy
IBM Rational Business Development
972 561-6599
ajberner at us.ibm.com

Ready for IBM Rational software partner program -
http://www.ibm.com/isv/rational/readyfor.html


|------------>
| From:      |
|------------>
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Scott Bosworth/Raleigh/IBM at IBMUS                                     |
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |oslc-core <oslc-core at open-services.net>              |
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |12/03/2010 09:35 AM                        |
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [oslc-core] oslc:totalSize Clarification                        |
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |oslc-core-bounces at open-services.net      |
 
>--------------------------------------------------------------------------------------------------------------------------------------------------|





As pointed out before, the use of totalCount with paging of "other
resources" seems a bit suspect. Do we really need to say that it SHOULD be
the number of property values (triples)? Is this proposed definition
useful? Is there a use case where someone is needing this capability? 
Seems
like we are specing something that doesn't need to be spec'd. Maybe we
should just say that totalCount is used in conjunction with query
responses?

Scott


Scott Bosworth | IBM Rational CTO Team | bosworth at us.ibm.com | 
919.486.2197
(w) | 919.244.3387(m) | 919.254.5271(f)

oslc-core-bounces at open-services.net wrote on 12/03/2010 10:01:08 AM:

> From: Dave <snoopdave at gmail.com>
> To: oslc-core <oslc-core at open-services.net>
> Date: 12/03/2010 10:01 AM
> Subject: Re: [oslc-core] oslc:totalSize Clarification
> Sent by: oslc-core-bounces at open-services.net
>
> Thanks for feedback, Steve and Arthur.
>
> Here's what I have added to the spec:
>
> oslc:totalCount - This optional property indicates the total number of
> results across all pages, its value should be non-negative. In the
> context of a query resource, this value *SHOULD* be the total number
> of result resources, i.e. the member property values that match the
> query. In the context of other resources, the value *SHOULD* be the
> total number of property values (i.e. RDF triples) of the resource.
>
> Any objections?
>
> Thanks,
> Dave
>
> _______________________________________________
> Oslc-Core mailing list
> Oslc-Core at open-services.net
> http://open-services.net/mailman/listinfo/oslc-core_open-services.net
> _______________________________________________
Oslc-Core mailing list
Oslc-Core at open-services.net
http://open-services.net/mailman/listinfo/oslc-core_open-services.net




_______________________________________________
Oslc-Core mailing list
Oslc-Core at open-services.net
http://open-services.net/mailman/listinfo/oslc-core_open-services.net







More information about the Oslc-Core mailing list