org.jooq
Interface TableLike<R extends Record>

Type Parameters:
R - The record type
All Superinterfaces:
Adapter, Attachable, QueryPart, Serializable
All Known Subinterfaces:
Select<R>, SelectConditionStep, SelectConnectByConditionStep, SelectConnectByStep, SelectFinalStep, SelectForUpdateOfStep, SelectForUpdateStep, SelectForUpdateWaitStep, SelectFromStep, SelectGroupByStep, SelectHavingConditionStep, SelectHavingStep, SelectJoinStep, SelectLimitStep, SelectOffsetStep, SelectOnConditionStep, SelectOrderByStep, SelectQuery, SelectSelectStep, SelectStartWithStep, SelectWhereStep, SimpleSelectConditionStep<R>, SimpleSelectFinalStep<R>, SimpleSelectForUpdateOfStep<R>, SimpleSelectForUpdateStep<R>, SimpleSelectForUpdateWaitStep<R>, SimpleSelectLimitStep<R>, SimpleSelectOffsetStep<R>, SimpleSelectOrderByStep<R>, SimpleSelectQuery<R>, SimpleSelectWhereStep<R>, Table<R>, TableOnConditionStep, UpdatableTable<R>
All Known Implementing Classes:
CustomTable, TableImpl, UpdatableTableImpl

public interface TableLike<R extends Record>
extends QueryPart

An object that can behave like a table (a table-like object)

Author:
Lukas Eder

Method Summary
 Table<R> 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> 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 ...
 
Methods inherited from interface org.jooq.Attachable
attach
 
Methods inherited from interface org.jooq.Adapter
internalAPI
 

Method Detail

asTable

Table<R> 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 ...


asTable

Table<R> 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 ...



Copyright © 2012. All Rights Reserved.