public class GraphCreateOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphCreateOptions.SmartOptions |
Constructor and Description |
---|
GraphCreateOptions() |
Modifier and Type | Method and Description |
---|---|
protected GraphCreateOptions |
edgeDefinitions(Collection<EdgeDefinition> edgeDefinitions) |
Collection<EdgeDefinition> |
getEdgeDefinitions() |
Boolean |
getIsSmart() |
protected String |
getName() |
Integer |
getNumberOfShards() |
Collection<String> |
getOrphanCollections() |
String |
getSmartGraphAttribute() |
GraphCreateOptions |
isSmart(Boolean isSmart) |
protected GraphCreateOptions |
name(String name) |
void |
numberOfShards(Integer numberOfShards) |
GraphCreateOptions |
orphanCollections(String... orphanCollections) |
void |
smartGraphAttribute(String smartGraphAttribute) |
protected String getName()
protected GraphCreateOptions name(String name)
name
- Name of the graphpublic Collection<EdgeDefinition> getEdgeDefinitions()
protected GraphCreateOptions edgeDefinitions(Collection<EdgeDefinition> edgeDefinitions)
edgeDefinitions
- An array of definitions for the edgepublic Collection<String> getOrphanCollections()
public GraphCreateOptions orphanCollections(String... orphanCollections)
orphanCollections
- Additional vertex collectionspublic Boolean getIsSmart()
public GraphCreateOptions isSmart(Boolean isSmart)
public Integer getNumberOfShards()
public void numberOfShards(Integer numberOfShards)
public String getSmartGraphAttribute()
public void smartGraphAttribute(String smartGraphAttribute)
Copyright © 2016 ArangoDB GmbH. All rights reserved.