public interface PrivacyQueryVerifier<ResultSetType,TripleType,NodeType>
Modifier and Type | Method and Description |
---|---|
ResultSetType |
filter(CallerContext context,
java.lang.String query,
SemanticDataStorage<ResultSetType,TripleType,NodeType> sds)
This method executes the query on SDS and filters the given results
using an implementation-specific access control algorithm.
|
boolean |
verify(CallerContext context,
java.lang.String query)
This method perform a static analysis of the query to determine if
it can be executed or not.
|
boolean verify(CallerContext context, java.lang.String query)
context
- The context in which this query will be executedquery
- The query to be verifiedResultSetType filter(CallerContext context, java.lang.String query, SemanticDataStorage<ResultSetType,TripleType,NodeType> sds)
context
- The context in which this query will be executedquery
- The query to be verifiedsds
- The Semantic Data Storage where the query will be used