OSID Logo
OSID Specifications
topology package
Version 3.1.0
Interfaceosid.topology.EdgeSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.topology.EdgeSearchSession
osid.topology.EdgeSmartGraphSession
Description

An interface for specifying the ordering of search results.

MethodorderBySourceNode
Description

Specifies a preference for ordering the result set by the source node.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsSourceNodeSearchOrder
Description

Tests if a source node search order is available.

Returnboolean true if a node search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSourceNodeSearchOrder
Description

Gets a source node search order.

Returnosid.topology.NodeSearchOrder a node search order
ErrorsUNIMPLEMENTED supportsSourceNodeSearchOrder() is false
Complianceoptional This method must be implemented if supportsSourceNodeSearchOrder() is true.
MethodorderByDestinationNode
Description

Specifies a preference for ordering the result set by the destination node.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsDestinationNodeSearchOrder
Description

Tests if a destination node search order is available.

Returnboolean true if a node search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDestinationNodeSearchOrder
Description

Gets a destination node search order.

Returnosid.topology.NodeSearchOrder a node search order
ErrorsUNIMPLEMENTED supportsDestinationNodeSearchOrder() is false
Complianceoptional This method must be implemented if supportsDestinationNodeSearchOrder() is true.
MethodorderByDirectional
Description

Specifies a preference for ordering the result set by the directionality.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByBiDirectional
Description

Specifies a preference for ordering the result set by the directionality.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByCost
Description

Specifies a preference for ordering the result set by the edge cost.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByDistance
Description

Specifies a preference for ordering the result set by the edge distance.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodgetEdgeSearchOrderRecord
Description

Gets the edge search order record corresponding to the given edge record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeedgeRecordType an edge record type
Returnosid.topology.records.EdgeSearchOrderRecord the edge search order record
ErrorsNULL_ARGUMENT edgeRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(edgeRecordType) is false
Compliancemandatory This method must be implemented.