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 |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(java.util.Collection<? extends T> c) |
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
void |
attach(Configuration c)
Attach this object to a new
Configuration . |
void |
clear() |
Configuration |
configuration()
|
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
protected DSLContext |
create()
This method is used in generated code!
|
void |
detach()
Detach this object from its current
Configuration . |
boolean |
equals(java.lang.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.
|
Catalog |
getCatalog()
Get the record type's catalog.
|
DataType<T> |
getDataType()
Get the data type of the array's base type.
|
java.util.List<T> |
getList()
Deprecated.
|
java.lang.String |
getName()
Get the unqualified name of the array type.
|
Schema |
getSchema()
Get the record type's schema.
|
int |
hashCode() |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
void |
set(java.sql.Array array)
Deprecated.
|
void |
set(java.util.Collection<? extends T> collection)
Deprecated.
|
T |
set(int index,
T element) |
void |
set(T... array)
Deprecated.
|
void |
setList(java.util.List<? extends T> list)
Deprecated.
|
int |
size()
This method coincides with
Record.size() and
List.size() |
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<Z> Z[] |
toArray(Z[] a) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
attach, configuration, 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)
@Deprecated public final T[] get()
ArrayRecord
get
in interface ArrayRecord<T>
@Deprecated public final java.util.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(java.sql.Array array) throws java.sql.SQLException
ArrayRecord
set
in interface ArrayRecord<T>
java.sql.SQLException
@Deprecated 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 Catalog getCatalog()
ArrayRecord
getCatalog
in interface ArrayRecord<T>
public final Schema getSchema()
ArrayRecord
getSchema
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 int size()
Record.size()
and
List.size()
public final boolean isEmpty()
public final boolean contains(java.lang.Object o)
public final java.util.Iterator<T> iterator()
public final java.lang.Object[] toArray()
public final <Z> Z[] toArray(Z[] a)
public final boolean add(T e)
public final boolean remove(java.lang.Object o)
public final boolean containsAll(java.util.Collection<?> c)
public final boolean addAll(java.util.Collection<? extends T> c)
public final boolean addAll(int index, java.util.Collection<? extends T> c)
addAll
in interface java.util.List<T>
public final boolean removeAll(java.util.Collection<?> c)
public final boolean retainAll(java.util.Collection<?> c)
public final void clear()
public final boolean equals(java.lang.Object o)
public final int hashCode()
public final T get(int index)
Record.get(int)
and
ArrayRecordImpl.getValue(int)
get
in interface java.util.List<T>
public final int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<T>
public final int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<T>
public final java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T>
public final java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T>
public final java.util.List<T> subList(int fromIndex, int toIndex)
subList
in interface java.util.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()
Attachable
configuration
in interface Attachable
protected final DSLContext create()
Copyright © 2018. All Rights Reserved.