-
- Type Parameters:
E
- The array element type
- All Superinterfaces:
Attachable
,Collection<E>
,Iterable<E>
,List<E>
,Serializable
- All Known Implementing Classes:
ArrayRecordImpl
@Pro public interface ArrayRecord<E> extends Attachable, List<E>
A "record" that encapsulates an Oracle-style ARRAY (or VARRAY), additionally providing some convenience methods.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description E[]
get()
Deprecated.- 3.7.0 - [#4566] - UseList.toArray()
instead.DataType<?>
getArrayType()
Get the data type of the array.Catalog
getCatalog()
Get the record type's catalog.DataType<E>
getDataType()
Get the data type of the array's base type.List<E>
getList()
Deprecated.- 3.7.0 - [#4566] - ArrayRecord already extendsList
.String
getName()
Get the unqualified name of the array type.Package
getPackage()
Get the UDT package.Schema
getSchema()
Get the record type's schema.boolean
isSQLUsable()
Whether this data type can be used from SQL statements.void
set(E... array)
Deprecated.- 3.7.0 - [#4566] - UseList
methods instead.void
set(Array array)
Deprecated.- 3.4.0 - [#3127] - Do not use this method any more.void
set(Collection<? extends E> list)
Deprecated.- 3.7.0 - [#4566] - UseList
methods instead.void
setList(List<? extends E> list)
Deprecated.- 3.4.0 - [#3128] Useset(Collection)
instead.-
Methods inherited from interface org.jooq.Attachable
attach, configuration, detach
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
get
@Deprecated E[] get()
Deprecated.- 3.7.0 - [#4566] - UseList.toArray()
instead.Get the contained array.
-
getList
@Deprecated List<E> getList()
Deprecated.- 3.7.0 - [#4566] - ArrayRecord already extendsList
. There is no need to call this any more.Get the contained array as aList
.
-
set
@Deprecated void set(Array array) throws SQLException
Deprecated.- 3.4.0 - [#3127] - Do not use this method any more.Set the contained array.- Throws:
SQLException
-
set
@Deprecated void set(E... array)
Deprecated.- 3.7.0 - [#4566] - UseList
methods instead.Set the contained array.
-
set
@Deprecated void set(Collection<? extends E> list)
Deprecated.- 3.7.0 - [#4566] - UseList
methods instead.Set the contained array as aList
.
-
setList
@Deprecated void setList(List<? extends E> list)
Deprecated.- 3.4.0 - [#3128] Useset(Collection)
instead.Set the contained array as aList
.
-
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.
-
getArrayType
DataType<?> getArrayType()
Get the data type of the array.
-
isSQLUsable
boolean isSQLUsable()
Whether this data type can be used from SQL statements.
-
-