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)
Create an empty array record
|
| 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!
|
boolean |
equals(Object obj) |
T[] |
get()
Get the contained array
|
DataType<T> |
getDataType()
Get the data type of the array 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)
Set the contained array
|
void |
set(T... array)
Set the contained array
|
void |
setList(List<? extends T> list)
Set the contained array as a
List |
int |
size()
This method coincides with
Record.size() and
ArrayRecord.size() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitattachprotected ArrayRecordImpl(Schema schema, String name, DataType<T> type, Configuration configuration)
public final T[] get()
ArrayRecordget in interface ArrayRecord<T>public final List<T> getList()
ArrayRecordListgetList in interface ArrayRecord<T>public final void set(T... array)
ArrayRecordset in interface ArrayRecord<T>public final void set(Array array) throws SQLException
ArrayRecordset in interface ArrayRecord<T>SQLExceptionpublic final void setList(List<? extends T> list)
ArrayRecordListsetList 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 void attach(Configuration c)
AttachableConfigurationattach in interface Attachablec - A configuration or null, if you wish to
detach this Attachable from its previous
configuration.public final Configuration configuration()
AttachableInternalconfiguration in interface AttachableInternalprotected final DSLContext create()
Copyright © 2013. All Rights Reserved.