|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.graph.Graph.Batch
@Immutable public final class Graph.Batch
Interface for creating multiple requests to perform various operations. Note that all the requests are accumulated until
the execute()
method is called. The results of all the operations are then available in the Results
object
returned by the execute()
.
Field Summary | |
---|---|
protected boolean |
executed
|
protected Graph.BatchConjunction |
nextRequests
|
protected BatchRequestBuilder |
requestQueue
|
protected String |
workspaceName
|
Method Summary | |
---|---|
Graph.AddValue<Graph.Batch> |
addValue(Object value)
|
Graph.ApplyFunction<Graph.Batch> |
applyFunction(Function function)
Request that the supplied function with input parameters be applied to the location in the workspace defined on the returned Graph.ApplyFunction object. |
protected void |
assertNotExecuted()
|
Graph.Clone<Graph.BatchConjunction> |
clone(Iterable<Property> idProperties)
Begin the request to clone a node with the specified identification properties into a parent node at a different location, which is specified via the into(...) |
Graph.Clone<Graph.BatchConjunction> |
clone(Location from)
Begin the request to clone a node at the specified location into a parent node at a different location, which is specified via the into(...) |
Graph.Clone<Graph.BatchConjunction> |
clone(Node from)
Begin the request to clone the specified node into a parent node at a different location, which is specified via the into(...) |
Graph.Clone<Graph.BatchConjunction> |
clone(Path from)
Begin the request to clone a node located at the supplied path into a parent node at a different location, which is specified via the into(...) |
Graph.Clone<Graph.BatchConjunction> |
clone(Property idProperty)
Begin the request to clone a node with the specified unique identification property into a parent node at a different location, which is specified via the into(...) |
Graph.Clone<Graph.BatchConjunction> |
clone(Property firstIdProperty,
Property... additionalIdProperties)
Begin the request to clone a node with the specified identification properties into a parent node at a different location, which is specified via the into(...) |
Graph.Clone<Graph.BatchConjunction> |
clone(String fromPath)
Begin the request to clone a node located at the supplied path into a parent node at a different location, which is specified via the into(...) |
Graph.Clone<Graph.BatchConjunction> |
clone(UUID from)
Begin the request to clone a node with the specified unique identifier into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(Iterable<Property> idProperties)
Begin the request to copy a node with the specified identification properties into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(Location from)
Begin the request to copy a node at the specified location into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(Node from)
Begin the request to copy the specified node into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(Path from)
Begin the request to copy a node located at the supplied path into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(Property idProperty)
Begin the request to copy a node with the specified unique identification property into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(Property firstIdProperty,
Property... additionalIdProperties)
Begin the request to copy a node with the specified identification properties into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(String fromPath)
Begin the request to copy a node located at the supplied path into a parent node at a different location, which is specified via the into(...) |
Graph.Copy<Graph.BatchConjunction> |
copy(UUID from)
Begin the request to copy a node with the specified unique identifier into a parent node at a different location, which is specified via the into(...) |
protected Graph.CreateAction<Graph.Batch> |
create(Location parent,
Name child)
|
Graph.Create<Graph.Batch> |
create(Path at)
Begin the request to create a node located at the supplied path. |
Graph.Create<Graph.Batch> |
create(Path at,
Iterable<Property> properties)
Begin the request to create a node located at the supplied path. |
Graph.Create<Graph.Batch> |
create(Path at,
Property property)
Begin the request to create a node located at the supplied path. |
Graph.Create<Graph.Batch> |
create(Path at,
Property firstProperty,
Property... additionalProperties)
Begin the request to create a node located at the supplied path. |
Graph.Create<Graph.Batch> |
create(String atPath)
Begin the request to create a node located at the supplied path. |
Graph.Create<Graph.Batch> |
create(String atPath,
Property property)
Begin the request to create a node located at the supplied path. |
Graph.Create<Graph.Batch> |
create(String atPath,
Property firstProperty,
Property... additionalProperties)
Begin the request to create a node located at the supplied path. |
Graph.CreateNodeNamed<Graph.Batch> |
createUnder(Location parent)
Begin the request to create a node under the existing parent node at the supplied location. |
Graph.BatchConjunction |
delete(Iterable<Property> idProperties)
Request to delete the node with the given identification properties. |
Graph.BatchConjunction |
delete(Location at)
Request to delete the node at the given location. |
Graph.BatchConjunction |
delete(Node at)
Request to delete the specified node. |
Graph.BatchConjunction |
delete(Path at)
Request to delete the node at the given path. |
Graph.BatchConjunction |
delete(Property idProperty)
Request to delete the node with the given unique identification property. |
Graph.BatchConjunction |
delete(Property firstIdProperty,
Property... additionalIdProperties)
Request to delete the node with the given identification properties. |
Graph.BatchConjunction |
delete(String atPath)
Request to delete the node at the given path. |
Graph.BatchConjunction |
delete(UUID at)
Request to delete the node with the given UUID. |
Results |
execute()
Stop accumulating the requests, submit them to the repository source, and return the results. |
String |
getCurrentWorkspaceName()
Get the name of the workspace that this batch is using. |
Graph |
getGraph()
Obtain the graph that this batch uses. |
boolean |
hasExecuted()
Return whether this batch has been executed . |
boolean |
isExecuteRequired()
Determine whether this batch needs to be executed (there are requests and the batch has not been executed yet). |
Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> |
lock(Location at)
Request to lock the node at the given location. |
Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> |
lock(Node at)
Request to lock the specified node. |
Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> |
lock(Path at)
Request to lock the node at the given path. |
Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> |
lock(Property idProperty)
Request to lock the node with the given unique identification property. |
Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> |
lock(Property firstIdProperty,
Property... additionalIdProperties)
Request to lock the node with the given identification properties. |
Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> |
lock(String atPath)
Request to lock the node at the given path. |
Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> |
lock(UUID at)
Request to lock the node with the given UUID. |
Graph.Conjunction<Graph.Batch> |
merge(Graph otherContent)
Ensure that this graph contains the content in the supplied graph. |
Graph.Move<Graph.BatchConjunction> |
move(Iterable<Property> idProperties)
Begin the request to move a node with the specified identification properties into a parent node at a different location, which is specified via the into(...) |
Graph.Move<Graph.BatchConjunction> |
move(Location from)
Begin the request to move a node at the specified location into a parent node at a different location, which is specified via the into(...) |
Graph.Move<Graph.BatchConjunction> |
move(Node from)
Begin the request to move the specified node into a parent node at a different location, which is specified via the into(...) |
Graph.Move<Graph.BatchConjunction> |
move(Path from)
Begin the request to move a node located at the supplied path into a parent node at a different location, which is specified via the into(...) |
Graph.Move<Graph.BatchConjunction> |
move(Property idProperty)
Begin the request to move a node with the specified unique identification property into a parent node at a different location, which is specified via the into(...) |
Graph.Move<Graph.BatchConjunction> |
move(Property firstIdProperty,
Property... additionalIdProperties)
Begin the request to move a node with the specified identification properties into a parent node at a different location, which is specified via the into(...) |
Graph.Move<Graph.BatchConjunction> |
move(String fromPath)
Begin the request to move a node located at the supplied path into a parent node at a different location, which is specified via the into(...) |
Graph.Move<Graph.BatchConjunction> |
move(UUID from)
Begin the request to move a node with the specified unique identifier into a parent node at a different location, which is specified via the into(...) |
Graph.BatchConjunction |
read(Iterable<Property> idProperties)
Request to read the node with the supplied unique identifier properties. |
Graph.BatchConjunction |
read(Location location)
Request to read the node at the supplied location. |
Graph.BatchConjunction |
read(Path path)
Request to read the node at the supplied path. |
Graph.BatchConjunction |
read(Property idProperty)
Request to read the node with the supplied unique identifier property. |
Graph.BatchConjunction |
read(Property firstIdProperty,
Property... additionalIdProperties)
Request to read the node with the supplied unique identifier properties. |
Graph.BatchConjunction |
read(String path)
Request to read the node at the supplied path. |
Graph.BatchConjunction |
read(UUID uuid)
Request to read the node with the supplied UUID. |
Graph.Of<Graph.BatchConjunction> |
readChildren()
Request that the children be read on the node defined via the of(...) |
Graph.On<Graph.BatchConjunction> |
readProperties()
Request that the properties be read on the node defined via the on(...) |
Graph.On<Graph.BatchConjunction> |
readProperty(Name name)
Request that the property with the given name be read on the node defined via the on(...) |
Graph.On<Graph.BatchConjunction> |
readProperty(String propertyName)
Request that the property with the given name be read on the node defined via the on(...) |
Graph.At<Graph.BatchConjunction> |
readSubgraphOfDepth(int depth)
Request to read a subgraph of the specified depth, rooted at a location that will be specified via at(...) |
Graph.On<Graph.BatchConjunction> |
remove(Name... propertyNames)
Remove properties from the node at the given location. |
Graph.On<Graph.BatchConjunction> |
remove(String... propertyNames)
Remove properties from the node at the given location. |
Graph.RemoveValue<Graph.Batch> |
removeValue(Object value)
|
Graph.On<Graph.BatchConjunction> |
set(Iterable<Property> properties)
Set the properties on a node. |
Graph.SetValues<Graph.BatchConjunction> |
set(Name propertyName)
Set a property on a node, starting with the name. |
Graph.On<Graph.BatchConjunction> |
set(Property... properties)
Set the properties on a node. |
Graph.SetValues<Graph.BatchConjunction> |
set(String propertyName)
Set a property on a node, starting with the name. |
String |
toString()
|
Graph.BatchConjunction |
unlock(Location at)
Request to unlock the node at the given location. |
Graph.BatchConjunction |
unlock(Node at)
Request to unlock the specified node. |
Graph.BatchConjunction |
unlock(Path at)
Request to unlock the node at the given path. |
Graph.BatchConjunction |
unlock(Property idProperty)
Request to unlock the node with the given unique identification property. |
Graph.BatchConjunction |
unlock(Property firstIdProperty,
Property... additionalIdProperties)
Request to unlock the node with the given identification properties. |
Graph.BatchConjunction |
unlock(String atPath)
Request to unlock the node at the given path. |
Graph.BatchConjunction |
unlock(UUID at)
Request to unlock the node with the given UUID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final BatchRequestBuilder requestQueue
protected final Graph.BatchConjunction nextRequests
protected final String workspaceName
protected boolean executed
Method Detail |
---|
public boolean hasExecuted()
executed
.
public boolean isExecuteRequired()
public Graph getGraph()
public String getCurrentWorkspaceName()
protected final void assertNotExecuted()
public Graph.Move<Graph.BatchConjunction> move(Node from)
into(...)
method on the returned Graph.Move
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the node that is to be moved.
public final Graph.Move<Graph.BatchConjunction> move(Location from)
into(...)
method on the returned Graph.Move
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the location of the node that is to be moved.
public Graph.Move<Graph.BatchConjunction> move(String fromPath)
into(...)
method on the returned Graph.Move
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
fromPath
- the path to the node that is to be moved.
public Graph.Move<Graph.BatchConjunction> move(Path from)
into(...)
method on the returned Graph.Move
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the path to the node that is to be moved.
public Graph.Move<Graph.BatchConjunction> move(UUID from)
into(...)
method on the returned Graph.Move
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the UUID of the node that is to be moved.
public Graph.Move<Graph.BatchConjunction> move(Property idProperty)
into(...)
method on the returned Graph.Move
object. The
identification property should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperty
- the unique identification property of the node that is to be moved.
public Graph.Move<Graph.BatchConjunction> move(Property firstIdProperty, Property... additionalIdProperties)
into(...)
method on the returned Graph.Move
object. The
identification properties should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
firstIdProperty
- the first identification property of the node that is to be movedadditionalIdProperties
- the remaining identification properties of the node that is to be moved
public Graph.Move<Graph.BatchConjunction> move(Iterable<Property> idProperties)
into(...)
method on the returned Graph.Move
object. The
identification properties should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperties
- the identification properties of the node that is to be moved
public Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> lock(Node at)
at
- the node that is to be locked
public Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> lock(String atPath)
atPath
- the path of the node that is to be locked
public Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> lock(Path at)
at
- the path of the node that is to be locked
public Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> lock(UUID at)
at
- the UUID of the node that is to be locked
public Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> lock(Property idProperty)
idProperty
- the unique identifying property of the node that is to be locked
public Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> lock(Property firstIdProperty, Property... additionalIdProperties)
firstIdProperty
- the first identification property of the node that is to be copiedadditionalIdProperties
- the remaining identification properties of the node that is to be copied
public Graph.LockScope<Graph.LockTimeout<Graph.BatchConjunction>> lock(Location at)
at
- the location of the node that is to be locked
public Graph.BatchConjunction unlock(Node at)
at
- the node that is to be unlocked
public Graph.BatchConjunction unlock(String atPath)
atPath
- the path of the node that is to be unlocked
public Graph.BatchConjunction unlock(Path at)
at
- the path of the node that is to be unlocked
public Graph.BatchConjunction unlock(UUID at)
at
- the UUID of the node that is to be unlocked
public Graph.BatchConjunction unlock(Property idProperty)
idProperty
- the unique identifying property of the node that is to be unlocked
public Graph.BatchConjunction unlock(Property firstIdProperty, Property... additionalIdProperties)
firstIdProperty
- the first identification property of the node that is to be copiedadditionalIdProperties
- the remaining identification properties of the node that is to be copied
public Graph.BatchConjunction unlock(Location at)
at
- the location of the node that is to be unlocked
public Graph.Clone<Graph.BatchConjunction> clone(Node from)
into(...)
method on the returned Graph.Clone
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the node that is to be copied.
public Graph.Clone<Graph.BatchConjunction> clone(Location from)
into(...)
method on the returned Graph.Clone
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the location of the node that is to be copied.
public Graph.Clone<Graph.BatchConjunction> clone(String fromPath)
into(...)
method on the returned Graph.Clone
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
fromPath
- the path to the node that is to be copied.
public Graph.Clone<Graph.BatchConjunction> clone(Path from)
into(...)
method on the returned Graph.Clone
object.
Like all other methods on the Graph
, the clone request will be performed immediately when the
into(...)
method is called.
from
- the path to the node that is to be copied.
public Graph.Clone<Graph.BatchConjunction> clone(UUID from)
into(...)
method on the returned Graph.Clone
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the UUID of the node that is to be copied.
public Graph.Clone<Graph.BatchConjunction> clone(Property idProperty)
into(...)
method on the returned Graph.Clone
object. The
identification property should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperty
- the unique identification property of the node that is to be copied.
public Graph.Clone<Graph.BatchConjunction> clone(Property firstIdProperty, Property... additionalIdProperties)
into(...)
method on the returned Graph.Clone
object. The
identification properties should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
firstIdProperty
- the first identification property of the node that is to be copiedadditionalIdProperties
- the remaining identification properties of the node that is to be copied
public Graph.Clone<Graph.BatchConjunction> clone(Iterable<Property> idProperties)
into(...)
method on the returned Graph.Clone
object. The
identification properties should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperties
- the identification properties of the node that is to be copied
public Graph.Copy<Graph.BatchConjunction> copy(Node from)
into(...)
method on the returned Graph.Copy
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the node that is to be copied.
public Graph.Copy<Graph.BatchConjunction> copy(Location from)
into(...)
method on the returned Graph.Copy
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the location of the node that is to be copied.
public Graph.Copy<Graph.BatchConjunction> copy(String fromPath)
into(...)
method on the returned Graph.Copy
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
fromPath
- the path to the node that is to be copied.
public Graph.Copy<Graph.BatchConjunction> copy(Path from)
into(...)
method on the returned Graph.Copy
object.
Like all other methods on the Graph
, the copy request will be performed immediately when the
into(...)
method is called.
from
- the path to the node that is to be copied.
public Graph.Copy<Graph.BatchConjunction> copy(UUID from)
into(...)
method on the returned Graph.Copy
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
from
- the UUID of the node that is to be copied.
public Graph.Copy<Graph.BatchConjunction> copy(Property idProperty)
into(...)
method on the returned Graph.Copy
object. The
identification property should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperty
- the unique identification property of the node that is to be copied.
public Graph.Copy<Graph.BatchConjunction> copy(Property firstIdProperty, Property... additionalIdProperties)
into(...)
method on the returned Graph.Copy
object. The
identification properties should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
firstIdProperty
- the first identification property of the node that is to be copiedadditionalIdProperties
- the remaining identification properties of the node that is to be copied
public Graph.Copy<Graph.BatchConjunction> copy(Iterable<Property> idProperties)
into(...)
method on the returned Graph.Copy
object. The
identification properties should uniquely identify a single node.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperties
- the identification properties of the node that is to be copied
public Graph.BatchConjunction delete(Node at)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the node that is to be deleted
public Graph.BatchConjunction delete(Location at)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the location of the node that is to be deleted
public Graph.BatchConjunction delete(String atPath)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
atPath
- the path of the node that is to be deleted
public Graph.BatchConjunction delete(Path at)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the path of the node that is to be deleted
public Graph.BatchConjunction delete(UUID at)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the UUID of the node that is to be deleted
public Graph.BatchConjunction delete(Property idProperty)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperty
- the unique identifying property of the node that is to be deleted
public Graph.BatchConjunction delete(Property firstIdProperty, Property... additionalIdProperties)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
firstIdProperty
- the first identification property of the node that is to be copiedadditionalIdProperties
- the remaining identification properties of the node that is to be copied
public Graph.BatchConjunction delete(Iterable<Property> idProperties)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperties
- the identification property of the node that is to be copied
public Graph.Create<Graph.Batch> create(String atPath)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
atPath
- the path to the node that is to be created.
public Graph.Create<Graph.Batch> create(String atPath, Property property)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
atPath
- the path to the node that is to be created.property
- a property for the new node
public Graph.Create<Graph.Batch> create(String atPath, Property firstProperty, Property... additionalProperties)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
atPath
- the path to the node that is to be created.firstProperty
- a property for the new nodeadditionalProperties
- additional properties for the new node
public final Graph.Create<Graph.Batch> create(Path at)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the path to the node that is to be created.
protected final Graph.CreateAction<Graph.Batch> create(Location parent, Name child)
public Graph.Create<Graph.Batch> create(Path at, Iterable<Property> properties)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the path to the node that is to be created.properties
- the iterator over the properties for the new node
public Graph.Create<Graph.Batch> create(Path at, Property property)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the path to the node that is to be created.property
- a property for the new node
public Graph.Create<Graph.Batch> create(Path at, Property firstProperty, Property... additionalProperties)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
at
- the path to the node that is to be created.firstProperty
- a property for the new nodeadditionalProperties
- additional properties for the new node
public Graph.CreateNodeNamed<Graph.Batch> createUnder(Location parent)
parent
- the location of the parent
public Graph.AddValue<Graph.Batch> addValue(Object value)
public Graph.RemoveValue<Graph.Batch> removeValue(Object value)
public Graph.On<Graph.BatchConjunction> set(Property... properties)
properties
- the properties to set
public Graph.On<Graph.BatchConjunction> set(Iterable<Property> properties)
properties
- the properties to set
public Graph.SetValues<Graph.BatchConjunction> set(String propertyName)
propertyName
- the property name
public Graph.SetValues<Graph.BatchConjunction> set(Name propertyName)
propertyName
- the property name
public Graph.On<Graph.BatchConjunction> remove(Name... propertyNames)
propertyNames
- the names of the properties to be removed
public Graph.On<Graph.BatchConjunction> remove(String... propertyNames)
propertyNames
- the names of the properties to be removed
public Graph.BatchConjunction read(UUID uuid)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
uuid
- the UUID of the node that is to be read
public Graph.BatchConjunction read(Location location)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
location
- the location of the node that is to be read
public Graph.BatchConjunction read(String path)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
path
- the path of the node that is to be read
public Graph.BatchConjunction read(Path path)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
path
- the path of the node that is to be read
public Graph.BatchConjunction read(Property idProperty)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperty
- the identification property that is unique to the node that is to be read
public Graph.BatchConjunction read(Property firstIdProperty, Property... additionalIdProperties)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
firstIdProperty
- the first of the identification properties that uniquely identify the node that is to be readadditionalIdProperties
- the remaining identification properties that uniquely identify the node that is to be
read
public Graph.BatchConjunction read(Iterable<Property> idProperties)
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
idProperties
- the identification properties that uniquely identify the node that is to be read
public Graph.On<Graph.BatchConjunction> readProperty(String propertyName)
on(...)
method on the
returned Graph.On
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
propertyName
- the name of the property that is to be read
public Graph.On<Graph.BatchConjunction> readProperty(Name name)
on(...)
method on the
returned Graph.On
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
name
- the name of the property that is to be read
public Graph.On<Graph.BatchConjunction> readProperties()
on(...)
method on the returned Graph.On
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
public Graph.Of<Graph.BatchConjunction> readChildren()
of(...)
method on the returned Graph.Of
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
public Graph.At<Graph.BatchConjunction> readSubgraphOfDepth(int depth)
at(...)
in the resulting Graph.CreateAt
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
depth
- the maximum depth of the subgraph that should be read
public Graph.Conjunction<Graph.Batch> merge(Graph otherContent)
execution
.
otherContent
- the content that should exist within this graph or, if it does not exist, added to this graph
public Graph.ApplyFunction<Graph.Batch> applyFunction(Function function)
Graph.ApplyFunction
object.
Like all other methods on the Graph.Batch
, the request will be performed when the execute()
method is
called.
function
- the function to be applied
IllegalArgumentException
- if the function reference is nullpublic Results execute()
execute
in interface Graph.Executable<Node>
Graph.Executable.execute()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |