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(java.lang.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(java.lang.String... fieldNames)
Get all fields from this UDT, providing some field names.
|
Row |
fieldsRow()
Get this UDT's fields as a
Row . |
java.util.stream.Stream<Field<?>> |
fieldStream()
Get this table's fields as a
Stream . |
Catalog |
getCatalog()
Get the UDT catalog.
|
DataType<R> |
getDataType()
The UDT's data type as known to the database.
|
java.lang.String |
getName()
The name of this UDT.
|
Package |
getPackage()
Get the UDT package.
|
java.lang.Class<R> |
getRecordType() |
Schema |
getSchema()
Get the UDT schema.
|
boolean |
isSQLUsable()
Whether this data type can be used from SQL statements.
|
boolean |
isSynthetic()
Whether this data type is a synthetic, structural UDT type.
|
R |
newRecord()
Create a new
Record of this UDT's type. |
java.util.stream.Stream<Field<?>> fieldStream()
Stream
.<T> Field<T> field(Field<T> field)
This will return:
null
otherwise.
Row.field(Field)
Field<?> field(java.lang.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(java.lang.String... fieldNames)
Row.fields(String...)
Field<?>[] fields(Name... fieldNames)
Row.fields(Name...)
Field<?>[] fields(int... fieldIndexes)
Row.fields(int...)
Catalog getCatalog()
Schema getSchema()
Package getPackage()
java.lang.String getName()
java.lang.Class<R> getRecordType()
R newRecord()
Record
of this UDT's type.DSLContext.newRecord(UDT)
boolean isSQLUsable()
boolean isSynthetic()
This is true
for example:
TAB%ROWTYPE
references, which are synthetic
PL/SQL RECORD types in PL/SQL.Copyright © 2018. All Rights Reserved.