R - The record typepublic interface TableLike<R extends Record> extends QueryPart
| Modifier and Type | Method and Description | 
|---|---|
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 
 | 
Table<R> | 
asTable(String alias,
       String... fieldAliases)
The underlying aliased table representation of this object 
 | 
<T> Field<T> | 
field(Field<T> field)
Get a specific field from this Record. 
 | 
Field<?> | 
field(int index)
Get a specific field from this Record. 
 | 
<T> Field<T> | 
field(int index,
     Class<T> type)
Get a specific field from this Record and coerce it to  
type. | 
<T> Field<T> | 
field(int index,
     DataType<T> dataType)
Get a specific field from this Record and coerce it to
  
dataType. | 
Field<?> | 
field(String name)
Get a specific field from this Record. 
 | 
<T> Field<T> | 
field(String name,
     Class<T> type)
Get a specific field from this Record and coerce it to  
type. | 
<T> Field<T> | 
field(String name,
     DataType<T> dataType)
Get a specific field from this Record and coerce it to
  
dataType. | 
Field<?>[] | 
fields()
Get all fields from this Record. 
 | 
Row | 
fieldsRow()
Get this table's fields as a  
Row | 
<T> Field<T> field(Field<T> field)
Row.field(Field)Field<?> field(String name)
Row.field(String)<T> Field<T> field(String name, Class<T> type)
type.Row.field(String, Class)<T> Field<T> field(String name, DataType<T> dataType)
dataType.Row.field(String, DataType)Field<?> field(int index)
Row.field(int)<T> Field<T> field(int index, Class<T> type)
type.Row.field(int, Class)<T> Field<T> field(int index, DataType<T> dataType)
dataType.Row.field(int, DataType)Field<?>[] fields()
Row.fields()@Support Table<R> asTable()
 This method is useful for things like
 SELECT * FROM (SELECT * FROM x WHERE x.a = '1') WHERE ... 
@Support Table<R> asTable(String alias)
Table.as(String)Copyright © 2015. All Rights Reserved.