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!
|
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)
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, wait
attach, detach
forEach, spliterator
protected ArrayRecordImpl(Schema schema, String name, DataType<T> type, Configuration configuration)
public final T[] get()
ArrayRecord
get
in interface ArrayRecord<T>
public final List<T> getList()
ArrayRecord
List
.getList
in interface ArrayRecord<T>
public final void set(T... array)
ArrayRecord
set
in interface ArrayRecord<T>
public final void set(Array array) throws SQLException
ArrayRecord
set
in interface ArrayRecord<T>
SQLException
public final void setList(List<? extends T> list)
ArrayRecord
List
.setList
in interface ArrayRecord<T>
public final int size()
Record.size()
and
ArrayRecord.size()
size
in interface ArrayRecord<T>
public final String getName()
ArrayRecord
getName
in interface ArrayRecord<T>
public final DataType<T> getDataType()
ArrayRecord
getDataType
in interface ArrayRecord<T>
public final DataType<?> getArrayType()
ArrayRecord
getArrayType
in interface ArrayRecord<T>
public final void attach(Configuration c)
Attachable
Configuration
.attach
in interface Attachable
c
- A configuration or null
, if you wish to
detach this Attachable
from its previous
configuration.public final void detach()
Attachable
Configuration
.
This is the same as calling attach(null)
.
detach
in interface Attachable
public final Configuration configuration()
AttachableInternal
configuration
in interface AttachableInternal
protected final DSLContext create()
Copyright © 2014. All Rights Reserved.