R
- The record typepublic interface UDT<R extends UDTRecord<R>> extends QueryPart
Modifier and Type | Method and Description |
---|---|
<T> Field<T> |
field(Field<T> field)
Get a specific field from this UDT.
|
Field<?> |
field(int index)
Get a specific field from this UDT.
|
Field<?> |
field(Name name)
Get a specific field from this UDT.
|
Field<?> |
field(String name)
Get a specific field from this UDT.
|
Field<?>[] |
fields()
Get all fields from this UDT.
|
Field<?>[] |
fields(Field<?>... fields)
Get all fields from this UDT, providing some fields.
|
Field<?>[] |
fields(int... fieldIndexes)
Get all fields from this UDT, providing some field indexes.
|
Field<?>[] |
fields(Name... fieldNames)
Get all fields from this UDT, providing some field names.
|
Field<?>[] |
fields(String... fieldNames)
Get all fields from this UDT, providing some field names.
|
Row |
fieldsRow()
Get this UDT's fields as a
Row |
DataType<R> |
getDataType()
The UDT's data type as known to the database
|
String |
getName()
The name of this UDT
|
Class<R> |
getRecordType() |
Schema |
getSchema()
Get the UDT schema
|
R |
newRecord()
Create a new
Record of this UDT's type. |
<T> Field<T> field(Field<T> field)
Usually, this will return the field itself. However, if this is a row from an aliased UDT, the field will be aliased accordingly.
Row.field(Field)
Field<?> field(String name)
Row.field(String)
Field<?> field(Name name)
Row.field(Name)
Field<?> field(int index)
Row.field(int)
Field<?>[] fields()
Row.fields()
Field<?>[] fields(Field<?>... fields)
Row.fields(Field...)
Field<?>[] fields(String... fieldNames)
Row.fields(String...)
Field<?>[] fields(Name... fieldNames)
Row.fields(Name...)
Field<?>[] fields(int... fieldIndexes)
Row.fields(int...)
Schema getSchema()
String getName()
R newRecord()
Record
of this UDT's type.DSLContext.newRecord(UDT)
Copyright © 2016. All Rights Reserved.