<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1165516237;
        mso-list-type:hybrid;
        mso-list-template-ids:1640006196 -210477944 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;
        mso-fareast-font-family:SimSun;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I think what Orest says makes sense both the requirements and
the methods to go from and to. As far as I know this matches the ADO.Net
readers then exactly (which is a good thing imo).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-- Carsten<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>P.S. By the way I noticed that I said the opposite than intended
in my last reply to this thread &nbsp;- I am glad you all corrected it by now.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
fdo-internals-bounces@lists.osgeo.org
[mailto:fdo-internals-bounces@lists.osgeo.org] <b>On Behalf Of </b>Orest
Halustchak<br>
<b>Sent:</b> Wednesday, September 16, 2009 3:04 PM<br>
<b>To:</b> FDO Internals Mail List<br>
<b>Subject:</b> RE: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access
By Index<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The current RFC includes a default implementation so that the
new api can be used with providers that don&#8217;t implement this natively or don&#8217;t
get to it right away. If the default implementation maintains the same index as
per the class definition then we should be ok with providers that stay with
this default.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>So, for providers that choose to implement this api natively, we
want to add the requirement that the index of properties will be the same as
the order in the class definition. We should be able to add that requirement
here. If we make that change, then the rest of the RFC would be acceptable?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I would still include the property to / from index functions,
though.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Orest.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> fdo-internals-bounces@lists.osgeo.org
[mailto:fdo-internals-bounces@lists.osgeo.org] <b>On Behalf Of </b>Traian
Stanev<br>
<b>Sent:</b> Wednesday, September 16, 2009 2:42 PM<br>
<b>To:</b> FDO Internals Mail List<br>
<b>Subject:</b> RE: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access
By Index<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I think the discussion keeps dancing around the issue without
anybody giving an objective technical reason of why it is impossible for the
order of the properties in the class definition returned by the Select to match
the indices returned by GetPropertyIndex. If it is not impossible, then at
least give some other overwhelming reason of why it should not be done. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The following arguments are not sufficient:<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Existing providers should not have to be forced to change &#8211; as
far as I know there are no existing providers implementing this new API which
we are introducing with this RFC.<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='font-size:11.0pt;font-family:Symbol;color:#1F497D'><span
style='mso-list:Ignore'>&middot;<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It&#8217;s more work to do it like that &#8211; the same amount of work
would have to be done on the client side in order to use this feature if it is
not done on the provider side<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Unless I am misunderstanding things, the default implementation
will actually conform to this, since it will get the indices from the class
definition. Providers which are unwilling to implement uniform indexing can
simply fall back to the default implementation, which will automatically give
them uniform indexing.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The GetClassDefinition call can build up the property collection
in any way it wants. Is there anything stopping it from ordering the collection
of properties based on values returned by GetPropertyIndex?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Traian<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
fdo-internals-bounces@lists.osgeo.org
[mailto:fdo-internals-bounces@lists.osgeo.org] <b>On Behalf Of </b>Badreddine
Karoui<br>
<b>Sent:</b> Wednesday, September 16, 2009 2:28 PM<br>
<b>To:</b> FDO Internals Mail List<br>
<b>Subject:</b> RE: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access
By Index<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Never mind the potential performance improvement, you can also
look at this feature as reducing complexity. If anything, it brings the Fdo
feature reader in line with similar data access API such as ADO.Net; I call
that more familiar and &nbsp;less complex. Also, relying on a documented
behavior such as the reader returning properties in the same order as the class
definition is complex and error prone. I&#8217;d rather use an API that is self
documenting than having to dig some rule off some document somewhere.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Badreddine<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
fdo-internals-bounces@lists.osgeo.org
[mailto:fdo-internals-bounces@lists.osgeo.org] <b>On Behalf Of </b>Jason Birch<br>
<b>Sent:</b> Wednesday, September 16, 2009 12:53 PM<br>
<b>To:</b> FDO Internals Mail List<br>
<b>Subject:</b> Re: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access
By Index<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>I agree with this.&nbsp; <br>
<br>
FDO is already seen as large and awkward by much of the larger open source
community.&nbsp; Anything that can be done to reduce complexity, or at least
not increase complexity, is good.<br>
<br>
Jason<o:p></o:p></p>

<div>

<p class=MsoNormal>2009/9/16 Traian Stanev &lt;<a
href="mailto:traian.stanev@autodesk.com">traian.stanev@autodesk.com</a>&gt;<o:p></o:p></p>

