Hi,
yes! You can access to the schema via Java API. By using Graph API:

OSchema schema = graph.getRawGraph().getMetadata().getSchema();

Document API:

OSchema schema = db.getMetadata().getSchema();

Once you've the schema you can call .dropClass() method.

Lvc@





On 4 January 2014 05:19, Cod3r <[email protected]> wrote:

> Hi everyone,
>
>  we are planning to use OrientDB as embedded Database for our Bank Tools.
> But we need in our Development Phase to handle with thousands of Demo Data.
> So How can we reset or delete(drop) all inserted Classes and their Clusters
> by using the Java API without Delete or Reinstalling the whole Database
> itself?
>
> Thanks
>
> --
>
> ---
> 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/groups/opt_out.
>

-- 

--- 
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/groups/opt_out.

Reply via email to