# Package org.eclipse.rdf4j.query

Interfaces and classes for handling queries and query results.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Binding | A named value binding.
  BindingSet | A BindingSet is a set of named value bindings, which is used a.o.
  BooleanQuery |
  BooleanQueryResultHandler | An interface that indicates that this QueryResultHandler is capable of handling boolean results using the `QueryResultHandler.handleBoolean(boolean)` method.
  Dataset | Represents a dataset against which operations can be evaluated.
  GraphQuery |
  GraphQueryResult | A representation of a query result as a sequence of `Statement` objects.
  Operation | An operation (e.g.
  Query | A query on a repository that can be formulated in one of the supported query languages (for example SeRQL or SPARQL).
  QueryResult<T> | Super type of all query result types (TupleQueryResult, GraphQueryResult, etc.).
  QueryResultHandler | The super class of all handlers for processing query results.
  TupleQuery |
  TupleQueryResult | A representation of a variable-binding query result as a sequence of `BindingSet` objects.
  TupleQueryResultHandler | An interface defining methods related to handling sequences of Solutions.
  Update | An update operation on a repository that can be formulated in one of the supported query languages (for example SPARQL).

- Class Summary
  Class | Description
  --- | ---
  AbstractBindingSet | Abstract base class for `BindingSet` implementations, providing a.o.
  AbstractTupleQueryResultHandler | Base class for `TupleQueryResultHandler`s with dummy implementations of all methods.
  QueryLanguage | A type-safe enumeration for RDF query languages such as `QueryLanguage.SPARQL` and `SeRQL`.
  QueryResults | Utility methods related to query results.
  QueryResultUtil | Deprecated since 2.0.
  TupleQueryResultHandlerBase | Deprecated since 2.0.

- Enum Summary
  Enum | Description
  --- | ---
  Query.QueryType | The different types of queries that RDF4J recognizes: boolean queries, graph queries, and tuple queries.

- Exception Summary
  Exception | Description
  --- | ---
  BooleanQueryResultHandlerException | An exception that can be thrown by an BooleanQueryResultHandler when it encounters an unrecoverable error.
  IncompatibleOperationException | An exception indicating that a string could not be parsed into an operation of the expected type by the parser.
  MalformedQueryException | An exception indicating that a query could not be processed by the query parser, typically due to syntax errors.
  QueryEvaluationException | An exception indicating that the evaluation of a query failed.
  QueryInterruptedException | An exception indicating that the evaluation of a query has been interrupted, for example because it took too long to complete.
  QueryResultHandlerException | The super class of exceptions originating from `QueryResultHandler` implementations.
  TupleQueryResultHandlerException | An exception that can be thrown by an TupleQueryResultHandler when it encounters an unrecoverable error.
  UnsupportedQueryLanguageException | A RuntimeException indicating that a specific query language is not supported.
  UpdateExecutionException | An exception indicating that the execution of an update failed.

## Package org.eclipse.rdf4j.query Description

Interfaces and classes for handling queries and query results.

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.