<p class=MsoNormal><br>
Hi Dan,<br>
<br>
I think you are right, there are not many places where the performance gain
would be significant -- but they do exist. Imagine a copy from one data source
to another, of a feature class with 100K features and 100 columns -- a common
situation with street network files. For each feature, for each property,
&nbsp;you would have to do a name-&gt;index lookup inside the reader provider
(SDF, SQLite, SHP or whatever other provider gets columns by index natively).
Such lookups do get costly once you have lots of columns.<br>
<br>
If given a choice between the RFC34 as it is now and not having access by index
at all, I would choose the latter -- i.e. I'd rather see the RFC withdrawn than
implemented in a way that will require API users to write more code to use it
than if they used access by name. Simply because if it's more work to use
access by index, I don't see people switching their code around to make use of
it.<br>
<span style='color:#888888'><br>
Traian</span><o:p></o:p></p>

<div>

<p class=MsoNormal><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><o:p></o:p></p>

</div>

<div>

<div>

<p class=MsoNormal>&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>]
On Behalf Of Dan Stoica<br>
&gt; Sent: Wednesday, September 16, 2009 9:54 AM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access By
Index<br>
&gt;<br>
&gt; Talking about the performance gain it might be disappointing. The reason
is<br>
&gt; the access by name has been optimized for a number of providers.<br>
&gt;<br>
&gt; As for convenience, I'm not very sure either.<br>
&gt;<br>
&gt; Dan.<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Klain Qin<br>
&gt; Sent: Tuesday, September 15, 2009 10:02 PM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access By
Index<br>
&gt;<br>
&gt; Yes, Carsten. You are right. This is exactly the way being proposed for
the<br>
&gt; default implementation as depicted in the RFC.<br>
&gt;<br>
&gt; Klain<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Carsten Hess<br>
&gt; Sent: Wednesday, September 16, 2009 9:39 AM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access By
Index<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Couldn't the default implementation of the reader base class implement an<br>
&gt; index based access using a name / index hashtable?<br>
&gt; That way index based access would be about as slow as name based access in<br>
&gt; the default cases and in providers taht override this index based behavior<br>
&gt; the access would be faster. It also would not put a burden on the client<br>
&gt; code while not loosing any performance in either case.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; &nbsp; &nbsp;Carsten<br>
&gt; ________________________________________<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[fdo-internals-<br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Klain Qin [<a href="mailto:klain.qin@autodesk.com">klain.qin@autodesk.com</a>]<br>
&gt; Sent: Tuesday, September 15, 2009 9:34 PM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access By
Index<br>
&gt;<br>
&gt; To fix all of the providers internally would be hard and involve much
work.<br>
&gt; One example is: there are several providers like sqllite/rdbms which have<br>
&gt; delay loading readers in some cases meaning the first property being<br>
&gt; accessed will be first cached for class definition. There are other<br>
&gt; complexities to ensure the consistency. So to provide an API like<br>
&gt; GetPropertyIndex() would be easier for the users to use the new API<br>
&gt; conveniently and correctly. The only concern is, as you mentioned, the<br>
&gt; client codes have to keep a property name-&gt;index map by themselves. But<br>
&gt; still providing this new API will be the easiest and least efforts at this<br>
&gt; time.<br>
&gt;<br>
&gt; Klain<br>
&gt;<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Traian Stanev<br>
&gt; Sent: Tuesday, September 15, 2009 10:25 PM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access By
Index<br>
&gt;<br>
&gt;<br>
&gt; How hard would it be to fix the providers internally so that the index of<br>
&gt; the properties in the collection returned with GetClassDefinition<br>
&gt; corresponds to the index needed for getting the property by index? I
suspect<br>
&gt; it is not too hard since it would involve the same amount of work as<br>
&gt; implementing this new GetPropertyIndex API, but will not add new API that<br>
&gt; one has to call before getting the properties by index.<br>
&gt;<br>
&gt;<br>
&gt; Traian<br>
&gt;<br>
&gt;<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Klain Qin<br>
&gt; Sent: Monday, September 14, 2009 11:02 PM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] RE: MOTION: FDO RFC 34 - FDO Reader Access By
Index<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; While this RFC is being voted, I've updated it again in order to use
access<br>
&gt; by index API more efficiently and correctly.<br>
&gt;<br>
&gt; Previously in order to use access by index functions for FdoIFeatureReader<br>
&gt; or FdoIDataReader, the API users will have to know beforehand how index is<br>
&gt; mapping to property name. And mapping is different for different provider<br>
&gt; implementations like SqlLite/SDF and RDBMS. E.g. with the same FDO schema<br>
&gt; definition, SqlLite and RDBMS will arrange the property order returned
from<br>
&gt; GetClassDefinition() differently:<br>
&gt;<br>
&gt;<br>
&gt; a. &nbsp; &nbsp; &nbsp; If you don't set selected property names be
returned from an<br>
&gt; FdoISelect command<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; SqlLite provider will arrange the properties in the order: Identity
property<br>
&gt; -&gt; Geometry property -&gt; the left will be arranged in the order of
how they<br>
&gt; are added into the class definition, like ID -&gt; geometry -&gt;
datetime-&gt;<br>
&gt; double<br>
&gt;<br>
&gt; For RDBMS provider the order is: identity property -&gt; the left is ordered
by<br>
&gt; the first character of the property name like ID -&gt; datetime-&gt;
double -&gt;<br>
&gt; geometry<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; b. &nbsp; &nbsp; &nbsp;If you do set selected property names to be
returned from an<br>
&gt; FdoISelect command<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; SqlLite provider will respect the order of how they are added to selected<br>
&gt; properties.<br>
&gt;<br>
&gt; SDF provider will respect the order of corresponding properties defined in<br>
&gt; the original class definition(without setting selected properties)<br>
&gt;<br>
&gt; So to resolve this inconvenience, RFC 34 is updated again to add another<br>
&gt; function for getting the index of a specific property name. Now both of
the<br>
&gt; property name and index related functions are moved to FdoIReader as they<br>
&gt; are needed for both FdoIFeatureReader and FdoIDataReader.<br>
&gt; FdoString* GetPropertyName(FdoInt32 index);<br>
&gt; FdoInt32 GetPropertyIndex(FdoString* propertyName);<br>
&gt; Can you take a look again at this RFC?<br>
&gt;<br>
&gt; <a href="http://trac.osgeo.org/fdo/wiki/FDORfc34" target="_blank">http://trac.osgeo.org/fdo/wiki/FDORfc34</a><br>
&gt;<br>
&gt; Thanks,<br>
&gt; Klain<br>
&gt;<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Greg Boone<br>
&gt; Sent: Monday, September 14, 2009 11:33 PM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] MOTION: FDO RFC 34 - FDO Reader Access By Index<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; There were no further comments on RFC 34:<br>
&gt; <a href="http://trac.osgeo.org/fdo/wiki/FDORfc34" target="_blank">http://trac.osgeo.org/fdo/wiki/FDORfc34</a>
&nbsp;- FDO Reader Access By Index.<br>
&gt;<br>
&gt; I would like to motion a vote to accept this RFC.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Greg.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Greg Boone<br>
&gt; Sent: Wednesday, September 09, 2009 12:41 PM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] RE: FDO RFC 34 - FDO Reader Access By Index<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt; FDO RFC 34 - Access By Index: <a
href="http://trac.osgeo.org/fdo/wiki/FDORfc34" target="_blank">http://trac.osgeo.org/fdo/wiki/FDORfc34</a>
has<br>
&gt; been updated and is ready for a secondary review.<br>
&gt;<br>
&gt; Please refer to the section labeled: &quot;Provider Implementation&quot;<br>
&gt;<br>
&gt; Please respond with comments by end of day, Friday September 11.<br>
&gt;<br>
&gt; Greg<br>
&gt;<br>
&gt; From: <a href="mailto:fdo-internals-bounces@lists.osgeo.org">fdo-internals-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:fdo-internals-">fdo-internals-</a><br>
&gt; <a href="mailto:bounces@lists.osgeo.org">bounces@lists.osgeo.org</a>] On
Behalf Of Greg Boone<br>
&gt; Sent: Thursday, August 06, 2009 9:39 AM<br>
&gt; To: FDO Internals Mail List<br>
&gt; Subject: [fdo-internals] FDO RFC 34 - FDO Reader Access By Index<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt; FDO RFC 34, <a href="http://trac.osgeo.org/fdo/wiki/FDORfc34"
target="_blank">http://trac.osgeo.org/fdo/wiki/FDORfc34</a>, is ready for
review.<br>
&gt;<br>
&gt; Please review and respond with comments.<br>
&gt;<br>
&gt; Greg<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; fdo-internals mailing list<br>
&gt; <a href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/fdo-internals"
target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-internals</a><br>
&gt; _______________________________________________<br>
&gt; fdo-internals mailing list<br>
&gt; <a href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/fdo-internals"
target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-internals</a><br>
&gt; _______________________________________________<br>
&gt; fdo-internals mailing list<br>
&gt; <a href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/fdo-internals"
target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-internals</a><br>
_______________________________________________<br>
fdo-internals mailing list<br>
<a href="mailto:fdo-internals@lists.osgeo.org">fdo-internals@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fdo-internals" target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-internals</a><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</div>

</body>

</html>