[
https://issues.apache.org/jira/browse/GEODE-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880914#comment-15880914
]
Anthony Baker commented on GEODE-2533:
--------------------------------------
I suggest extending `gfsh export data` for this.
Note that you could use {{SnapshotReader}} to write a standalone CSV utility
that operates on previously exported binary snapshot files.
> Export CSV
> ----------
>
> Key: GEODE-2533
> URL: https://issues.apache.org/jira/browse/GEODE-2533
> Project: Geode
> Issue Type: Wish
> Components: gfsh
> Reporter: Gregory Green
> Fix For: 1.2.0
>
>
> I would like the ability to export region data into a CSV format.
> The interface should be exposed thru a gfsh command
> Example: gfsh>exportCSV --region=name
> A header column should exist for each object property.
> User
> {
> String name
> String email
> }
> [CSV]
> "key","name","mail"
> "1","test","[email protected]"
> Properties in nested objects will contain a dot notation for the property
> name.
> class User
> {
> String name
> String email
> class Address
> {
> String street
> String city
> }
> }
> [CSV]
> "key","name","mail", "address.street", "address.city"
> "1","test","[email protected]","123","charlotte"
> Arrays, collections, iterators and multi-value object properties will be
> converted to string using the object.toString() method.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)