SPARQLER
Extends
QueryClause<SELECT, ASK>
Implements
QueryClause<SELECT, ASK>

Description

Class that allows to create the SPARQL query builder.

See QueryClause for the available methods to construct the queries.

Constructor

SPARQLER<SELECT, ASK>( finishSelectFactory: Factory<Container<QueryToken<QueryClauseToken>>, SELECT> = FinishClause.createFrom as FinishFactory<SELECT>, finishAskFactory: Factory<Container<QueryToken<QueryClauseToken>>, ASK> = FinishClause.createFrom as FinishFactory<ASK> )

Constructor that allows to create query builder with custom finish methods specified by the factories provided if specified.

If no custom factory specified FinishClause.createFrom will be used instead.

Parameters

NameTypeDescription
Factory<Container<QueryToken<QueryClauseToken>>, SELECT> = FinishClause.createFrom as FinishFactory<SELECT>

Factory for finishing a SELECT query.

Factory<Container<QueryToken<QueryClauseToken>>, ASK> = FinishClause.createFrom as FinishFactory<ASK>

Factory for finishing an ASK query.

SPARQLER
Extends
QueryClause<SELECT, ASK>
Implements
QueryClause<SELECT, ASK>

Description

Interface with the same name fo the SPARQLER class, that helps in the definition of the methods decorated by QueryClause.createFrom