My GAE/J application uses relation index entities, where each index
contains a list of keys, and each key in the list may or may not have
a parent. I would now like to use bulkloader to import and export
these index entities, but I cannot figure out how to modify the
import_transform and export_transform for index entity properties in
the auto-generated bulkloader.yaml file. In the example below,
'citations' is a list of Citation keys, and each Citation key may or
may not have a parent. I've read the following, but still can't come
up with a solution and would really appreciate it if somebody could
supply a working example or at least point me in the right direction.

http://code.google.com/appengine/docs/python/tools/uploadingdata.html
http://groups.google.com/group/google-appengine-java/browse_thread/thread/0a842bc610ffe268
http://groups.google.com/group/google-appengine-python/browse_thread/thread/86a087a808cc31c1

Regards,
Todd

- kind: CitationIndex
  connector: csv
  connector_options:
    encoding: utf-8
    columns: from_header
  property_map:
    - property: __key__
      external_name: key
      export_transform: transform.key_id_or_name_as_string

    - property: citations
      external_name: citations
      import_transform: transform.create_foreign_key('TODO: fill in
Kind name')
      export_transform: transform.key_id_or_name_as_string

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to