<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic (Java) Inconsistent long typings for OIDs/counts in Enterprise SDK 11.0 in ArcGIS Enterprise Extensibility Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/java-inconsistent-long-typings-for-oids-counts-in/m-p/1226534#M304</link>
    <description>&lt;P&gt;As documented, OIDs and counts have been &lt;A href="https://developers.arcgis.com/enterprise-sdk/guide/java/whats-new-11-0-java/#method-parameters-and-return-types-changed-from-int-to-long" target="_self"&gt;changed to long&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;But some methods still return ints for these values. For example&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/carto/MapServer.html#queryRowCount-java.lang.String-com.esri.arcgis.carto.IMapTableDescription-com.esri.arcgis.geodatabase.IQueryFilter-" target="_self"&gt;queryRowCount&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/carto/MapServer.html#queryRowIDs-java.lang.String-com.esri.arcgis.carto.IMapTableDescription-com.esri.arcgis.geodatabase.IQueryFilter-" target="_self"&gt;queryRowIDs&lt;/A&gt;&amp;nbsp;of&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/carto/MapServer.html" target="_self"&gt;Class MapServer&lt;/A&gt;. The class&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/system/LongArray.html" target="_self"&gt;Class LongArray&lt;/A&gt; despite its name also only uses ints.&lt;BR /&gt;&lt;BR /&gt;Can the values actually be longs?&lt;/P&gt;&lt;P&gt;Can i run into trouble if those methods only return ints?&lt;/P&gt;&lt;P&gt;Should I be using other methods instead?&lt;/P&gt;&lt;P&gt;Is that an oversight?&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 10:21:57 GMT</pubDate>
    <dc:creator>JulianSchlüntz</dc:creator>
    <dc:date>2022-10-28T10:21:57Z</dc:date>
    <item>
      <title>(Java) Inconsistent long typings for OIDs/counts in Enterprise SDK 11.0</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/java-inconsistent-long-typings-for-oids-counts-in/m-p/1226534#M304</link>
      <description>&lt;P&gt;As documented, OIDs and counts have been &lt;A href="https://developers.arcgis.com/enterprise-sdk/guide/java/whats-new-11-0-java/#method-parameters-and-return-types-changed-from-int-to-long" target="_self"&gt;changed to long&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;But some methods still return ints for these values. For example&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/carto/MapServer.html#queryRowCount-java.lang.String-com.esri.arcgis.carto.IMapTableDescription-com.esri.arcgis.geodatabase.IQueryFilter-" target="_self"&gt;queryRowCount&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/carto/MapServer.html#queryRowIDs-java.lang.String-com.esri.arcgis.carto.IMapTableDescription-com.esri.arcgis.geodatabase.IQueryFilter-" target="_self"&gt;queryRowIDs&lt;/A&gt;&amp;nbsp;of&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/carto/MapServer.html" target="_self"&gt;Class MapServer&lt;/A&gt;. The class&amp;nbsp;&lt;A href="https://developers.arcgis.com/enterprise-sdk/api-reference/java/com/esri/arcgis/system/LongArray.html" target="_self"&gt;Class LongArray&lt;/A&gt; despite its name also only uses ints.&lt;BR /&gt;&lt;BR /&gt;Can the values actually be longs?&lt;/P&gt;&lt;P&gt;Can i run into trouble if those methods only return ints?&lt;/P&gt;&lt;P&gt;Should I be using other methods instead?&lt;/P&gt;&lt;P&gt;Is that an oversight?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 10:21:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-extensibility-questions/java-inconsistent-long-typings-for-oids-counts-in/m-p/1226534#M304</guid>
      <dc:creator>JulianSchlüntz</dc:creator>
      <dc:date>2022-10-28T10:21:57Z</dc:date>
    </item>
  </channel>
</rss>

