Package org.jooq
Interface ArrayRecord<E>
-
- Type Parameters:
E
- The array element type
- All Superinterfaces:
Attachable
,java.util.Collection<E>
,java.lang.Iterable<E>
,java.util.List<E>
,java.io.Serializable
- All Known Implementing Classes:
ArrayRecordImpl
@Pro public interface ArrayRecord<E> extends Attachable, java.util.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.java.util.List<E>
getList()
Deprecated.- 3.7.0 - [#4566] - ArrayRecord already extendsList
.java.lang.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(java.sql.Array array)
Deprecated.- 3.4.0 - [#3127] - Do not use this method any more.void
set(java.util.Collection<? extends E> list)
Deprecated.- 3.7.0 - [#4566] - UseList
methods instead.void
setList(java.util.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.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 java.util.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(java.sql.Array array) throws java.sql.SQLException
Deprecated.- 3.4.0 - [#3127] - Do not use this method any more.Set the contained array.- Throws:
java.sql.SQLException
-
set
@Deprecated void set(E... array)
Deprecated.- 3.7.0 - [#4566] - UseList
methods instead.Set the contained array.
-
set
@Deprecated void set(java.util.Collection<? extends E> list)
Deprecated.- 3.7.0 - [#4566] - UseList
methods instead.Set the contained array as aList
.
-
setList
@Deprecated void setList(java.util.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
java.lang.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.
-
-