Package org.reldb.wrapd.sqldb

Tools for interacting with a SQL DBMS.
  • Interface Summary
    Interface Description
    Customisations
    Defines custom, DBMS-specific behaviour.
    Database.ConnectionUser<T>
    Used to define lambda expressions that make use of a Connection and return a value of type T.
    Database.PreparedStatementUser<T>
    Used to define lambda expressions that make use of a PreparedStatement and return a value of type T.
    Database.ResultSetReceiver<T>
    Used to define lambda expressions that receive a ResultSet for processing.
    Database.TransactionRunner<T>
    Used to define lambda expressions for transactional processing.
    Database.XactGo<T>
    Used to define lambda expressions for more ergonomic transaction processing.
    ResultSetToTuple.AttributeReceiver
    A functional interface for defining lambda expressions that do something with an attribute name and an attribute type.
    ResultSetToTuple.TupleProcessor<T extends Tuple>
    FunctionalInterface to define lambdas for processing each Tuple in a ResultSet.
  • Class Summary
    Class Description
    Attribute
    Represents an attribute of a Tuple.
    Database
    Database access layer.
    Database.SQLEvent
    An instance of an SQL query, for monitoring queries processed by a Database.
    Definer
    Mechanism for defining Query, Update and valueOf classes.
    Definer.DefineQueryResult
    The result of Query generation.
    Definer.DefineValueOfResult
    The result of ValueOf generation.
    Query<T extends Tuple>
    An SQL SELECT (or equivalent RecordSet-returning) Query.
    QueryTypeGenerator
    Generates Java code to represent a query, which is a class that implements Query.
    ResultSetToTuple
    Tools for creating Tuple-derived classes from ResultSetS and for turning ResultSetS into Tuple-derived instances for processing directly or as a List or Stream.
    SQL
    Abstract base class for (possibly parametric) SQL definitions.
    SQLParameterConverter
    Convert SQL text with optional parameters specified as ? or {name} to SQL text with only ? parameters, and obtain a list of parameter names, where a generated parameter name will correspond to each ?, and the specified name will be for each {name}.
    SQLTypeGenerator
    Generates Java code to represent a SQL construct.
    SQLTypeGenerator.Method
    A method definition for a generated method.
    Tuple
    The base class for all tuples.
    TupleTypeGenerator
    Generates Java code to represent a tuple, which is a class that implements Tuple.
    TupleTypeGenerator.GenerateResult
    Result of generate().
    UpdatableTuple
    The base class for all updatable tuples.
    UpdatableTuple.FieldGetFailure
    Failure to retrieve a Field.
    Update
    An SQL update (typically INSERT, UPDATE, DELETE, or stored procedure invoking) query.
    UpdateTypeGenerator
    Generates Java code to represent an update query, which is a class that implements Update.
    ValueOfTypeGenerator
    Generates Java code to ergonomically represent valueOf(...) queries.
    Xact
    Transaction wrapper that allows database query and update operations to be invoked transactionally in an ergonomic fashion.