ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

RecordSet

  • Résumé
  • Discussion
  • Syntaxe
  • Propriétés
  • Vue d'ensemble des méthodes
  • Méthodes
  • Exemple de code

Résumé

RecordSet objects are a lightweight representation of a table. They are a special data element that contains not only schema but also the data. The RecordSet object is also how tables are sent and received from the server.

Discussion

Remarque :

If loading a table into a new RecordSet and modifying the RecordSet with a geoprocessing tool that modifies the input like Calculate Field or an arcpy function like UpdateCursor, the original table will also be modified.

Syntaxe

 RecordSet  ({table})
ParamètreExplicationType de données
table

Table to be loaded into the RecordSet object.

String

Propriétés

PropriétéExplicationType de données
JSON
(Lecture seule)

Returns an Esri JSON representation of the geometry as a string.

Astuce:

The returned string can be converted to a dictionary using the Python json.loads function.

String

Vue d'ensemble des méthodes

MéthodeExplication
load (table_path)

Import from a table.

save (table_path)

Export to a table.

Méthodes

load (table_path)
ParamètreExplicationType de données
table_path

The table to be imported.

String
save (table_path)
ParamètreExplicationType de données
table_path

The output table to be created.

String

Exemple de code

RecordSet example

Import a server toolbox; get the recordset from the server tool's specified parameter.

import arcpy

# Add a custom server toolbox
arcpy.ImportToolbox("http://myserver/arcgis/services;Geocode")

# Get recordset from server tool's first parameter to use as schema
in_recordset = arcpy.GetParameterValue("GeocodeAddress", 0)

Rubriques connexes

  • Utilisation des jeux d'entités et des jeux d'enregistrements
  • FeatureSet

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2018 Esri. | Confidentialité | Légal