|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Table | |
---|---|
org.jooq | |
org.jooq.impl |
Uses of Table in org.jooq |
---|
Subinterfaces of Table in org.jooq | |
---|---|
interface |
TableOnConditionStep
An intermediate (optional) type for the construction of a JOIN
clause, where the join criteria is added using an ON clause
(with a Condition . |
interface |
UpdatableTable<R extends Record>
A common interface for tables whose records can be stored back to the database again. |
Methods in org.jooq that return Table | |
---|---|
Table<R> |
TableLike.asTable()
The underlying table representation of this object This method is useful for things like SELECT * FROM (SELECT * FROM x WHERE x.a = '1') WHERE ... |
Table<R> |
TableLike.asTable(String alias)
The underlying aliased table representation of this object This method is useful for things like SELECT * FROM (SELECT * FROM x WHERE x.a = '1') [alias] WHERE ... |
Table<Record> |
Table.crossJoin(String sql)
CROSS JOIN a table to this table. |
Table<Record> |
Table.crossJoin(String sql,
Object... bindings)
CROSS JOIN a table to this table. |
Table<Record> |
Table.crossJoin(TableLike<?> table)
CROSS JOIN a table to this table. |
Table<R> |
TableRecord.getTable()
The table from which this record was read |
Table<R> |
TableField.getTable()
|
Table<R> |
Key.getTable()
The Key 's owner table |
Table<R> |
Identity.getTable()
The IDENTITY 's owner table |
Table<?> |
Schema.getTable(String name)
Get a table by its name (case-sensitive) in this schema, or null if no such table exists |
Table<Record> |
PivotInStep.in(Collection<? extends Field<T>> fields)
Specify the acceptable values for pivoting This clause is generally only supported by SQLDialect.ORACLE . |
Table<Record> |
PivotInStep.in(Field<?>... fields)
Specify the acceptable values for pivoting This clause is generally only supported by SQLDialect.ORACLE . |
Table<Record> |
PivotInStep.in(T... values)
Specify the acceptable values for pivoting |
Table<?> |
SchemaMapping.map(Table<?> table)
Deprecated. Apply mapping to a given table |
Table<Record> |
Table.naturalJoin(String sql)
NATURAL JOIN a table to this table. |
Table<Record> |
Table.naturalJoin(String sql,
Object... bindings)
NATURAL JOIN a table to this table. |
Table<Record> |
Table.naturalJoin(TableLike<?> table)
NATURAL JOIN a table to this table. |
Table<Record> |
Table.naturalLeftOuterJoin(String sql)
NATURAL LEFT OUTER JOIN a table to this table. |
Table<Record> |
Table.naturalLeftOuterJoin(String sql,
Object... bindings)
NATURAL LEFT OUTER JOIN a table to this table. |
Table<Record> |
Table.naturalLeftOuterJoin(TableLike<?> table)
NATURAL LEFT OUTER JOIN a table to this table. |
Table<Record> |
Table.naturalRightOuterJoin(String sql)
NATURAL RIGHT OUTER JOIN a table to this table. |
Table<Record> |
Table.naturalRightOuterJoin(String sql,
Object... bindings)
NATURAL RIGHT OUTER JOIN a table to this table. |
Table<Record> |
Table.naturalRightOuterJoin(TableLike<?> table)
NATURAL RIGHT OUTER JOIN a table to this table. |
Table<Record> |
DivideByReturningStep.returning(Collection<? extends Field<?>> fields)
Specify the fields that you want the division to return from the dividend |
Table<Record> |
DivideByReturningStep.returning(Field<?>... fields)
Specify the fields that you want the division to return from the dividend |
Table<Record> |
TableOnStep.using(Collection<? extends Field<?>> fields)
Join the table with the USING(column [, column...]) |
Table<Record> |
TableOnStep.using(Field<?>... fields)
Join the table with the USING(column [, column...]) |
Methods in org.jooq that return types with arguments of type Table | |
---|---|
List<Table<?>> |
Schema.getTables()
List all tables contained in this schema |
Methods in org.jooq with parameters of type Table | ||
---|---|---|
void |
SchemaMapping.add(Table<?> inputTable,
String outputTable)
Deprecated. Add tables to this mapping |
|
void |
SchemaMapping.add(Table<?> inputTable,
Table<?> outputTable)
Deprecated. Add tables to this mapping |
|
void |
SchemaMapping.add(Table<?> inputTable,
Table<?> outputTable)
Deprecated. Add tables to this mapping |
|
|
FactoryOperations.delete(Table<R> table)
Create a new DSL delete statement. |
|
|
FactoryOperations.deleteQuery(Table<R> table)
Create a new DeleteQuery |
|
DivideByOnStep |
Table.divideBy(Table<?> divisor)
Create a new TABLE reference from this table, applying
relational division. |
|
|
FactoryOperations.executeDelete(Table<R> table)
Delete records from a table DELETE FROM [table] |
|
|
FactoryOperations.executeDelete(Table<R> table,
Condition condition)
Delete records from a table DELETE FROM [table] WHERE [condition] |
|
|
FactoryOperations.executeDeleteOne(Table<R> table)
Delete one record in a table DELETE FROM [table] |
|
|
FactoryOperations.executeDeleteOne(Table<R> table,
Condition condition)
Delete one record in a table DELETE FROM [table] WHERE [condition] |
|
|
FactoryOperations.executeInsert(Table<R> table,
R record)
Insert one record INSERT INTO [table] ... |
|
|
FactoryOperations.executeUpdate(Table<R> table,
R record)
Update a table UPDATE [table] SET [modified values in record] |
|
|
FactoryOperations.executeUpdate(Table<R> table,
R record,
Condition condition)
Update a table UPDATE [table] SET [modified values in record] WHERE [condition] |
|
|
FactoryOperations.executeUpdateOne(Table<R> table,
R record)
Update one record in a table UPDATE [table] SET [modified values in record] |
|
|
FactoryOperations.executeUpdateOne(Table<R> table,
R record,
Condition condition)
Update one record in a table UPDATE [table] SET [modified values in record] WHERE [condition] |
|
|
FactoryOperations.fetch(Table<R> table)
Execute and return all records for SELECT * FROM [table] |
|
|
FactoryOperations.fetch(Table<R> table,
Condition condition)
Execute and return all records for SELECT * FROM [table] WHERE [condition] |
|
|
FactoryOperations.fetchAny(Table<R> table)
Execute and return zero or one record for SELECT * FROM [table] LIMIT 1 |
|
|
ResultQuery.fetchInto(Table<Z> table)
Map resulting records onto a custom record. |
|
|
Cursor.fetchInto(Table<Z> table)
Map resulting records onto a custom record. |
|
|
FactoryOperations.fetchOne(Table<R> table)
Execute and return zero or one record for SELECT * FROM [table] |
|
|
FactoryOperations.fetchOne(Table<R> table,
Condition condition)
Execute and return zero or one record for SELECT * FROM [table] WHERE [condition] |
|
|
Cursor.fetchOneInto(Table<Z> table)
Map the next resulting record onto a custom record. |
|
|
UpdatableTable.getReferencesFrom(Table<O> other)
Get a list of FOREIGN KEY 's of a specific table, referencing
a this table. |
|
|
Table.getReferencesTo(Table<O> other)
Get a list of FOREIGN KEY 's of this table, referencing a
specific table. |
|
|
FactoryOperations.insertInto(Table<R> into)
Create a new DSL insert statement. |
|
|
FactoryOperations.insertInto(Table<R> into,
Collection<? extends Field<?>> fields)
Create a new DSL insert statement. |
|
|
FactoryOperations.insertInto(Table<R> into,
Field<?>... fields)
Create a new DSL insert statement. |
|
|
FactoryOperations.insertInto(Table<R> into,
Select<?> select)
Deprecated. - 2.0.3 - Use any of these methods instead: |
|
|
FactoryOperations.insertQuery(Table<R> into)
Create a new InsertQuery |
|
|
Record.into(Table<R> table)
Map resulting records onto a custom record type. |
|
|
Result.into(Table<Z> table)
Map resulting records onto a custom record. |
|
|
FactoryOperations.loadInto(Table<R> table)
Create a new Loader object to load data from a CSV or XML
source |
|
Table<?> |
SchemaMapping.map(Table<?> table)
Deprecated. Apply mapping to a given table |
|
|
FactoryOperations.mergeInto(Table<R> table)
Create a new DSL merge statement. |
|
|
FactoryOperations.newRecord(Table<R> table)
Create a new Record that can be inserted into the corresponding
table. |
|
|
FactoryOperations.newRecord(Table<R> table,
Object source)
Create a new pre-filled Record that can be inserted into the
corresponding table. |
|
SimpleSelectForUpdateWaitStep<R> |
SimpleSelectForUpdateOfStep.of(Table<?>... tables)
Add an OF clause to the FOR UPDATE clause at
the end of the query. |
|
SelectForUpdateWaitStep |
SelectForUpdateOfStep.of(Table<?>... tables)
Add an OF clause to the FOR UPDATE clause at
the end of the query. |
|
|
FactoryOperations.selectFrom(Table<R> table)
Create a new DSL select statement Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
|
|
void |
LockProvider.setForUpdateOf(Table<?>... tables)
Some RDBMS allow for specifying the tables that should be locked by the FOR UPDATE clause, instead of the full row. |
|
|
FactoryOperations.truncate(Table<R> table)
Create a new DSL truncate statement. |
|
|
FactoryOperations.update(Table<R> table)
Create a new DSL update statement. |
|
|
FactoryOperations.updateQuery(Table<R> table)
Create a new UpdateQuery |
Uses of Table in org.jooq.impl |
---|
Classes in org.jooq.impl that implement Table | |
---|---|
class |
CustomTable<R extends TableRecord<R>>
A base class for custom Table implementations in client code. |
class |
TableImpl<R extends Record>
A common base type for tables This type is for JOOQ INTERNAL USE only. |
class |
UpdatableTableImpl<R extends Record>
A table implementation for a table holding a primary key This type is for JOOQ INTERNAL USE only. |
Methods in org.jooq.impl that return Table | ||
---|---|---|
Table<R> |
TableImpl.as(String as)
Subclasses may override this method to provide custom aliasing implementations Get an aliased QueryPart. |
|
Table<R> |
TableRecordImpl.getTable()
|
|
Table<R> |
CustomRecord.getTable()
|
|
Table<?> |
SchemaImpl.getTable(String name)
|
|
static Table<?> |
Factory.table(ArrayRecord<?> array)
A synonym for Factory.unnest(ArrayRecord) |
|
static Table<?> |
Factory.table(Field<?> cursor)
A synonym for Factory.unnest(Field) |
|
static Table<?> |
Factory.table(List<?> list)
A synonym for Factory.unnest(List) |
|
static Table<?> |
Factory.table(Object[] array)
A synonym for Factory.unnest(Object[]) |
|
static
|
Factory.table(Select<R> select)
A synonym for TableLike.asTable() . |
|
static Table<Record> |
Factory.table(String sql)
A PlainSQLTable is a table that can contain user-defined plain SQL, because sometimes it is easier to express things directly in SQL, for instance complex, but static subqueries or tables from different schemas. |
|
static Table<Record> |
Factory.table(String sql,
Object... bindings)
A PlainSQLTable is a table that can contain user-defined plain SQL, because sometimes it is easier to express things directly in SQL, for instance complex, but static subqueries or tables from different schemas. |
|
static Table<?> |
Factory.unnest(ArrayRecord<?> array)
Create a table from an array of values This wraps the argument array in a TABLE function for
Oracle. |
|
static Table<?> |
Factory.unnest(Field<?> cursor)
Create a table from a field. |
|
static Table<?> |
Factory.unnest(List<?> list)
Create a table from a list of values This is equivalent to the TABLE function for H2, or the
UNNEST function in HSQLDB and Postgres
For Oracle, use Factory.table(ArrayRecord) instead, as Oracle knows only
typed arrays
In all other dialects, unnesting of arrays is simulated using several
UNION ALL connected subqueries. |
|
static Table<?> |
Factory.unnest(Object[] array)
Create a table from an array of values This is equivalent to the TABLE function for H2, or the
UNNEST function in HSQLDB and Postgres
For Oracle, use Factory.table(ArrayRecord) instead, as Oracle knows only
typed arrays
In all other dialects, unnesting of arrays is simulated using several
UNION ALL connected subqueries. |
Methods in org.jooq.impl that return types with arguments of type Table | |
---|---|
List<Table<?>> |
SchemaImpl.getTables()
List all tables contained in this schema |
Methods in org.jooq.impl with parameters of type Table | ||
---|---|---|
protected static
|
AbstractKeys.createForeignKey(UniqueKey<U> key,
Table<R> table,
TableField<R,?>... fields)
Factory method for foreign keys |
|
protected static
|
AbstractKeys.createIdentity(Table<R> table,
TableField<R,T> field)
Factory method for identities |
|
protected static
|
AbstractKeys.createUniqueKey(Table<R> table,
TableField<R,?>... fields)
Factory method for unique keys |
|
|
Factory.delete(Table<R> table)
Create a new DSL delete statement. |
|
|
Factory.deleteQuery(Table<R> table)
Create a new DeleteQuery |
|
|
Factory.executeDelete(Table<R> table)
Delete records from a table DELETE FROM [table] |
|
|
Factory.executeDelete(Table<R> table,
Condition condition)
Delete records from a table DELETE FROM [table] WHERE [condition] |
|
|
Factory.executeDeleteOne(Table<R> table)
Delete one record in a table DELETE FROM [table] |
|
|
Factory.executeDeleteOne(Table<R> table,
Condition condition)
Delete one record in a table DELETE FROM [table] WHERE [condition] |
|
|
Factory.executeInsert(Table<R> table,
R record)
Insert one record INSERT INTO [table] ... |
|
|
Factory.executeUpdate(Table<R> table,
R record)
Update a table UPDATE [table] SET [modified values in record] |
|
|
Factory.executeUpdate(Table<R> table,
R record,
Condition condition)
Update a table UPDATE [table] SET [modified values in record] WHERE [condition] |
|
|
Factory.executeUpdateOne(Table<R> table,
R record)
Update one record in a table UPDATE [table] SET [modified values in record] |
|
|
Factory.executeUpdateOne(Table<R> table,
R record,
Condition condition)
Update one record in a table UPDATE [table] SET [modified values in record] WHERE [condition] |
|
|
Factory.fetch(Table<R> table)
Execute and return all records for SELECT * FROM [table] |
|
|
Factory.fetch(Table<R> table,
Condition condition)
Execute and return all records for SELECT * FROM [table] WHERE [condition] |
|
|
Factory.fetchAny(Table<R> table)
Execute and return zero or one record for SELECT * FROM [table] LIMIT 1 |
|
|
Factory.fetchOne(Table<R> table)
Execute and return zero or one record for SELECT * FROM [table] |
|
|
Factory.fetchOne(Table<R> table,
Condition condition)
Execute and return zero or one record for SELECT * FROM [table] WHERE [condition] |
|
|
UpdatableTableImpl.getReferencesFrom(Table<O> other)
|
|
|
Factory.insertInto(Table<R> into)
Create a new DSL insert statement. |
|
|
Factory.insertInto(Table<R> into,
Collection<? extends Field<?>> fields)
Create a new DSL insert statement. |
|
|
Factory.insertInto(Table<R> into,
Field<?>... fields)
Create a new DSL insert statement. |
|
|
Factory.insertInto(Table<R> into,
Select<?> select)
Deprecated. |
|
|
Factory.insertQuery(Table<R> into)
Create a new InsertQuery |
|
|
Factory.loadInto(Table<R> table)
Create a new Loader object to load data from a CSV or XML
source |
|
|
Factory.mergeInto(Table<R> table)
Create a new DSL merge statement. |
|
|
Factory.newRecord(Table<R> table)
Create a new Record that can be inserted into the corresponding
table. |
|
|
Factory.newRecord(Table<R> table,
Object source)
Create a new pre-filled Record that can be inserted into the
corresponding table. |
|
|
Factory.selectFrom(Table<R> table)
Create a new DSL select statement Example:
SELECT * FROM [table] WHERE [conditions] ORDER BY [ordering] LIMIT [limit clause]
|
|
|
Factory.truncate(Table<R> table)
Create a new DSL truncate statement. |
|
|
Factory.update(Table<R> table)
Create a new DSL update statement. |
|
|
Factory.updateQuery(Table<R> table)
Create a new UpdateQuery |
Constructors in org.jooq.impl with parameters of type Table | |
---|---|
CustomRecord(Table<R> table)
|
|
TableImpl(String name,
Schema schema,
Table<R> aliased)
|
|
TableRecordImpl(Table<R> table)
|
|
UpdatableTableImpl(String name,
Schema schema,
Table<R> aliased)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |