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
ArrayRecordImpl(Schema, String, DataType)
constructor instead |
protected |
ArrayRecordImpl(Schema schema,
String name,
DataType<X> type,
Binding<X,Y> binding)
Create an empty array record
|
protected |
ArrayRecordImpl(Schema schema,
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,
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,
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,
String name,
DataType<X> type,
Converter<X,T> converter)
Create an empty array record
|
protected |
ArrayRecordImpl(Schema schema,
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 |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
attach(Configuration c)
Attach this object to a new
Configuration . |
void |
clear() |
Configuration |
configuration()
Get the underlying configuration
|
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected DSLContext |
create()
This method is used in generated code!
|
void |
detach()
Detach this object from its current
Configuration . |
boolean |
equals(Object o) |
T[] |
get()
Deprecated.
|
T |
get(int index)
This method coincides with
Record.get(int) and
ArrayRecordImpl.getValue(int) |
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()
Deprecated.
|
String |
getName()
Get the unqualified name of the array type.
|
Schema |
getSchema()
Get the record type's schema.
|
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
set(Array array)
Deprecated.
|
void |
set(Collection<? extends T> collection)
Deprecated.
|
T |
set(int index,
T element) |
void |
set(T... array)
Deprecated.
|
void |
setList(List<? extends T> list)
Deprecated.
|
int |
size()
This method coincides with
Record.size() and
List.size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<Z> Z[] |
toArray(Z[] a) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
attach, detach
replaceAll, sort, spliterator
parallelStream, removeIf, stream
@Deprecated protected ArrayRecordImpl(Schema schema, String name, DataType<T> type, Configuration configuration)
ArrayRecordImpl(Schema, String, DataType)
constructor instead@Deprecated protected ArrayRecordImpl(Schema schema, String name, DataType<X> type, Configuration configuration, Converter<X,T> converter)
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead.@Deprecated protected ArrayRecordImpl(Schema schema, String name, DataType<X> type, Configuration configuration, Binding<X,Y> binding)
ArrayRecordImpl(Schema, String, DataType, Converter)
constructor instead.@Deprecated protected ArrayRecordImpl(Schema schema, 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, String name, DataType<T> type)
protected ArrayRecordImpl(Schema schema, String name, DataType<X> type, Converter<X,T> converter)
protected ArrayRecordImpl(Schema schema, String name, DataType<X> type, Binding<X,Y> binding)
@Deprecated public final T[] get()
ArrayRecord
get
in interface ArrayRecord<T>
@Deprecated public final List<T> getList()
ArrayRecord
List
.getList
in interface ArrayRecord<T>
@Deprecated public final void set(T... array)
ArrayRecord
set
in interface ArrayRecord<T>
@Deprecated public final void set(Array array) throws SQLException
ArrayRecord
set
in interface ArrayRecord<T>
SQLException
@Deprecated public final void set(Collection<? extends T> collection)
ArrayRecord
List
.set
in interface ArrayRecord<T>
@Deprecated public final void setList(List<? extends T> list)
ArrayRecord
List
.setList
in interface ArrayRecord<T>
public final Schema getSchema()
ArrayRecord
getSchema
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 int size()
Record.size()
and
List.size()
public final boolean isEmpty()
public final boolean contains(Object o)
public final Object[] toArray()
public final <Z> Z[] toArray(Z[] a)
public final boolean add(T e)
public final boolean remove(Object o)
public final boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public final boolean addAll(Collection<? extends T> c)
public final boolean addAll(int index, Collection<? extends T> c)
public final boolean removeAll(Collection<?> c)
public final boolean retainAll(Collection<?> c)
public final void clear()
public final boolean equals(Object o)
public final int hashCode()
public final T get(int index)
Record.get(int)
and
ArrayRecordImpl.getValue(int)
public final int lastIndexOf(Object o)
lastIndexOf
in interface List<T>
public final ListIterator<T> listIterator()
listIterator
in interface List<T>
public final ListIterator<T> listIterator(int index)
listIterator
in interface List<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 © 2016. All Rights Reserved.