- Type Parameters:
E
- The array element type
- All Superinterfaces:
Attachable
,Formattable
,Serializable
- All Known Subinterfaces:
ArrayRecord<E>
,AssociativeArrayRecord<K,
V>
- All Known Implementing Classes:
ArrayRecordImpl
,AssociativeArrayRecordImpl
,DefaultBinding.SdoElemInfoArray
,DefaultBinding.SdoOrdinateArray
@Pro
public sealed interface ArrayOrAssociativeArrayRecord<E>
extends Attachable, Formattable
permits ArrayRecord<E>, AssociativeArrayRecord<K,V>
A "record" that encapsulates an Oracle-style ARRAY (or VARRAY), or an
associative array, additionally providing some convenience methods.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionDataType<?>
Get the data type of the array.Get the record type's catalog.Get the data type of the array's base type.getName()
Get the unqualified name of the array type.Get the UDT package.Get the record type's schema.boolean
Whether this data type can be used from SQL statements.toList()
Get aList
representation of this array.Methods inherited from interface org.jooq.Attachable
attach, configuration, detach
Methods inherited from interface org.jooq.Formattable
format, format, format, format, format, format, format, format, format, formatChart, formatChart, formatChart, formatChart, formatChart, formatChart, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatCSV, formatHTML, formatHTML, formatHTML, formatInsert, formatInsert, formatInsert, formatInsert, formatInsert, formatInsert, formatJSON, formatJSON, formatJSON, formatJSON, formatJSON, formatJSON, formatXML, formatXML, formatXML, formatXML, formatXML, formatXML, intoXML, intoXML, intoXML, intoXML
-
Method Details
-
getCatalog
Catalog getCatalog()Get the record type's catalog. -
getSchema
Schema getSchema()Get the record type's schema. -
getPackage
Package getPackage()Get the UDT package. -
getName
String getName()Get the unqualified name of the array type. -
getDataType
Get the data type of the array's base type. -
getArrayType
DataType<?> getArrayType()Get the data type of the array. -
isSQLUsable
boolean isSQLUsable()Whether this data type can be used from SQL statements. -
toList
Get aList
representation of this array.- If this is an
ArrayRecord
, then this returns itself - If this is an
AssociativeArrayRecord
, then this returns aList
representation ofMap.values()
- If this is an
-