FinishClause
Description
Interface with methods to construct the final SPARQL query string.
Methods
toCompactString(): stringConstructs a compact SPARQL query string.
Tries to minimize the optional elements and the blank spaces between the elements of the query.
Returns
The compact string.
toPrettyString(): stringConstructs a pretty SPARQL query string.
Prints the statements with indentation and also print all the elements even if their are optional ones.
Returns
The pretty string.
toString(): stringReturn the same result as FinishClause.toPrettyString
Parameters
| Name | Type | Description |
|---|---|---|
| (query: this, container: Container<TokenNode>) => any |
FinishClause
Description
Constant with the utils for FinishClause objects.
Methods
createFrom<O extends object>( container: Container<TokenNode>, object: O ): O & FinishClauseFactory function that allows to crete a FinishClause from the object provided.
Parameters
| Name | Type | Description |
|---|---|---|
| Container<TokenNode> | The related container with the data for the | |
| O | The base base from where to create the |
Returns
The FinishClause statement created from the object provided.