Class QueryHints

java.lang.Object
cz.cvut.kbss.jopa.query.QueryHints

public class QueryHints extends Object
Defines query hints supported by JOPA.
  • Field Details

    • DISABLE_INFERENCE

      public static final String DISABLE_INFERENCE
      Indicates that inferred results should be omitted from query results.
      See Also:
    • TARGET_ONTOLOGY

      public static final String TARGET_ONTOLOGY
      Allows to specify the target ontology for query execution.

      By target ontology, it is meant either the shared ontology, which does not contain pending transactional changes, or the transactional ontology (w.r.t. the persistence context issuing the query), where transactional changes may influence the query results.

      Note that OntoDriver implementations may choose to ignore the selection depending on their internal transaction and query execution mechanism.

      Valid values are CENTRAL and TRANSACTIONAL.

      See Also: