public class ArrayRecordImpl<T> extends Object implements ArrayRecord<T>
This type is for JOOQ INTERNAL USE only. Do not reference directly
| Modifier | Constructor and Description |
|---|---|
protected |
ArrayRecordImpl(Schema schema,
String name,
DataType<T> type)
Create an empty array record
|
protected |
ArrayRecordImpl(Schema schema,
String name,
DataType<T> type,
Configuration configuration)
Deprecated.
- 3.4.0 - [#3126] - Use the
|
| Modifier and Type | Method and Description |
|---|---|
void |
attach(Configuration c)
Attach this object to a new
Configuration. |
Configuration |
configuration()
Get the underlying configuration
|
protected DSLContext |
create()
This method is used in generated code!
|
void |
detach()
Detach this object from its current
Configuration. |
boolean |
equals(Object obj) |
T[] |
get()
Get the contained array.
|
DataType<?> |
getArrayType()
Get the data type of the array.
|
DataType<T> |
getDataType()
Get the data type of the array's base type.
|
List<T> |
getList()
Get the contained array as a
List. |
String |
getName()
Get the name of the array type.
|
int |
hashCode() |
Iterator<T> |
iterator() |
void |
set(Array array)
Deprecated.
|
void |
set(Collection<? extends T> collection)
Set the contained array as a
List. |
void |
set(T... array)
Set the contained array.
|
void |
setList(List<? extends T> list)
Deprecated.
|
int |
size()
This method coincides with
Record.size() and
ArrayRecord.size() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitattach, detachforEach, spliterator@Deprecated protected ArrayRecordImpl(Schema schema, String name, DataType<T> type, Configuration configuration)
public final T[] get()
ArrayRecordget in interface ArrayRecord<T>public final List<T> getList()
ArrayRecordList.getList in interface ArrayRecord<T>public final void set(T... array)
ArrayRecordset in interface ArrayRecord<T>@Deprecated public final void set(Array array) throws SQLException
ArrayRecordset in interface ArrayRecord<T>SQLExceptionpublic final void set(Collection<? extends T> collection)
ArrayRecordList.set in interface ArrayRecord<T>@Deprecated public final void setList(List<? extends T> list)
ArrayRecordList.setList in interface ArrayRecord<T>public final int size()
Record.size() and
ArrayRecord.size()size in interface ArrayRecord<T>public final String getName()
ArrayRecordgetName in interface ArrayRecord<T>public final DataType<T> getDataType()
ArrayRecordgetDataType in interface ArrayRecord<T>public final DataType<?> getArrayType()
ArrayRecordgetArrayType in interface ArrayRecord<T>public final void attach(Configuration c)
AttachableConfiguration.attach in interface Attachablec - A configuration or null, if you wish to
detach this Attachable from its previous
configuration.public final void detach()
AttachableConfiguration.
This is the same as calling attach(null).
detach in interface Attachablepublic final Configuration configuration()
AttachableInternalconfiguration in interface AttachableInternalprotected final DSLContext create()
Copyright © 2015. All Rights Reserved.