Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Features added to Graph
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marko Rodriguez  
View profile  
 More options May 11 2012, 11:47 am
From: Marko Rodriguez <okramma...@gmail.com>
Date: Fri, 11 May 2012 09:47:11 -0600
Local: Fri, May 11 2012 11:47 am
Subject: [Blueprints] Features added to Graph

Hi,

There is a new Object in blueprints-core called Features:

        https://github.com/tinkerpop/blueprints/blob/master/blueprints-core/s...

Moreover, there is a new method in Graph called Graph.getFeatures().

This allows developers to learn about the quirks of an implementation and more over, it allows for code to dynamically adjust to the features of each implementation. Its first use case: the TestSuite. Finally, I added some compliance methods to Features which ensure that a vendor has fully specified their Features (no nulls allowed).

Please see TinkerGraph for an example of how Features are specified:
        https://github.com/tinkerpop/blueprints/blob/master/blueprints-core/s...

Finally, Wrapper-like classes can dynamically alter the feature set (e.g. IdGraph will make ignoresSuppliedIds = false). See how wrappers dynamically alter features:
        https://github.com/tinkerpop/blueprints/blob/master/blueprints-core/s...

Prior to this moment, such metadata was only in the TestSuites, but now we have exposed it.

Enjoy!,
Marko

http://markorodriguez.com

P.S. This will all be released in TinkerPop 2 which is coming out in approximately 2 weeks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[Blueprints] Features added to Graph" by daniel.qu...@gmail.com
daniel.qu...@gmail.com  
View profile  
 More options May 12 2012, 10:04 pm
From: daniel.qu...@gmail.com
Date: Sat, 12 May 2012 22:04:34 -0400
Local: Sat, May 12 2012 10:04 pm
Subject: Re: [TinkerPop] [Blueprints] Features added to Graph

Marko,

Awesome!  Have a related question.  Today I was using gremlin.  I realized it would be really helpful if you had the option of specifying the type of a property (e.g. Int, float, string, date).  One way this could be done is to encode the type for each property (e.g. name, age, ...) in a vertex:
(e.g. v(1).name = string, v(1).age = int, ...) and then use that vertex in your traversals when you need to type cast things (say in constructing objects that are persisted to other storage solutions)

What do you think?  Is there a better way?  
Thanks
Dan

Sent from my eiPhone

On May 11, 2012, at 11:47 AM, Marko Rodriguez <okramma...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »