Modifier and Type | Method and Description |
---|---|
default Object |
GraphProvider.convertId(Object id,
Class<? extends Element> c)
Converts an identifier from a test to an identifier accepted by the
Graph instance. |
Object |
GraphManager.ManagedGraphProvider.convertId(Object id,
Class<? extends Element> c) |
Modifier and Type | Method and Description |
---|---|
Element |
Result.getElement()
Gets the result item by casting it to an
Element . |
Modifier and Type | Method and Description |
---|---|
static <A extends Element,B> |
__.elementMap(String... propertyKeys) |
static <A extends Element> |
__.id() |
static <A extends Element> |
__.label() |
static <A extends Element,B> |
__.properties(String... propertyKeys) |
static <A extends Element,B> |
__.propertyMap(String... propertyKeys) |
static <A extends Element,B> |
__.valueMap(boolean includeTokens,
String... propertyKeys) |
static <A extends Element,B> |
__.valueMap(String... propertyKeys) |
static <A extends Element,B> |
__.values(String... propertyKeys) |
Modifier and Type | Method and Description |
---|---|
static Object |
SugarLoader.ElementCategory.get(Element element,
String key) |
static Object |
SugarLoader.ElementCategory.set(Element element,
String key,
Object value) |
Modifier and Type | Class and Description |
---|---|
class |
ComputerGraph.ComputerAdjacentVertex |
class |
ComputerGraph.ComputerEdge |
class |
ComputerGraph.ComputerElement |
class |
ComputerGraph.ComputerVertex |
class |
ComputerGraph.ComputerVertexProperty<V> |
Modifier and Type | Method and Description |
---|---|
Element |
ComputerGraph.ComputerProperty.element() |
Element |
ComputerGraph.ComputerElement.getBaseElement() |
Constructor and Description |
---|
ComputerElement(Element element) |
Modifier and Type | Method and Description |
---|---|
static <A extends Element,B> |
__.elementMap(String... propertyKeys) |
static <A extends Element> |
__.id() |
static <A extends Element> |
__.label() |
static <A extends Element,B> |
__.properties(String... propertyKeys) |
static <A extends Element,B> |
__.propertyMap(String... propertyKeys) |
static <A extends Element,B> |
__.valueMap(boolean includeTokens,
String... propertyKeys)
Deprecated.
As of release 3.4.0, deprecated in favor of
__.valueMap(String...) in conjunction with
GraphTraversal.with(String, Object) . |
static <A extends Element,B> |
__.valueMap(String... propertyKeys) |
static <A extends Element,B> |
__.values(String... propertyKeys) |
Modifier and Type | Class and Description |
---|---|
class |
HasStep<S extends Element> |
Modifier and Type | Class and Description |
---|---|
class |
GraphStep<S,E extends Element> |
class |
IdStep<S extends Element> |
class |
LabelStep<S extends Element> |
class |
VertexStep<E extends Element> |
Modifier and Type | Field and Description |
---|---|
protected Traversal.Admin<Element,? extends Property> |
PropertyMapStep.propertyTraversal |
Modifier and Type | Method and Description |
---|---|
protected Iterator<E> |
PropertiesStep.flatMap(Traverser.Admin<Element> traverser) |
protected Map<K,E> |
ElementMapStep.map(Traverser.Admin<Element> traverser) |
protected Map<K,E> |
PropertyMapStep.map(Traverser.Admin<Element> traverser) |
void |
PropertyMapStep.setPropertyTraversal(Traversal.Admin<Element,? extends Property> propertyTraversal) |
Modifier and Type | Class and Description |
---|---|
class |
AddPropertyStep<S extends Element> |
Modifier and Type | Method and Description |
---|---|
Function<Element,V> |
ElementFunctionComparator.getElementFunction() |
Modifier and Type | Method and Description |
---|---|
int |
ElementFunctionComparator.compare(Element elementA,
Element elementB) |
int |
ElementValueComparator.compare(Element elementA,
Element elementB) |
boolean |
HasContainer.test(Element element) |
static boolean |
HasContainer.testAll(Element element,
List<HasContainer> hasContainers) |
protected boolean |
HasContainer.testId(Element element) |
protected boolean |
HasContainer.testIdAsString(Element element) |
protected boolean |
HasContainer.testLabel(Element element) |
Constructor and Description |
---|
ElementFunctionComparator(Function<Element,V> elementFunction,
Comparator<V> valueComparator) |
Constructor and Description |
---|
ElementPropertyChangedEvent(Element element,
Property oldValue,
Object newValue,
Object... vertexPropertyKeyValues) |
ElementPropertyEvent(Element element,
Property oldValue,
Object newValue,
Object... vertexPropertyKeyValues) |
Constructor and Description |
---|
TypeChecker(Class<? extends Element> toCheck) |
Modifier and Type | Interface and Description |
---|---|
interface |
Edge
|
interface |
Vertex
|
interface |
VertexProperty<V>
|
Modifier and Type | Method and Description |
---|---|
Element |
Property.element()
Get the element that this property is associated with.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
T.apply(Element element) |
static IllegalStateException |
Property.Exceptions.propertyDoesNotExist(Element element,
String key) |
Modifier and Type | Field and Description |
---|---|
static Comparator<Element> |
Comparators.ELEMENT_COMPARATOR
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ElementHelper.areEqual(Element a,
Object b)
A standard method for determining if two
Element objects are equal. |
static void |
ElementHelper.attachProperties(Element element,
Object... propertyKeyValues)
Assign key/value pairs as properties to an
Element . |
static Object[] |
ElementHelper.getProperties(Element element,
boolean includeId,
boolean includeLabel,
Set<String> propertiesToCopy)
Retrieve the properties associated with a particular element.
|
static int |
ElementHelper.hashCode(Element element)
If two
Element instances are equal, then they must have the same hash codes. |
static boolean |
ElementHelper.haveEqualIds(Element a,
Element b)
Simply tests if the value returned from
id() are equal() . |
static Map<String,Property> |
ElementHelper.propertyMap(Element element,
String... propertyKeys) |
static Map<String,Object> |
ElementHelper.propertyValueMap(Element element,
String... propertyKeys) |
Modifier and Type | Method and Description |
---|---|
static void |
ElementHelper.validateMixedElementIds(Class<? extends Element> clazz,
Object... ids)
Determine whether an array of ids are either all elements or ids of elements.
|
Modifier and Type | Class and Description |
---|---|
class |
DetachedEdge
|
class |
DetachedElement<E> |
class |
DetachedVertex
|
class |
DetachedVertexProperty<V> |
Modifier and Type | Method and Description |
---|---|
Element |
DetachedProperty.element() |
Modifier and Type | Method and Description |
---|---|
static DetachedElement |
DetachedFactory.detach(Element element,
boolean withProperties) |
Constructor and Description |
---|
DetachedElement(Element element) |
DetachedProperty(String key,
V value,
Element element) |
Modifier and Type | Class and Description |
---|---|
class |
EmptyVertexProperty<V> |
Modifier and Type | Method and Description |
---|---|
Element |
EmptyProperty.element() |
Modifier and Type | Class and Description |
---|---|
class |
KeyedVertexProperty<V>
A utility implementation of a
Property that only has a key but no value and no meta-properties. |
Modifier and Type | Method and Description |
---|---|
Element |
KeyedProperty.element() |
Modifier and Type | Class and Description |
---|---|
class |
ReferenceElement<E extends Element> |
Modifier and Type | Class and Description |
---|---|
class |
ReferenceEdge |
class |
ReferenceElement<E extends Element> |
class |
ReferenceVertex |
class |
ReferenceVertexProperty<V> |
Modifier and Type | Method and Description |
---|---|
Element |
ReferenceProperty.element() |
Modifier and Type | Method and Description |
---|---|
static ReferenceElement |
ReferenceFactory.detach(Element element) |
Constructor and Description |
---|
ReferenceElement(Element element) |
Modifier and Type | Class and Description |
---|---|
class |
StarGraph.StarElement<E extends Element> |
Modifier and Type | Class and Description |
---|---|
class |
StarGraph.StarAdjacentVertex |
class |
StarGraph.StarEdge |
class |
StarGraph.StarElement<E extends Element> |
class |
StarGraph.StarInEdge |
class |
StarGraph.StarOutEdge |
class |
StarGraph.StarVertex |
class |
StarGraph.StarVertexProperty<V> |
Modifier and Type | Method and Description |
---|---|
Element |
StarGraph.StarProperty.element() |
Modifier and Type | Class and Description |
---|---|
class |
TinkerCountGlobalStep<S extends Element> |
Modifier and Type | Class and Description |
---|---|
class |
TinkerGraphStep<S,E extends Element> |
Modifier and Type | Class and Description |
---|---|
class |
TinkerEdge |
class |
TinkerElement |
class |
TinkerVertex |
class |
TinkerVertexProperty<V> |
Modifier and Type | Field and Description |
---|---|
protected Element |
TinkerProperty.element |
Modifier and Type | Method and Description |
---|---|
<E extends Element> |
TinkerGraph.createIndex(String key,
Class<E> elementClass)
|
<E extends Element> |
TinkerGraph.dropIndex(String key,
Class<E> elementClass)
|
<E extends Element> |
TinkerGraph.getIndexedKeys(Class<E> elementClass)
|
Modifier and Type | Method and Description |
---|---|
Element |
TinkerProperty.element() |
Modifier and Type | Method and Description |
---|---|
protected static IllegalStateException |
TinkerElement.elementAlreadyRemoved(Class<? extends Element> clazz,
Object id) |
Constructor and Description |
---|
TinkerProperty(Element element,
String key,
V value) |
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.