-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classes all the way down #58
Closed
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
eb12cce
WIP: rewriting everything with inner classes
laughedelic bbec14a
Added source and target graphs to the edge parameters; otherwise sour…
laughedelic 758be84
Returning VT.Vertex-like types; using .new Vertex() for that; .fromRa…
laughedelic e9bb8a1
Cleaned build well, now .fromRaw() works as expected; added a note ab…
laughedelic fbbaffd
Added arity-specific methods in/out-E/V methods with default implemen…
laughedelic 7bb50cf
Moved all in/out methods from graph to Vertex class
laughedelic 23ebbf0
Moved source/target, all propeties-related methods and addVertex/addE…
laughedelic f17a4e7
Just moved things from GraphSchema to TypedGraph (now it's one class)
laughedelic 1a8b15a
Made top-level classes public, renamed files
laughedelic a41459e
Added TypedLinkGraph (not the best name, but will work for now)
laughedelic 86b6145
Updated tests code; discovered that .fromRaw() doesn't return the exp…
laughedelic 0f3f829
Rewrote index-related code; added two classes refining the interface …
laughedelic f9dc524
Made top-level entities explicitly public
laughedelic 3226993
Added methods for all members instead of fields (except of the _label…
laughedelic 604ddad
Added to ElementType properties set and made the properties factory m…
laughedelic d83494e
Added a set containing all vertex types of a graph (which are automat…
laughedelic 0a8be61
Added a check on the set construction for distinct labels (if you try…
laughedelic e89f450
Added inner class Property to the ElementType
laughedelic 6635419
Added UntypedGraphSchema interface for schema creation; separated tra…
laughedelic e3b59ae
Added sets for holding all graph's edge types and indexes
laughedelic 94012e6
Merge branch 'feature/schema-creation' into refactoring/everything-is…
laughedelic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eparejatobes take a look, please. If I use
.fromRaw
here, I get😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you need VT extends G.VertexType<...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this moment there is no
G.VertexType
yet.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, there is something funny happening. I've tried changing that many times and sometimes I cannot get rid of these errors, but then if I
clean
(well) and compile, it compiles fine. I just tried to make a little snippet of code with the same pattern and I couldn't reproduce this compilation error, so I think that it's some incremental compilation artefacts..