Hi, Raman.

Short answer: no.

Long answer:

I am working on a personal branch that compiles schemas at runtime (and the
idea is propose to merge to master later). You can see in [1] one of the
important commits, and at [2] is the branch with changes that allows it
(and more stuff). You can checkout it and take a look at the history and
diff with the master branch. Sadly by now I am sticking with the 0.7
release.

Here [3] you can see an example about how I create a datastore for a
persistent class. In the "TableEntity" class [4] goes the schema and the
mapping that will be used to compile the persistent class at runtime, and
the mapping to create the datastore.

Know that this is quite much information for someone new with Gora, so
don't feel frustrated. Ask anything you want and I will try to answer
whenever I have some time :S

Regards,

Alfonso Nishikawa

[1] -
https://github.com/alfonsonishikawa/gora/commit/d607fdfe37c3167fb997708811effc5c94f54af3
[2] - https://github.com/alfonsonishikawa/gora/tree/goraexplorer
[3] -
https://bitbucket.org/alfonsonishikawa/goraexplorer/src/26e7e00753320ae7be5daffeb989f6908cf65c4e/src/main/java/com/nishilua/goraexplorer/tables/DataStoreManager.java?at=master&fileviewer=file-view-default#DataStoreManager.java-54
[4] -
https://bitbucket.org/alfonsonishikawa/goraexplorer/src/26e7e00753320ae7be5daffeb989f6908cf65c4e/src/main/java/com/nishilua/goraexplorer/tables/TableEntity.java?at=master&fileviewer=file-view-default




2017-07-18 7:38 GMT-01:00 raman gupta <ramandu...@gmail.com>:

> Hello all,
>
> I am new to Gora and currently exploring it for my use case. From
> documentation and tutorials it seems that we need to define the avro
> schemas for our data models and these schemas should be known at compile
> time.
> Is there a way to create the schema at run time as we might not be knowing
> the schema upfront.
> Any help or pointer on this would be very useful.
>
> Thanks & Regards,
> Raman Gupta
>

Reply via email to