Class DetachedPath
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.MutablePath
- 
- org.apache.tinkerpop.gremlin.structure.util.detached.DetachedPath
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<Object>,- Path,- Attachable<Path>
 
 public class DetachedPath extends MutablePath implements Attachable<Path> - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.AttachableAttachable.Exceptions, Attachable.Method
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.PathPath.Exceptions
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.MutablePathlabels, objects
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedDetachedPath(Path path, boolean withProperties)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Pathattach(Function<Attachable<Path>,Path> method)Provide a way to attach anAttachableimplementation to a host.Pathget()Get the raw object trying to be attached.- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.MutablePathclone, equals, extend, extend, get, get, hashCode, hasLabel, head, isEmpty, iterator, labels, make, objects, retract, size, toString
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
DetachedPathprotected DetachedPath(Path path, boolean withProperties) 
 
- 
 - 
Method Detail- 
getpublic Path get() Description copied from interface:AttachableGet the raw object trying to be attached.- Specified by:
- getin interface- Attachable<Path>
- Returns:
- the raw object to attach
 
 - 
attachpublic Path attach(Function<Attachable<Path>,Path> method) Description copied from interface:AttachableProvide a way to attach anAttachableimplementation to a host. Note that the context of the host is not defined by way of the attachment method itself that is supplied as an argument. It is up to the implementer to supply that context.- Specified by:
- attachin interface- Attachable<Path>
- Parameters:
- method- a- Functionthat takes an- Attachableand returns the "re-attached" object
- Returns:
- the return value of the method
 
 
- 
 
-