Gremlin-Android
Gremlin-Android is a port of Gremlin for the Android platform. It is still under development so use it at your own risk. Currently only gremlin-android-java is supported because I have not yet been able to port groovy on Android. I have heard of projects like discobot but as far as I know the project has little to none activity now. You may refer to Gremlin's Java usage pages 1 2.
Including in Your Project
There are two ways to include the library in your projects:
-
You can download the released jar file in the Downloads section.
-
If you use Maven to build your project you can simply add a dependency to the desired component of the library.
<dependency> <groupId>com.wu-man</groupId> <artifactId>gremlin-android-java</artifactId> <version>2.1.0.0</version> </dependency>
What is Gremlin
Gremlin is a domain specific language for traversing property graphs. Gremlin makes use of Pipes to perform complex graph traversals. This language has application in the areas of graph query, analysis, and manipulation. Connectors, provided by Blueprints and Blueprints-Android, exist for the following graph management systems:
- Graph database connectivity:
- TinkerGraph in-memory graph
- Neo4j graph database
- OrientDB graph database
- DEX graph database
- InfiniteGraph graph database
- Titan graph database
- Rexster graph server
- Sesame 2.0 compliant RDF stores
- Supporting extensions:
- GraphML Reader/Writer library
- GraphSON Reader/Writer library
- GML Reader/Writer library
- Java Universal/Graph framework
- JVM language connectivity:
- Java: Gremlin in the Java Language
- Groovy: Gremlin in the Groovy Language
- Easy to connect to other JVM languages
The documentation for Gremlin can be found at this location. Finally, please visit TinkerPop for other software products.
Developed By
- Android porting contributor
- David Wu - [email protected] - http://blog.wu-man.com
- Original contributor to Gremlin
- Marko A. Rodriguez - [email protected] - http://markorodriguez.com
License
Copyright 2012, David Wu
Copyright (c) 2009-2012, TinkerPop [http://tinkerpop.com]
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the TinkerPop nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL TINKERPOP BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.