|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Next
- The interface that is to be returned when this create request is completedpublic static interface Graph.Create<Next>
The interface for defining additional properties on a new node.
Method Summary | |
---|---|
Graph.Create<Next> |
and(Iterable<Property> properties)
Specify property that should the new node should have. |
Graph.Create<Next> |
and(Name propertyName,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<Next> |
and(Property property)
Specify a property that should the new node should have. |
Graph.Create<Next> |
and(Property firstProperty,
Property... additionalProperties)
Specify properties that should the new node should have. |
Graph.Create<Next> |
and(String propertyName,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<Next> |
and(UUID uuid)
Specify the UUID that should the new node should have. |
Graph.Create<Next> |
byAppending()
Create the node if it does not exist by appending or adjusting the same-name-sibling
index ). |
Graph.Create<Next> |
ifAbsent()
Create the node only if there is no existing node with the same name (ignoring
same-name-sibling indexes ). |
Graph.Create<Next> |
orReplace()
Create the node if it does not exist, or replace any existing node that has the same name (ignoring same-name-sibling indexes ). |
Graph.Create<Next> |
orUpdate()
Create the node if it does not exist, or update any existing node that has the same name
(ignoring same-name-sibling indexes ). |
Graph.Create<Next> |
with(Iterable<Property> properties)
Specify property that should the new node should have. |
Graph.Create<Next> |
with(Name propertyName,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<Next> |
with(Property property)
Specify a property that should the new node should have. |
Graph.Create<Next> |
with(Property firstProperty,
Property... additionalProperties)
Specify properties that should the new node should have. |
Graph.Create<Next> |
with(String propertyName,
Object... values)
Specify a property that should the new node should have. |
Graph.Create<Next> |
with(UUID uuid)
Specify the UUID that should the new node should have. |
Methods inherited from interface org.jboss.dna.graph.Graph.Conjunction |
---|
and |
Method Detail |
---|
Graph.Create<Next> ifAbsent()
name
(ignoring
same-name-sibling indexes
).
Graph.Create<Next> orUpdate()
name
(ignoring same-name-sibling indexes
).
Graph.Create<Next> orReplace()
name
(ignoring same-name-sibling indexes
).
Graph.Create<Next> byAppending()
same-name-sibling
index
). This is the default behavior.
Graph.Create<Next> with(UUID uuid)
and(UUID)
.
uuid
- the UUID
Graph.Create<Next> with(Property property)
and(Property)
.
property
- the property
Graph.Create<Next> with(Iterable<Property> properties)
and(Iterable)
.
properties
- the properties that should be added
Graph.Create<Next> with(String propertyName, Object... values)
and(String, Object...)
.
propertyName
- the name of the propertyvalues
- the property values
Graph.Create<Next> with(Name propertyName, Object... values)
and(Name, Object...)
.
propertyName
- the name of the propertyvalues
- the property values
Graph.Create<Next> with(Property firstProperty, Property... additionalProperties)
and(Property, Property...)
.
firstProperty
- the first propertyadditionalProperties
- the additional property
Graph.Create<Next> and(UUID uuid)
uuid
- the UUID
Graph.Create<Next> and(Property property)
property
- the property
Graph.Create<Next> and(Iterable<Property> properties)
and(Property)
for each of
the properties in the supplied Iterable
.
properties
- the properties that should be added
Graph.Create<Next> and(String propertyName, Object... values)
propertyName
- the name of the propertyvalues
- the property values
Graph.Create<Next> and(Name propertyName, Object... values)
propertyName
- the name of the propertyvalues
- the property values
Graph.Create<Next> and(Property firstProperty, Property... additionalProperties)
firstProperty
- the first propertyadditionalProperties
- the additional property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |