[
https://issues.apache.org/jira/browse/TINKERPOP-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cole Greer closed TINKERPOP-3153.
---------------------------------
Fix Version/s: 4.0.0
Assignee: Cole Greer
Resolution: Fixed
Now that both PDT types are done, the only remaining listed types missing from
the grammar are tree and graph. I'm going to argue those should be descoped, as
they really aren't useful types within gremlin at the moment. The only thing
gremlin can do to those types is return them, and in the case of tree,
count(local). I don't think that's enough utility to justify adding fairly
complex constructors to the grammar.
I'm open to reconsider tree and graph in the grammar in the future, if it goes
along with plans to extend the utility of these types within gremlin.
> Expand type syntax in grammar in 4.0
> ------------------------------------
>
> Key: TINKERPOP-3153
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3153
> Project: TinkerPop
> Issue Type: Improvement
> Components: language
> Affects Versions: 4.0.0
> Reporter: Ken Hu
> Assignee: Cole Greer
> Priority: Major
> Fix For: 4.0.0
>
>
> Types to add to the grammar in 4.0:
> * Char
> ** Unfortunately '' is already used for strings to match Groovy. Will need
> to look into something nice for this.
> * Duration
> ** Should check to see if Duration can be used for date functions as well
> ** Duration(Long)
> * CompositePdt
> ** Pdt("name", [ : ] )
> * PrimitivePdt
> ** Pdt("name", "value")
> * Tree
> * Graph
> * Binary (ByteBuffer) - moved from 3.8.0
> ** {{Binary( '/9j/4AAQSkZJRgABAQEAAAAAAAD/==')}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)