public class RelationCache extends Object implements Iterable<com.carrotsearch.hppc.cursors.LongObjectCursor<Object>>
Modifier and Type | Field and Description |
---|---|
org.apache.tinkerpop.gremlin.structure.Direction |
direction |
long |
relationId |
long |
typeId |
Constructor and Description |
---|
RelationCache(org.apache.tinkerpop.gremlin.structure.Direction direction,
long typeId,
long relationId,
Object other) |
RelationCache(org.apache.tinkerpop.gremlin.structure.Direction direction,
long typeId,
long relationId,
Object other,
com.carrotsearch.hppc.LongObjectHashMap<Object> properties) |
Modifier and Type | Method and Description |
---|---|
<O> O |
get(long key) |
Object |
getOtherVertexId() |
Object |
getValue() |
boolean |
hasProperties() |
Iterator<com.carrotsearch.hppc.cursors.LongObjectCursor<Object>> |
iterator() |
int |
numProperties() |
Iterator<com.carrotsearch.hppc.cursors.LongObjectCursor<Object>> |
propertyIterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public final org.apache.tinkerpop.gremlin.structure.Direction direction
public final long typeId
public final long relationId
public RelationCache(org.apache.tinkerpop.gremlin.structure.Direction direction, long typeId, long relationId, Object other, com.carrotsearch.hppc.LongObjectHashMap<Object> properties)
public RelationCache(org.apache.tinkerpop.gremlin.structure.Direction direction, long typeId, long relationId, Object other)
public <O> O get(long key)
public boolean hasProperties()
public int numProperties()
public Object getValue()
public Object getOtherVertexId()
public Iterator<com.carrotsearch.hppc.cursors.LongObjectCursor<Object>> propertyIterator()
Copyright © 2012–2024. All rights reserved.