Interface RelationalStatement

All Superinterfaces:
AutoCloseable, RelationalDirectAccessStatement, Statement, Wrapper

public interface RelationalStatement extends Statement, RelationalDirectAccessStatement
Extension of Statement to allow support for non-query database access.

There are two ways that the database can be accessed:

Query Language
The Query language used by Relational is a subset of the PartiQL Spec.
Direct Access
The Direct Access API allows a user to access simplified database-like functions without requiring the writing of a SQL query. Its primary purpose for existing is historical, to allow for easier integration support with existing system users, and is not (generally) recommended for new use cases.

Direct Access API Details

The Direct Access API allows simplified execution of the following functionality:

  • Get By Key
  • Scan By Key range
  • Insert one or more records
  • Delete one or more records
Each of these functions are typically _not_ optimized, although some options exist which can be used by the caller to provide their own optimizations (such as index selection and so forth).