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.
|
Object |
id()
Returns a unique identifier for this entity.
|
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) |
Multiplicity |
multiplicity() |
String |
name()
Returns the unique name of this entity.
|
void |
setId(Object id) |
String |
toString() |
getBaseType, getKeyIndexes, getRelationIndexes, getSignature, getSortKey, getSortOrder, getStatus, getTTL, isInvisibleaddEdge, addRelation, edges, findAddedProperty, findPreviousRelation, getAddedRelations, getLifeCycle, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, isLoaded, isModified, isNew, isRemoved, it, label, loadRelations, properties, property, property, query, remove, removeRelation, tx, value, valueOrNull, vertexLabel, verticesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBaseType, getKeyIndexes, getRelationIndexes, getSignature, getSortKey, getSortOrder, getStatus, getTTLisNew, longIdaddRelation, findAddedProperty, findPreviousRelation, getAddedRelations, getDuplicatedAddedRelation, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, it, loadRelations, query, removeRelationaddEdge, isModified, label, property, property, property, vertexLabeledges, properties, property, verticesgetLifeCycle, graph, isInvisible, txisLoaded, isNew, isRemoved, remove, valueOrNullpublic 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()
PropertyKeydataType in interface PropertyKeypublic Cardinality cardinality()
PropertyKeyCardinality of this property key.cardinality in interface PropertyKeypublic String name()
Namifiablename in interface Namifiablepublic boolean isPropertyKey()
RelationTypeisPropertyKey in interface RelationTypePropertyKeypublic boolean isEdgeLabel()
RelationTypeisEdgeLabel in interface RelationTypeEdgeLabelpublic boolean isInvisibleType()
isInvisibleType in interface InternalRelationTypepublic Multiplicity multiplicity()
multiplicity in interface InternalRelationTypepublic ConsistencyModifier getConsistencyModifier()
getConsistencyModifier in interface InternalRelationTypepublic boolean isUnidirected(org.apache.tinkerpop.gremlin.structure.Direction dir)
isUnidirected in interface InternalRelationTypepublic Object id()
JanusGraphElementThe unique identifier may only be set when the transaction in which entity is created commits. Some entities are never assigned a unique identifier if they depend on a parent entity.
JanusGraph allocates blocks of identifiers and automatically assigns identifiers to elements
automatically be default. This behavior can be partially overridden by setting
GraphDatabaseConfiguration.ALLOW_SETTING_VERTEX_ID
id in interface org.apache.tinkerpop.gremlin.structure.Elementid in interface Idfiableid in interface JanusGraphElementid in class EmptyVertexJanusGraphElement.hasId()public boolean hasId()
JanusGraphElementNote 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 JanusGraphElementhasId in class EmptyVertexpublic void setId(Object id)
setId in interface InternalElementsetId in class EmptyVertexpublic String toString()
toString in class EmptyRelationTypeCopyright © 2012–2024. All rights reserved.