public final class TinkerFactory extends Object
Modifier and Type  Method and Description 

static TinkerGraph 
createClassic()
Create the "classic" graph which was the original toy graph from TinkerPop 2.x.

static TinkerGraph 
createGratefulDead()
Creates the "grateful dead" graph which is a larger graph than most of the toy graphs but has realworld
structure and application and is therefore useful for demonstrating more complex traversals.

static TinkerGraph 
createKitchenSink()
Creates the "kitchen sink" graph which is a collection of structures (e.g.

static TinkerGraph 
createModern()
Create the "modern" graph which has the same structure as the "classic" graph from TinkerPop 2.x but includes
3.x features like vertex labels.

static TinkerGraph 
createTheCrew()
Create the "the crew" graph which is a TinkerPop 3.x toy graph showcasing many 3.x features like metaproperties,
multiproperties and graph variables.

static void 
generateClassic(TinkerGraph g)
Generate the graph in
createClassic() into an existing graph. 
static void 
generateGratefulDead(TinkerGraph graph)
Generate the graph in
createGratefulDead() into an existing graph. 
static void 
generateKitchenSink(TinkerGraph graph)
Generate the graph in
createKitchenSink() into an existing graph. 
static void 
generateModern(TinkerGraph g)
Generate the graph in
createModern() into an existing graph. 
static void 
generateTheCrew(TinkerGraph g)
Generate the graph in
createTheCrew() into an existing graph. 
public static TinkerGraph createClassic()
public static void generateClassic(TinkerGraph g)
createClassic()
into an existing graph.public static TinkerGraph createModern()
public static void generateModern(TinkerGraph g)
createModern()
into an existing graph.public static TinkerGraph createTheCrew()
public static void generateTheCrew(TinkerGraph g)
createTheCrew()
into an existing graph.public static TinkerGraph createKitchenSink()
public static void generateKitchenSink(TinkerGraph graph)
createKitchenSink()
into an existing graph.public static TinkerGraph createGratefulDead()
public static void generateGratefulDead(TinkerGraph graph)
createGratefulDead()
into an existing graph.Copyright © 2013–2019 Apache Software Foundation. All rights reserved.