public class ArrayRecordImpl<T> extends java.lang.Object implements ArrayRecord<T>
This type is for JOOQ INTERNAL USE only. Do not reference directly
Modifier | Constructor and Description |
---|---|
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<T> type)
Create an empty array record
|
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<T> type,
Configuration configuration)
Deprecated.
- 3.4.0 - [#3126] - Use the
ArrayRecordImpl(Schema, String, DataType)
constructor instead |
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<X> type,
Binding<X,Y> binding)
Create an empty array record
|
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<X> type,
Configuration configuration,
Binding<X,Y> binding)
Deprecated.
- 3.4.0 - [#3126] - Use the
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead. |
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<X> type,
Configuration configuration,
Converter<X,T> converter)
Deprecated.
- 3.4.0 - [#3126] - Use the
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead. |
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<X> type,
Configuration configuration,
Converter<Y,T> converter,
Binding<X,Y> binding)
Deprecated.
- 3.4.0 - [#3126] - Use the
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead. |
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<X> type,
Converter<X,T> converter)
Create an empty array record
|
protected |
ArrayRecordImpl(Schema schema,
java.lang.String name,
DataType<X> type,
Converter<Y,T> converter,
Binding<X,Y> binding)
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(java.lang.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.
|
java.util.List<T> |
getList()
Get the contained array as a
List . |
java.lang.String |
getName()
Get the name of the array type.
|
int |
hashCode() |
java.util.Iterator<T> |
iterator() |
void |
set(java.sql.Array array)
Deprecated.
|
void |
set(java.util.Collection<? extends T> collection)
Set the contained array as a
List . |
void |
set(T... array)
Set the contained array.
|
void |
setList(java.util.List<? extends T> list)
Deprecated.
|
int |
size()
This method coincides with
Record.size() and
ArrayRecord.size() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
attach, detach
@Deprecated protected ArrayRecordImpl(Schema schema, java.lang.String name, DataType<T> type, Configuration configuration)
ArrayRecordImpl(Schema, String, DataType)
constructor instead@Deprecated protected ArrayRecordImpl(Schema schema, java.lang.String name, DataType<X> type, Configuration configuration, Converter<X,T> converter)
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead.@Deprecated protected ArrayRecordImpl(Schema schema, java.lang.String name, DataType<X> type, Configuration configuration, Binding<X,Y> binding)
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead.@Deprecated protected ArrayRecordImpl(Schema schema, java.lang.String name, DataType<X> type, Configuration configuration, Converter<Y,T> converter, Binding<X,Y> binding)
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead.protected ArrayRecordImpl(Schema schema, java.lang.String name, DataType<T> type)
protected ArrayRecordImpl(Schema schema, java.lang.String name, DataType<X> type, Converter<X,T> converter)
protected ArrayRecordImpl(Schema schema, java.lang.String name, DataType<X> type, Binding<X,Y> binding)
public final T[] get()
ArrayRecord
get
in interface ArrayRecord<T>
public final java.util.List<T> getList()
ArrayRecord
List
.getList
in interface ArrayRecord<T>
public final void set(T... array)
ArrayRecord
set
in interface ArrayRecord<T>
@Deprecated public final void set(java.sql.Array array) throws java.sql.SQLException
ArrayRecord
set
in interface ArrayRecord<T>
java.sql.SQLException
public final void set(java.util.Collection<? extends T> collection)
ArrayRecord
List
.set
in interface ArrayRecord<T>
@Deprecated public final void setList(java.util.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public final java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<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()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2015. All Rights Reserved.