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(java.lang.String alias)
The underlying aliased table representation of this object
|
Table<R> |
asTable(java.lang.String alias,
java.lang.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,
java.lang.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(java.lang.String name)
Get a specific field from this Record.
|
<T> Field<T> |
field(java.lang.String name,
java.lang.Class<T> type)
Get a specific field from this Record and coerce it to
type . |
<T> Field<T> |
field(java.lang.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(java.lang.String name)
Row.field(String)
<T> Field<T> field(java.lang.String name, java.lang.Class<T> type)
type
.Row.field(String, Class)
<T> Field<T> field(java.lang.String name, DataType<T> dataType)
dataType
.Row.field(String, DataType)
Field<?> field(int index)
Row.field(int)
<T> Field<T> field(int index, java.lang.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(java.lang.String alias)
Table.as(String)
@Support Table<R> asTable(java.lang.String alias, java.lang.String... fieldAliases)
Table.as(String, String...)
Copyright © 2015. All Rights Reserved.