Class: AbstractLocal

olympe.dc.predicates. AbstractLocal

Base implementation of a local predicate to be extended.


<abstract> new AbstractLocal()

Implements:

Methods


getInternalPaths()

Returns the path in the graph followed by this predicate to be evaluated.

Implements:
Returns:
Type
Array.<!Array.<!olympe.dc.query.Relation>>

getName()

Gets the name of this Predicate.

Implements:
Returns:

The name.

Type
string

serialize(parameters)

Serializes the predicate.

Parameters:
Name Type Description
parameters olympe.dc.query.Parameters

Serialization parameters.

Implements:
Throws:

If the predicate is not serializable.

Type
Error
Returns:

A string containing the serialized form.

Type
string

<abstract> test()

Implements:

toString()

Gets a string representation of this Predicate.

Implements:
Returns:

The string representation.

Type
string