Hi Galina,
We are trying to find additional resources now to provide more detailed and
useful documentation for our project.


On Thu, Apr 3, 2014 at 8:56 PM, galina manashirova <
[email protected]> wrote:

> Ah, got it. JSON code confused me. I think I got it, but having code would
> be beneficiary for everyone.
> Did you, guys, think about creating a sample project, something similar to
> "petstore"? Your tutorials are great, but   because they live on wiki they
> are all around the wiki and sometimes it is hard to navigate.  Plus, there
> is a ton of information in this Google Group posts, but for  someone who
> didn't follow this group from the day one - it is very hard to find
> information you need.
> Having a complete "examples' directory in the product would greatly help
> all of us, who is trying to get up to speed with OrientDb and NOSQL in
> general.
> I am exploring your product for the last 2 weeks and so far I really like
> it. Great job!
> Thank you!
>
>
>
> On Thursday, April 3, 2014 6:59:11 AM UTC-7, Andrey Lomakin wrote:
>
>> Hi
>> JSON code is provided to visualize data structure we do not use it here.
>>
>> We link all documents (they are not vertexes but documents) by using
>> linkmap.
>> So that is hash map, key of which has string type, and value is id or
>> document itself(it converted to id during data save).
>>
>> Do you need code example or it is clear now ?
>>
>>
>> On Wed, Apr 2, 2014 at 9:55 PM, galina <[email protected]> wrote:
>>
>>> Hi Andrey;
>>> Thank you for reply.
>>> Sorry for not being  clear with my question.
>>> I understand how to create object form JSON. My question was
>>> specifically regarding this tutorial:
>>> https://github.com/orientechnologies/orientdb/wiki/Time-series-use-case<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Forientechnologies%2Forientdb%2Fwiki%2FTime-series-use-case&sa=D&sntz=1&usg=AFQjCNFUWha6O1m3qSSNzPOIwZg-xKRLLg>
>>> I am trying to understand how it works. Do you, guys, have a  complete
>>> Java API code for that example?
>>> Seems like tutorial starts with JSON code where date is a long number (
>>> I assume it is in milliseconds???) , but then tutorial is talking about
>>> creating tree with Month, Day,... Then you connect log record with the
>>> right Calendar vertex. How this connection happens?
>>> Most likely I am  missing something.  I would like to understand that
>>> example very well since this is most likely we would need to implement in
>>> our product.
>>>
>>> -galina
>>>
>>>
>>> On Wednesday, April 2, 2014 7:49:56 AM UTC-7, Andrey Lomakin wrote:
>>>
>>>> Hi Galina,
>>>> Sure you associate document with class during document save.
>>>> Like this https://github.com/orientechnologies/orientdb/wiki/
>>>> Document-Database#introduction .
>>>>
>>>> I think you wish to create document from JSON it can be done using
>>>> following code:
>>>>
>>>> ODocument doc = new ODocument("Person");
>>>>
>>>> document.fromJSON("jsonString");
>>>>
>>>> document.save();
>>>>
>>>>
>>>>
>>>> On Tue, Apr 1, 2014 at 8:33 PM, galina <[email protected]> wrote:
>>>>
>>>>> I came across this link and wondering if someone could explain  it to
>>>>> me:
>>>>>
>>>>> https://github.com/orientechnologies/orientdb/wiki/Time-
>>>>> series-use-case<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Forientechnologies%2Forientdb%2Fwiki%2FTime-series-use-case&sa=D&sntz=1&usg=AFQjCNFUWha6O1m3qSSNzPOIwZg-xKRLLg>
>>>>>
>>>>> I am new to OrientDB and NoSQL in general.  "Time series" post is
>>>>> talking about generating JSON Log record where date stored as "date" :
>>>>> 12293289328932.
>>>>> Then you created classes for Year, Month, Day,... How that record got
>>>>> associated to classes? Do you  have more code samples? I understood 
>>>>> queries
>>>>> very well, but missed data-to-class association part. Maybe you can direct
>>>>> me to another link, which explains that?
>>>>>
>>>>> --
>>>>>
>>>>> ---
>>>>> 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.
>>>
>>
>>
>>
>> --
>> 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.
>



-- 
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