I have no idea to be honest. I would probably just create a query
builder or directly a GLV, but the formulation sounds to me more like
they they wrote their own Gremlin Server in C# and embed that in the
library just like it can be done for JanusGraph or Titan in Java. That
would explain at least how they "connect directly to DocumenDB data
partitions". Sounds like a Titan/JanusGraph equivalent written in C# for
their document database as the storage backend, but maybe the
formulation is just odd and it's really only a query builder.

I will probably play a bit with their client and try to find out how it
works. Fortunately they provide a docker image for Cosmos DB:
https://docs.microsoft.com/en-us/azure/documentdb/documentdb-nosql-local-emulator

We will now for sure how it works when they publish the source code
which they promise to do at some point in the future:
https://github.com/Azure/azure-documentdb-dotnet/tree/master/sdk

Am 10.05.2017 um 20:06 schrieb Stephen Mallette:
> I didn't notice that. I assume it's generating Gremlin script underneath?
> Maybeit's just behaving as a query builder? Or do you think it's doing
> something more advanced?
>
> On Wed, May 10, 2017 at 1:59 PM, Florian Hockmann <[email protected]>
> wrote:
>
>> I think it is especially interesting that they seem to provide a
>> complete implementation of the GraphTraversal class for .NET:
>>
>> https://msdn.microsoft.com/en-us/library/microsoft.azure.
>> graphs.graphtraversal.aspx
>>
>> This looks a bit like a GLV, but it seems that they don't use Gremlin
>> Bytecode and instead embed their own Gremlin Server version in the client:
>>
>> "Azure Cosmos DB also provides a first-party .NET library with Gremlin
>> extension methods on top of the Azure Cosmos DB SDKs via NuGet. *This
>> library provide an "in-proc" Gremlin server* that can be used to connect
>> directly to DocumenDB data partitions."
>>
>> (From:
>> https://docs.microsoft.com/en-us/azure/cosmos-db/graph-
>> introduction#getting-started)
>>
>> Am 10.05.2017 um 19:02 schrieb Stephen Mallette:
>>> In case anyone is interested here's some more docs to look at:
>>>
>>> https://docs.microsoft.com/en-us/azure/cosmos-db/create-graph-dotnet
>>> https://docs.microsoft.com/en-us/azure/cosmos-db/create-
>>> graph-gremlin-console
>>> https://docs.microsoft.com/en-us/azure/cosmos-db/create-graph-java
>>> https://docs.microsoft.com/en-us/azure/cosmos-db/create-graph-nodejs
>>>
>>>
>>>
>>> On Wed, May 10, 2017 at 1:00 PM, Jason Plurad <[email protected]> wrote:
>>>
>>>> Interesting, their example says it works with Java 7. I'll have to try
>> that
>>>> out.
>>>>
>>>> On Wed, May 10, 2017 at 9:12 AM, Stephen Mallette <[email protected]
>>>> wrote:
>>>>
>>>>> Looks like they embedded Gremlin Server or implemented the protocol as
>>>> you
>>>>> connect with the TinkerPop drivers:
>>>>>
>>>>> https://github.com/Azure-Samples/azure-cosmos-db-graph-
>>>>> java-getting-started
>>>>>
>>>>>
>>>>>
>>>>> On Wed, May 10, 2017 at 12:03 PM, Marko Rodriguez <
>> [email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> Microsoft just announced CosmoDB which has Gremlin support.
>>>>>>
>>>>>>         https://buildazure.com/2017/05/10/cosmosdb-the-new-
>>>>>> documentdb-nosql-database-in-microsoft-azure/ <
>>>>>> https://buildazure.com/2017/05/10/cosmosdb-the-new-
>>>>>> documentdb-nosql-database-in-microsoft-azure/>
>>>>>>                 https://github.com/Azure-
>>>> Samples/azure-cosmos-db-graph-
>>>>>> java-getting-started/blob/master/src/GetStarted/Program.java <
>>>>>> https://github.com/Azure-Samples/azure-cosmos-db-graph-
>>>>>> java-getting-started/blob/master/src/GetStarted/Program.java>
>>>>>>
>>>>>> We can add this to the provider listings on index.html. If no on
>>>>>> disagrees, I can add it in 72 hours.
>>>>>>
>>>>>> Marko.
>>>>>>
>>>>>> http://markorodriguez.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>

Reply via email to