public static enum EdgeLabel.Multiplicity extends Enum<EdgeLabel.Multiplicity> implements com.google.protobuf.ProtocolMessageEnum
janusgraph.types.v1.EdgeLabel.Multiplicity| Enum Constant and Description |
|---|
MANY2ONE
There can only be a single out-edge of this label for a given vertex but multiple in-edges (i.e.
|
MULTI
The given edge label specifies a multi-graph, meaning that the multiplicity is not constrained and that
there may be multiple edges of this label between any given pair of vertices.
|
ONE2MANY
There can only be a single in-edge of this label for a given vertex but multiple out-edges (i.e.
|
ONE2ONE
There can be only a single in and out-edge of this label for a given vertex (i.e.
|
SIMPLE
The given edge label specifies a simple graph, meaning that the multiplicity is not constrained but that there
can only be at most a single edge of this label between a given pair of vertices.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MANY2ONE_VALUE
There can only be a single out-edge of this label for a given vertex but multiple in-edges (i.e.
|
static int |
MULTI_VALUE
The given edge label specifies a multi-graph, meaning that the multiplicity is not constrained and that
there may be multiple edges of this label between any given pair of vertices.
|
static int |
ONE2MANY_VALUE
There can only be a single in-edge of this label for a given vertex but multiple out-edges (i.e.
|
static int |
ONE2ONE_VALUE
There can be only a single in and out-edge of this label for a given vertex (i.e.
|
static int |
SIMPLE_VALUE
The given edge label specifies a simple graph, meaning that the multiplicity is not constrained but that there
can only be at most a single edge of this label between a given pair of vertices.
|
| Modifier and Type | Method and Description |
|---|---|
static EdgeLabel.Multiplicity |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EdgeLabel.Multiplicity> |
internalGetValueMap() |
static EdgeLabel.Multiplicity |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EdgeLabel.Multiplicity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EdgeLabel.Multiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeLabel.Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeLabel.Multiplicity MULTI
The given edge label specifies a multi-graph, meaning that the multiplicity is not constrained and that there may be multiple edges of this label between any given pair of vertices.
MULTI = 0;public static final EdgeLabel.Multiplicity SIMPLE
The given edge label specifies a simple graph, meaning that the multiplicity is not constrained but that there can only be at most a single edge of this label between a given pair of vertices.
SIMPLE = 1;public static final EdgeLabel.Multiplicity ONE2MANY
There can only be a single in-edge of this label for a given vertex but multiple out-edges (i.e. in-unique).
ONE2MANY = 2;public static final EdgeLabel.Multiplicity MANY2ONE
There can only be a single out-edge of this label for a given vertex but multiple in-edges (i.e. out-unique).
MANY2ONE = 3;public static final EdgeLabel.Multiplicity ONE2ONE
There can be only a single in and out-edge of this label for a given vertex (i.e. unique in both directions).
ONE2ONE = 4;public static final EdgeLabel.Multiplicity UNRECOGNIZED
public static final int MULTI_VALUE
The given edge label specifies a multi-graph, meaning that the multiplicity is not constrained and that there may be multiple edges of this label between any given pair of vertices.
MULTI = 0;public static final int SIMPLE_VALUE
The given edge label specifies a simple graph, meaning that the multiplicity is not constrained but that there can only be at most a single edge of this label between a given pair of vertices.
SIMPLE = 1;public static final int ONE2MANY_VALUE
There can only be a single in-edge of this label for a given vertex but multiple out-edges (i.e. in-unique).
ONE2MANY = 2;public static final int MANY2ONE_VALUE
There can only be a single out-edge of this label for a given vertex but multiple in-edges (i.e. out-unique).
MANY2ONE = 3;public static final int ONE2ONE_VALUE
There can be only a single in and out-edge of this label for a given vertex (i.e. unique in both directions).
ONE2ONE = 4;public static EdgeLabel.Multiplicity[] values()
for (EdgeLabel.Multiplicity c : EdgeLabel.Multiplicity.values()) System.out.println(c);
public static EdgeLabel.Multiplicity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static EdgeLabel.Multiplicity valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EdgeLabel.Multiplicity forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EdgeLabel.Multiplicity> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EdgeLabel.Multiplicity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012–2023. All rights reserved.