public class StandardEdgeLabelMaker extends StandardRelationTypeMaker implements EdgeLabelMaker
attributeHandler, indexSerializer, tx| Constructor and Description |
|---|
StandardEdgeLabelMaker(StandardTitanTx tx,
IndexSerializer indexSerializer,
AttributeHandling attributeHandler) |
| Modifier and Type | Method and Description |
|---|---|
StandardEdgeLabelMaker |
directed()
Configures the label to be directed.
|
StandardEdgeLabelMaker |
hidden() |
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(RelationType... types)
Configures the signature of this relation type.
|
StandardEdgeLabelMaker |
sortKey(RelationType... 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(com.tinkerpop.blueprints.Direction dir) |
getMultiplicity, getName, hasSortKey, makeDefinition, nameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic StandardEdgeLabelMaker(StandardTitanTx tx, IndexSerializer indexSerializer, AttributeHandling attributeHandler)
public StandardEdgeLabelMaker directed()
EdgeLabelMakerdirected in interface EdgeLabelMakerEdgeLabel.isDirected()public StandardEdgeLabelMaker unidirected()
EdgeLabelMakerunidirected in interface EdgeLabelMakerEdgeLabel.isUnidirected()public StandardEdgeLabelMaker unidirected(com.tinkerpop.blueprints.Direction dir)
public StandardEdgeLabelMaker multiplicity(Multiplicity multiplicity)
EdgeLabelMakerMultiplicity.MULTI.multiplicity in interface EdgeLabelMakermultiplicity in class StandardRelationTypeMakerMultiplicitypublic StandardEdgeLabelMaker signature(RelationType... 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 - RelationTypes composing the signature for the configured relation type. The order is irrelevant.public StandardEdgeLabelMaker sortKey(RelationType... types)
StandardRelationTypeMakerTitanVertexQuery.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 StandardRelationTypeMakerStandardRelationTypeMaker.sortKey(RelationType...)public StandardEdgeLabelMaker hidden()
hidden in class StandardRelationTypeMakerpublic EdgeLabel make()
EdgeLabelMakerEdgeLabel specified by this EdgeLabelMaker and returns the resulting labelmake in interface EdgeLabelMakermake in interface RelationTypeMakerEdgeLabelCopyright © 2012–2014. All rights reserved.