public class ImplicitKey extends EmptyRelationType implements SystemRelationType, PropertyKey
Modifier and Type | Field and Description |
---|---|
static ImplicitKey |
ADJACENT_ID |
static ImplicitKey |
ID |
static ImplicitKey |
JANUSGRAPHID |
static ImplicitKey |
KEY |
static ImplicitKey |
LABEL |
static Map<EntryMetaData,ImplicitKey> |
MetaData2ImplicitKey |
static ImplicitKey |
TIMESTAMP |
static ImplicitKey |
TTL |
static ImplicitKey |
VALUE |
static ImplicitKey |
VISIBILITY |
Modifier and Type | Method and Description |
---|---|
Cardinality |
cardinality()
The
Cardinality of this property key. |
<O> O |
computeProperty(InternalElement e) |
Class<?> |
dataType()
Returns the data type for this property key.
|
ConsistencyModifier |
getConsistencyModifier() |
boolean |
hasId()
Checks whether this entity has a unique identifier.
|
boolean |
isEdgeLabel()
Checks if this relation type is an edge label
|
boolean |
isInvisibleType() |
boolean |
isPropertyKey()
Checks if this relation type is a property key
|
boolean |
isUnidirected(org.apache.tinkerpop.gremlin.structure.Direction dir) |
long |
longId()
Unique identifier for this entity.
|
Multiplicity |
multiplicity() |
String |
name()
Returns the unique name of this entity.
|
void |
setId(long id) |
String |
toString() |
getBaseType, getKeyIndexes, getRelationIndexes, getSignature, getSortKey, getSortOrder, getStatus, getTTL, isInvisible
addEdge, addRelation, edges, getAddedRelations, getLifeCycle, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, id, isLoaded, isModified, isNew, isRemoved, it, label, loadRelations, properties, property, property, query, remove, removeRelation, tx, value, valueOrNull, vertexLabel, vertices
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBaseType, getKeyIndexes, getRelationIndexes, getSignature, getSortKey, getSortOrder, getStatus, getTTL
isNew
addRelation, getAddedRelations, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, it, loadRelations, query, removeRelation
addEdge, isModified, label, property, property, property, vertexLabel
edges, properties, property, vertices
getLifeCycle, graph, isInvisible, tx
id, isLoaded, isNew, isRemoved, remove, valueOrNull
public static final ImplicitKey ID
public static final ImplicitKey JANUSGRAPHID
public static final ImplicitKey LABEL
public static final ImplicitKey KEY
public static final ImplicitKey VALUE
public static final ImplicitKey ADJACENT_ID
public static final ImplicitKey TIMESTAMP
public static final ImplicitKey VISIBILITY
public static final ImplicitKey TTL
public static final Map<EntryMetaData,ImplicitKey> MetaData2ImplicitKey
public <O> O computeProperty(InternalElement e)
public Class<?> dataType()
PropertyKey
dataType
in interface PropertyKey
public Cardinality cardinality()
PropertyKey
Cardinality
of this property key.cardinality
in interface PropertyKey
public String name()
Namifiable
name
in interface Namifiable
public boolean isPropertyKey()
RelationType
isPropertyKey
in interface RelationType
PropertyKey
public boolean isEdgeLabel()
RelationType
isEdgeLabel
in interface RelationType
EdgeLabel
public boolean isInvisibleType()
isInvisibleType
in interface InternalRelationType
public Multiplicity multiplicity()
multiplicity
in interface InternalRelationType
public ConsistencyModifier getConsistencyModifier()
getConsistencyModifier
in interface InternalRelationType
public boolean isUnidirected(org.apache.tinkerpop.gremlin.structure.Direction dir)
isUnidirected
in interface InternalRelationType
public long longId()
JanusGraphElement
JanusGraphElement.id()
for the permanent id.longId
in interface Idfiable
longId
in interface JanusGraphElement
longId
in class EmptyVertex
public boolean hasId()
JanusGraphElement
Note that some entities may never be assigned an identifier and others will only be assigned an identifier at the end of a transaction.
hasId
in interface JanusGraphElement
hasId
in class EmptyVertex
JanusGraphElement.longId()
public void setId(long id)
setId
in interface InternalElement
setId
in class EmptyVertex
public String toString()
toString
in class EmptyRelationType
Copyright © 2012–2023. All rights reserved.