Gregory Green created GEODE-2533:
------------------------------------

             Summary: 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","t...@test.io"

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","t...@test.io","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)

Reply via email to