public class StandardEdgeLabelMaker extends StandardRelationTypeMaker implements EdgeLabelMaker
attributeHandler, indexSerializer, tx| Constructor and Description |
|---|
StandardEdgeLabelMaker(StandardTitanTx tx,
String name,
IndexSerializer indexSerializer,
AttributeHandler attributeHandler) |
| Modifier and Type | Method and Description |
|---|---|
StandardEdgeLabelMaker |
directed()
Configures the label to be directed.
|
StandardEdgeLabelMaker |
invisible() |
EdgeLabel |
make()
Defines the
EdgeLabel specified by this EdgeLabelMaker and returns the resulting label |
StandardEdgeLabelMaker |
multiplicity(Multiplicity multiplicity)
Sets the multiplicity of this label.
|
StandardEdgeLabelMaker |
signature(PropertyKey... types)
Configures the signature of this relation type.
|
StandardEdgeLabelMaker |
sortKey(PropertyKey... types)
Configures the composite sort key for this label.
|
StandardEdgeLabelMaker |
sortOrder(Order order)
Defines in which order to sort the relations for efficient retrieval, i.e.
|
StandardEdgeLabelMaker |
unidirected()
Configures the label to be unidirected.
|
StandardEdgeLabelMaker |
unidirected(org.apache.tinkerpop.gremlin.structure.Direction dir) |
getMultiplicity, getName, hasSortKey, makeDefinition, name, statusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic StandardEdgeLabelMaker(StandardTitanTx tx, String name, IndexSerializer indexSerializer, AttributeHandler attributeHandler)
public StandardEdgeLabelMaker directed()
EdgeLabelMakerdirected in interface EdgeLabelMakerEdgeLabel.isDirected()public StandardEdgeLabelMaker unidirected()
EdgeLabelMakerunidirected in interface EdgeLabelMakerEdgeLabel.isUnidirected()public StandardEdgeLabelMaker unidirected(org.apache.tinkerpop.gremlin.structure.Direction dir)
public StandardEdgeLabelMaker multiplicity(Multiplicity multiplicity)
EdgeLabelMakerMultiplicity.MULTI.multiplicity in interface EdgeLabelMakermultiplicity in class StandardRelationTypeMakerMultiplicitypublic StandardEdgeLabelMaker signature(PropertyKey... types)
RelationTypeMakerRelationTypes used in the signature must be either property out-unique keys or out-unique unidirected edge labels.
signature in interface EdgeLabelMakersignature in interface RelationTypeMakersignature in class StandardRelationTypeMakertypes - PropertyKey composing the signature for the configured relation type. The order is irrelevant.public StandardEdgeLabelMaker sortKey(PropertyKey... types)
StandardRelationTypeMakercom.thinkaurelius.titan.core.TitanVertexQuery#interval(com.thinkaurelius.titan.core.PropertyKey, Comparable, Comparable).
RelationTypes used in the sort key must be either property out-unique keys or out-unique unidirected edge lables.sortKey in class StandardRelationTypeMakertypes - TitanTypes composing the sort key. The order is relevant.public StandardEdgeLabelMaker sortOrder(Order order)
StandardRelationTypeMakerOrder.ASC) or
decreasing (Order.DESC).
Note, that only one sort order can be specified and that a sort key must be defined to use a sort order.sortOrder in class StandardRelationTypeMaker#sortKey(RelationType...)public StandardEdgeLabelMaker invisible()
invisible in class StandardRelationTypeMakerpublic EdgeLabel make()
EdgeLabelMakerEdgeLabel specified by this EdgeLabelMaker and returns the resulting labelmake in interface EdgeLabelMakermake in interface RelationTypeMakerEdgeLabelCopyright © 2012–2015. All rights reserved.