public interface Attachable<V>
Graph
.
There are two general ways in which they can be attached: Attachable.Method.get(org.apache.tinkerpop.gremlin.structure.util.Host)
or Attachable.Method.create(org.apache.tinkerpop.gremlin.structure.util.Host)
.
A Attachable.Method.get(org.apache.tinkerpop.gremlin.structure.util.Host)
will find the property/element at the host location and return it.
A Attachable.Method.create(org.apache.tinkerpop.gremlin.structure.util.Host)
will create the property/element at the host location and return it.Modifier and Type | Interface and Description |
---|---|
static class |
Attachable.Exceptions |
static class |
Attachable.Method |
Modifier and Type | Method and Description |
---|---|
default V |
attach(Function<Attachable<V>,V> method) |
V |
get()
Get the raw object trying to be attached.
|
V get()
default V attach(Function<Attachable<V>,V> method) throws IllegalStateException
IllegalStateException
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.