Uses of Interface
org.cojen.tupl.Table

Packages that use Table
Package
Description
See Database to get started with Tupl.
  • Uses of Table in org.cojen.tupl

    Methods in org.cojen.tupl that return Table
    Modifier and Type
    Method
    Description
    default <T> Table<T>
    Table.aggregate(Class<T> targetType, Aggregator.Factory<R,T> factory)
    Returns a view backed by this table, consisting of aggregate rows, which are grouped by the primary key of the target type.
    <R> Table<R>
    Index.asTable(Class<R> type)
    Returns a Table instance which stores rows in this index.
    default <R> Table<R>
    Database.findTable(Class<R> type)
    Convenience method which returns a Table that uses the index named by the row type itself.
    default <T> Table<T>
    Table.group(String groupBy, String orderBy, Class<T> targetType, Grouper.Factory<R,T> factory)
    Returns a view backed by this table, which processes groups of source rows into groups of target rows.
    static <J> Table<J>
    Table.join(Class<J> joinType, String spec, Table<?>... tables)
    Joins tables together into an unmodifiable view.
    default <T> Table<T>
    Table.map(Class<T> targetType, Mapper<R,T> mapper)
    Returns a view backed by this table, whose rows have been mapped to target rows.
    default <J> Table<J>
    Database.openJoinTable(Class<J> joinType, String spec)
    Convenience method which joins tables together, opening them if necessary.
    default <R> Table<R>
    Database.openTable(Class<R> type)
    Convenience method which returns a Table that uses the index named by the row type itself.
    default Table<R>
    Table.view(String query, Object... args)
    Returns a view backed by this table, whose rows and natural ordering are defined by the given query.
    Methods in org.cojen.tupl with parameters of type Table
    Modifier and Type
    Method
    Description
    default void
    Mapper.checkDelete(Table<R> table, R row)
    Checks if the given source row can be deleted from the source table.
    default void
    Mapper.checkStore(Table<R> table, R row)
    Checks if the given source row can be stored into the source table.
    default void
    Mapper.checkUpdate(Table<R> table, R row)
    Checks if the given source row can be updated into the source table.
    static <J> Table<J>
    Table.join(Class<J> joinType, String spec, Table<?>... tables)
    Joins tables together into an unmodifiable view.