Package | Description |
---|---|
org.janusgraph.graphdb.database.idhandling |
Modifier and Type | Field and Description |
---|---|
IDHandler.DirectionID |
IDHandler.RelationTypeParse.dirID |
Modifier and Type | Method and Description |
---|---|
static IDHandler.DirectionID |
IDHandler.DirectionID.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IDHandler.DirectionID[] |
IDHandler.DirectionID.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static StaticBuffer |
IDHandler.getRelationType(long relationTypeId,
IDHandler.DirectionID dirID,
boolean invisible) |
static void |
IDHandler.writeRelationType(WriteBuffer out,
long relationTypeId,
IDHandler.DirectionID dirID,
boolean invisible)
The edge type is written as follows: [ Invisible & System (2 bit) | Relation-Type-ID (1 bit) | Relation-Type-Count (variable) | Direction-ID (1 bit)]
Would only need 1 bit to store relation-type-id, but using two so we can upper bound.
|
Constructor and Description |
---|
RelationTypeParse(long typeId,
IDHandler.DirectionID dirID) |
Copyright © 2012–2023. All rights reserved.