HI Marco,
This information is already there, if class is not abstract flag is absent.
If class is abstract flag is true, the same about strict mode.

Number of records is useless information so it is absent.


On Mon, Aug 4, 2014 at 4:08 PM, Marco Bonamente <[email protected]>
wrote:

> Hi all,
>
> I've tried to export the Database schema with java API.
> I use the orientdb-community-1.7.6.
> I used this function
>
> *        ODatabaseExport export = new ODatabaseExport(graph.getRawGraph(),
> out, listener);*
> *        export.setIncludeRecords(false);*
> *        export.setIncludeClusterDefinitions(false);*
> *        export.exportDatabase();        export.close();*
>
> The command return a list of classes in this format and it is correct.
>
>
>    1.
>    
> {"default-cluster-id":10,"cluster-ids":[10],"name":"E","cluster-selection":"round-robin","short-name":"E"}
>
>
> From OrientDB studio when it loads the list of classes the output is the
> following:
>
>
> {"name":"E","superClass":"","alias":"E","abstract":false,"strictmode":false,"clusters":[10],"defaultCluster":10,"clusterSelection":"round-robin","records":0}
>
> Is it possible to use the ODatabaseExport to generate the json with the
> information about the abstract, the strictmode, the number of record etc?
>
> Thank you
> Marco
>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to