{"id":23034856,"url":"https://github.com/m-thirumal/gremlin-dsl","last_synced_at":"2025-04-02T22:22:14.344Z","repository":{"id":148987001,"uuid":"536198567","full_name":"m-thirumal/gremlin-dsl","owner":"m-thirumal","description":"Gremlin DSL (Domain Specific Language) implementation guide","archived":false,"fork":false,"pushed_at":"2023-02-14T03:29:43.000Z","size":3648,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T12:46:19.659Z","etag":null,"topics":["apache-tinkerpop","domain-specific-language","dsl","graph-database","graph-theory","gremlin","tinkerpop3"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-thirumal.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-13T15:47:08.000Z","updated_at":"2023-03-09T11:21:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffe47912-9fe4-45fd-aa56-601c44d4cac8","html_url":"https://github.com/m-thirumal/gremlin-dsl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thirumal%2Fgremlin-dsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thirumal%2Fgremlin-dsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thirumal%2Fgremlin-dsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thirumal%2Fgremlin-dsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-thirumal","download_url":"https://codeload.github.com/m-thirumal/gremlin-dsl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246900435,"owners_count":20852053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-tinkerpop","domain-specific-language","dsl","graph-database","graph-theory","gremlin","tinkerpop3"],"created_at":"2024-12-15T16:36:31.805Z","updated_at":"2025-04-02T22:22:14.327Z","avatar_url":"https://github.com/m-thirumal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Gremlin DSL\n\nGremlin DSL (Domain Specific Language) Example/Guide.\n\nFor more information refer the link: https://tinkerpop.apache.org/docs/current/reference/#dsl\n\n\nDependency required \n\n[source, xml]\n----\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.apache.tinkerpop\u003c/groupId\u003e\n    \u003cartifactId\u003egremlin-annotations\u003c/artifactId\u003e\n    \u003cversion\u003e3.6.1\u003c/version\u003e\n\u003c/dependency\u003e\n----\n\n\n== Eclipse Set up\n\n* Import this project as `maven spring-boot` project.\n* Typically, the Java compilation process is automatically configured to detect annotation processors on the classpath and will automatically use them when found. \n* If that does not happen, it may be necessary to make configuration changes to the build to allow for the compilation process to be aware of the following `javax.annotation.processing.Processor` implementation:\n\n[source, java]\n----\norg.apache.tinkerpop.gremlin.process.traversal.dsl.GremlinDslProcessor\n----\n\n* The annotation processor will generate several classes for the DSL:\n\n`SocialTraversal` - A Traversal interface that extends the SocialTraversalDsl proxying methods to its underlying interfaces (such as GraphTraversal) to instead return a SocialTraversal\n\n`DefaultSocialTraversal` - A default implementation of SocialTraversal (typically not used directly by the user)\n\n`SocialTraversalSource` - Spawns DefaultSocialTraversal instances.\n\n`__` - Spawns anonymous DefaultSocialTraversal instances.\n\n\n=== Annotation detection\n\n* Right click on the project and select `properties` -\u003e `Java compiler` -\u003e `Annotation Processing`\n\n\t** Enable project specific settings \n\t** Go to `Factory Path` and add the `jar` path in the repo.\n\t\nimage::doc/img/annotation.png[annotation, 1200, 800]\n\n==== Link Generated source to the project for eclipse\n\n* Right click on your project \u003e Build Path \u003e Configure Build Path\n* In sources tag, click on `[Add Folder]` button\n* Check `target/generated-sources/annotations`\n\nimage::doc/img/dsl-annotation.png[dsl, 600, 400]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-thirumal%2Fgremlin-dsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-thirumal%2Fgremlin-dsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-thirumal%2Fgremlin-dsl/lists"}