- All Implemented Interfaces:
Serializable,Iterable<T>,Collection<T>,List<T>,ArrayRecord<T>,Attachable,Formattable
This type is for JOOQ INTERNAL USE only. Do not reference directly
- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedArrayRecordImpl(Schema schema, String name, DataType<T> type)Create an empty array recordprotectedArrayRecordImpl(Schema schema, String name, DataType<X> type, Binding<X,Y> binding)Create an empty array recordprotectedCreate an empty array recordprotectedArrayRecordImpl(Schema schema, String name, DataType<X> type, Converter<Y,T> converter, Binding<X,Y> binding)Create an empty array recordprotectedCreate an empty array recordprotectedCreate an empty array recordprotectedArrayRecordImpl(Schema schema, Package pkg, String name, DataType<X> type, Converter<X,T> converter)Create an empty array recordprotectedArrayRecordImpl(Schema schema, Package pkg, String name, DataType<X> type, Converter<Y,T> converter, Binding<X,Y> binding)Create an empty array record -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> c)booleanaddAll(Collection<? extends T> c)voidattach(Configuration c)Attach this object to a newConfiguration.voidclear()booleanbooleancontainsAll(Collection<?> c)protected DSLContextcreate()Deprecated.voiddetach()Detach this object from its currentConfiguration.booleanformat()Get a simple formatted representation of this result.format(int maxRecords)Get a simple formatted representation of this result.voidformat(OutputStream stream)LikeFormattable.format(), but the data is output onto anOutputStream.voidformat(OutputStream stream, int maxRecords)LikeFormattable.format(int), but the data is output onto anOutputStream.voidformat(OutputStream stream, TXTFormat format)LikeFormattable.format(TXTFormat), but the data is output onto anOutputStream.voidLikeFormattable.format(), but the data is output onto aWriter.voidLikeFormattable.format(int), but the data is output onto aWriter.voidLikeFormattable.format(TXTFormat), but the data is output onto aWriter.Get a simple formatted representation of this result.voidformatChart(OutputStream stream)LikeFormattable.formatChart(), but the data is output onto anOutputStream.voidformatChart(OutputStream stream, ChartFormat format)LikeFormattable.formatChart(ChartFormat), but the data is output onto anOutputStream.voidformatChart(Writer writer)LikeFormattable.formatChart(), but the data is output onto aWriter.voidformatChart(Writer writer, ChartFormat format)LikeFormattable.formatChart(ChartFormat), but the data is output onto aWriter.formatChart(ChartFormat format)Get a simple formatted representation of this result as CSV.formatCSV(boolean header)Get a simple formatted representation of this result as CSV.formatCSV(boolean header, char delimiter)Get a simple formatted representation of this result as CSV.Get a simple formatted representation of this result as CSV.formatCSV(char delimiter)Get a simple formatted representation of this result as CSV.Get a simple formatted representation of this result as CSV.voidformatCSV(OutputStream stream)LikeFormattable.formatCSV(), but the data is output onto anOutputStream.voidformatCSV(OutputStream stream, boolean header)LikeFormattable.formatCSV(boolean), but the data is output onto anOutputStream.voidformatCSV(OutputStream stream, boolean header, char delimiter)LikeFormattable.formatCSV(boolean, char), but the data is output onto anOutputStream.voidformatCSV(OutputStream stream, boolean header, char delimiter, String nullString)LikeFormattable.formatCSV(boolean, char, String), but the data is output onto anOutputStream.voidformatCSV(OutputStream stream, char delimiter)LikeFormattable.formatCSV(char), but the data is output onto anOutputStream.voidformatCSV(OutputStream stream, char delimiter, String nullString)LikeFormattable.formatCSV(char, String), but the data is output onto anOutputStream.voidformatCSV(OutputStream stream, CSVFormat format)LikeFormattable.formatCSV(CSVFormat), but the data is output onto anOutputStream.voidLikeFormattable.formatCSV(), but the data is output onto aWriter.voidLikeFormattable.formatCSV(boolean), but the data is output onto aWriter.voidLikeFormattable.formatCSV(boolean, char), but the data is output onto aWriter.voidLikeFormattable.formatCSV(boolean, char, String), but the data is output onto aWriter.voidLikeFormattable.formatCSV(char), but the data is output onto aWriter.voidLikeFormattable.formatCSV(char, String), but the data is output onto aWriter.voidLikeFormattable.formatCSV(CSVFormat), but the data is output onto aWriter.Get a simple formatted representation of this result as CSV.Get a simple formatted representation of this result as HTML.voidformatHTML(OutputStream stream)LikeFormattable.formatHTML(), but the data is output onto anOutputStream.voidformatHTML(Writer writer)LikeFormattable.formatHTML(), but the data is output onto aWriter.Get this result as a set ofINSERTstatements.voidformatInsert(OutputStream stream)LikeFormattable.formatInsert(), but the data is output onto anOutputStream.voidformatInsert(OutputStream stream, Table<?> table, Field<?>... f)LikeFormattable.formatInsert(Table, Field...), but the data is output onto anOutputStream.voidformatInsert(Writer writer)LikeFormattable.formatInsert(), but the data is output onto aWriter.voidformatInsert(Writer writer, Table<?> table, Field<?>... fields)LikeFormattable.formatInsert(Table, Field...), but the data is output onto anWriter.formatInsert(Table<?> table, Field<?>... f)Get this result as a set ofINSERTstatements.Get a simple formatted representation of this result as a JSON array of array.voidformatJSON(OutputStream stream)LikeFormattable.formatJSON(), but the data is output onto anOutputStream.voidformatJSON(OutputStream stream, JSONFormat format)LikeFormattable.formatJSON(JSONFormat), but the data is output onto anOutputStream.voidformatJSON(Writer writer)LikeFormattable.formatJSON(), but the data is output onto aWriter.voidformatJSON(Writer writer, JSONFormat format)LikeFormattable.formatJSON(JSONFormat), but the data is output onto aWriter.formatJSON(JSONFormat format)Get a simple formatted representation of this result as a JSON data structure, according to the format.Get this result formatted as XML.voidformatXML(OutputStream stream)LikeFormattable.formatXML(), but the data is output onto anOutputStream.voidformatXML(OutputStream stream, XMLFormat format)LikeFormattable.formatXML(XMLFormat), but the data is output onto anOutputStream.voidLikeFormattable.formatXML(), but the data is output onto aWriter.voidLikeFormattable.formatXML(XMLFormat), but the data is output onto aWriter.Get this result formatted as XML.T[]get()Deprecated.get(int index)DataType<?>Get the data type of the array.Get the record type's catalog.Get the data type of the array's base type.getList()Deprecated.getName()Get the unqualified name of the array type.Get the UDT package.Get the record type's schema.inthashCode()intintoXML()Get this result as XML.<H extends ContentHandler>
HintoXML(H handler)Get this result as XML using a SAXContentHandler.<H extends ContentHandler>
HGet this result as XML using a SAXContentHandler.Get this result as XML.booleanisEmpty()booleanWhether this data type can be used from SQL statements.iterator()intlastIndexOf(Object o)listIterator(int index)remove(int index)booleanbooleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)voidset(Collection<? extends T> collection)Deprecated.voidDeprecated.intsize()subList(int fromIndex, int toIndex)Object[]toArray()<Z> Z[]toArray(Z[] a)toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.Attachable
attach, configuration, detachMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
ArrayRecordImpl
Create an empty array record -
ArrayRecordImpl
Create an empty array record -
ArrayRecordImpl
Create an empty array record -
ArrayRecordImpl
protected ArrayRecordImpl(Schema schema, Package pkg, String name, DataType<X> type, Converter<X,T> converter)Create an empty array record -
ArrayRecordImpl
Create an empty array record -
ArrayRecordImpl
protected ArrayRecordImpl(Schema schema, Package pkg, String name, DataType<X> type, Binding<X,Y> binding)Create an empty array record -
ArrayRecordImpl
protected ArrayRecordImpl(Schema schema, String name, DataType<X> type, Converter<Y,T> converter, Binding<X,Y> binding)Create an empty array record -
ArrayRecordImpl
protected ArrayRecordImpl(Schema schema, Package pkg, String name, DataType<X> type, Converter<Y,T> converter, Binding<X,Y> binding)Create an empty array record
-
-
Method Details
-
get
Deprecated.Description copied from interface:ArrayRecordGet the contained array.- Specified by:
getin interfaceArrayRecord<T>
-
getList
Deprecated.Description copied from interface:ArrayRecordGet the contained array as aList.- Specified by:
getListin interfaceArrayRecord<T>
-
set
Deprecated.Description copied from interface:ArrayRecordSet the contained array.- Specified by:
setin interfaceArrayRecord<T>
-
set
Deprecated.Description copied from interface:ArrayRecordSet the contained array as aList.- Specified by:
setin interfaceArrayRecord<T>
-
getCatalog
Description copied from interface:ArrayRecordGet the record type's catalog.- Specified by:
getCatalogin interfaceArrayRecord<T>
-
getSchema
Description copied from interface:ArrayRecordGet the record type's schema.- Specified by:
getSchemain interfaceArrayRecord<T>
-
getPackage
Description copied from interface:ArrayRecordGet the UDT package.- Specified by:
getPackagein interfaceArrayRecord<T>
-
isSQLUsable
public final boolean isSQLUsable()Description copied from interface:ArrayRecordWhether this data type can be used from SQL statements.- Specified by:
isSQLUsablein interfaceArrayRecord<T>
-
getName
Description copied from interface:ArrayRecordGet the unqualified name of the array type.- Specified by:
getNamein interfaceArrayRecord<T>
-
getDataType
Description copied from interface:ArrayRecordGet the data type of the array's base type.- Specified by:
getDataTypein interfaceArrayRecord<T>
-
getArrayType
Description copied from interface:ArrayRecordGet the data type of the array.- Specified by:
getArrayTypein interfaceArrayRecord<T>
-
toString
-
size
public final int size() -
isEmpty
public final boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public final <Z> Z[] toArray(Z[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public final void clear() -
equals
-
hashCode
public final int hashCode() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
subList
-
format
Description copied from interface:FormattableLikeFormattable.format(TXTFormat), but the data is output onto aWriter.- Specified by:
formatin interfaceFormattable
-
formatHTML
Description copied from interface:FormattableLikeFormattable.formatHTML(), but the data is output onto aWriter.- Specified by:
formatHTMLin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(CSVFormat), but the data is output onto aWriter.- Specified by:
formatCSVin interfaceFormattable
-
formatJSON
Description copied from interface:FormattableLikeFormattable.formatJSON(JSONFormat), but the data is output onto aWriter.- Specified by:
formatJSONin interfaceFormattable
-
formatXML
Description copied from interface:FormattableLikeFormattable.formatXML(XMLFormat), but the data is output onto aWriter.- Specified by:
formatXMLin interfaceFormattable
-
formatChart
Description copied from interface:FormattableLikeFormattable.formatChart(ChartFormat), but the data is output onto aWriter.- Specified by:
formatChartin interfaceFormattable
-
formatInsert
Description copied from interface:FormattableLikeFormattable.formatInsert(), but the data is output onto aWriter.- Specified by:
formatInsertin interfaceFormattable
-
formatInsert
Description copied from interface:FormattableLikeFormattable.formatInsert(Table, Field...), but the data is output onto anWriter.- Specified by:
formatInsertin interfaceFormattable
-
intoXML
Description copied from interface:FormattableGet this result as XML.- Specified by:
intoXMLin interfaceFormattable- See Also:
Formattable.formatXML(), http://www.jooq.org/xsd/jooq-export-3.10.0.xsd
-
intoXML
Description copied from interface:FormattableGet this result as XML using a SAXContentHandler.- Specified by:
intoXMLin interfaceFormattable- Parameters:
handler- The custom content handler.- Returns:
- The argument content handler is returned for convenience.
- Throws:
SAXException- See Also:
Formattable.formatXML(), http://www.jooq.org/xsd/jooq-export-3.10.0.xsd
-
attach
Description copied from interface:AttachableAttach this object to a newConfiguration.- Specified by:
attachin interfaceAttachable- Parameters:
c- A configuration ornull, if you wish to detach thisAttachablefrom its previous configuration.
-
detach
public final void detach()Description copied from interface:AttachableDetach this object from its currentConfiguration.This is the same as calling
attach(null).- Specified by:
detachin interfaceAttachable
-
configuration
Description copied from interface:Attachable- Specified by:
configurationin interfaceAttachable
-
create
Deprecated.- 3.11.0 - [#6720] [#6721] - UseAttachable.configuration()andConfiguration.dsl()instead.This method is used in generated code! -
format
Description copied from interface:FormattableGet a simple formatted representation of this result.This is the same as calling
Formattable.format(int)withmaxRows = Integer.MAX_VALUE- Specified by:
formatin interfaceFormattable- Returns:
- The formatted result
-
format
Description copied from interface:FormattableGet a simple formatted representation of this result.- Specified by:
formatin interfaceFormattable- Parameters:
maxRecords- The maximum number of records to include in the formatted result- Returns:
- The formatted result
-
format
Description copied from interface:FormattableGet a simple formatted representation of this result.- Specified by:
formatin interfaceFormattable- Parameters:
format- The formatting information- Returns:
- The formatted result
-
format
Description copied from interface:FormattableLikeFormattable.format(), but the data is output onto anOutputStream.- Specified by:
formatin interfaceFormattable
-
format
Description copied from interface:FormattableLikeFormattable.format(int), but the data is output onto anOutputStream.- Specified by:
formatin interfaceFormattable
-
format
Description copied from interface:FormattableLikeFormattable.format(TXTFormat), but the data is output onto anOutputStream.- Specified by:
formatin interfaceFormattable
-
format
Description copied from interface:FormattableLikeFormattable.format(), but the data is output onto aWriter.- Specified by:
formatin interfaceFormattable
-
format
Description copied from interface:FormattableLikeFormattable.format(int), but the data is output onto aWriter.- Specified by:
formatin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableGet a simple formatted representation of this result as CSV.This is the same as calling
formatCSV(true, ',', "")- Specified by:
formatCSVin interfaceFormattable- Returns:
- The formatted result
-
formatCSV
Description copied from interface:FormattableGet a simple formatted representation of this result as CSV.This is the same as calling
formatCSV(',', "")- Specified by:
formatCSVin interfaceFormattable- Parameters:
header- Whether to emit a CSV header line- Returns:
- The formatted result
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(), but the data is output onto anOutputStream.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(boolean), but the data is output onto anOutputStream.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(), but the data is output onto aWriter.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(boolean), but the data is output onto aWriter.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableGet a simple formatted representation of this result as CSV.This is the same as calling
formatCSV(true, delimiter, "")- Specified by:
formatCSVin interfaceFormattable- Parameters:
delimiter- The delimiter to use between records- Returns:
- The formatted result
-
formatCSV
Description copied from interface:FormattableGet a simple formatted representation of this result as CSV.This is the same as calling
formatCSV(delimiter, "")- Specified by:
formatCSVin interfaceFormattable- Parameters:
header- Whether to emit a CSV header linedelimiter- The delimiter to use between records- Returns:
- The formatted result
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(char), but the data is output onto anOutputStream.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(boolean, char), but the data is output onto anOutputStream.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(char), but the data is output onto aWriter.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(boolean, char), but the data is output onto aWriter.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableGet a simple formatted representation of this result as CSV.This is the same as calling
formatCSV(true, delimiter, nullString)- Specified by:
formatCSVin interfaceFormattable- Parameters:
delimiter- The delimiter to use between recordsnullString- A special string for encodingNULLvalues.- Returns:
- The formatted result
-
formatCSV
Description copied from interface:FormattableGet a simple formatted representation of this result as CSV.- Specified by:
formatCSVin interfaceFormattable- Parameters:
header- Whether to emit a CSV header linedelimiter- The delimiter to use between recordsnullString- A special string for encodingNULLvalues.- Returns:
- The formatted result
-
formatCSV
Description copied from interface:FormattableGet a simple formatted representation of this result as CSV.- Specified by:
formatCSVin interfaceFormattable- Returns:
- The formatted result
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(char, String), but the data is output onto anOutputStream.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
public final void formatCSV(OutputStream stream, boolean header, char delimiter, String nullString)Description copied from interface:FormattableLikeFormattable.formatCSV(boolean, char, String), but the data is output onto anOutputStream.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(CSVFormat), but the data is output onto anOutputStream.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(char, String), but the data is output onto aWriter.- Specified by:
formatCSVin interfaceFormattable
-
formatCSV
Description copied from interface:FormattableLikeFormattable.formatCSV(boolean, char, String), but the data is output onto aWriter.- Specified by:
formatCSVin interfaceFormattable
-
formatJSON
Description copied from interface:FormattableGet a simple formatted representation of this result as a JSON array of array.The format is the following:
{"fields":[{"name":"field-1","type":"type-1"}, {"name":"field-2","type":"type-2"}, ..., {"name":"field-n","type":"type-n"}], "records":[[value-1-1,value-1-2,...,value-1-n], [value-2-1,value-2-2,...,value-2-n]]}- Specified by:
formatJSONin interfaceFormattable- Returns:
- The formatted result
-
formatJSON
Description copied from interface:FormattableGet a simple formatted representation of this result as a JSON data structure, according to the format.- Specified by:
formatJSONin interfaceFormattable- Returns:
- The formatted result
- See Also:
JSONFormat
-
formatJSON
Description copied from interface:FormattableLikeFormattable.formatJSON(), but the data is output onto anOutputStream.- Specified by:
formatJSONin interfaceFormattable
-
formatJSON
Description copied from interface:FormattableLikeFormattable.formatJSON(JSONFormat), but the data is output onto anOutputStream.- Specified by:
formatJSONin interfaceFormattable
-
formatJSON
Description copied from interface:FormattableLikeFormattable.formatJSON(), but the data is output onto aWriter.- Specified by:
formatJSONin interfaceFormattable
-
formatXML
Description copied from interface:FormattableGet this result formatted as XML.- Specified by:
formatXMLin interfaceFormattable- See Also:
- http://www.jooq.org/xsd/jooq-export-3.10.0.xsd
-
formatXML
Description copied from interface:FormattableGet this result formatted as XML.- Specified by:
formatXMLin interfaceFormattable- See Also:
- http://www.jooq.org/xsd/jooq-export-3.10.0.xsd
-
formatXML
Description copied from interface:FormattableLikeFormattable.formatXML(), but the data is output onto anOutputStream.- Specified by:
formatXMLin interfaceFormattable
-
formatXML
Description copied from interface:FormattableLikeFormattable.formatXML(XMLFormat), but the data is output onto anOutputStream.- Specified by:
formatXMLin interfaceFormattable
-
formatXML
Description copied from interface:FormattableLikeFormattable.formatXML(), but the data is output onto aWriter.- Specified by:
formatXMLin interfaceFormattable
-
formatChart
- Specified by:
formatChartin interfaceFormattable
-
formatChart
- Specified by:
formatChartin interfaceFormattable
-
formatChart
Description copied from interface:FormattableLikeFormattable.formatChart(), but the data is output onto anOutputStream.- Specified by:
formatChartin interfaceFormattable
-
formatChart
Description copied from interface:FormattableLikeFormattable.formatChart(ChartFormat), but the data is output onto anOutputStream.- Specified by:
formatChartin interfaceFormattable
-
formatChart
Description copied from interface:FormattableLikeFormattable.formatChart(), but the data is output onto aWriter.- Specified by:
formatChartin interfaceFormattable
-
formatInsert
Description copied from interface:FormattableGet this result as a set ofINSERTstatements.This uses the the first record's
TableRecord.getTable(), if the first record is aTableRecord. Otherwise, this generatesINSERTstatements into an"UNKNOWN_TABLE". In both cases, theFields.fields()are used for column names.- Specified by:
formatInsertin interfaceFormattable
-
formatInsert
Description copied from interface:FormattableLikeFormattable.formatInsert(), but the data is output onto anOutputStream.- Specified by:
formatInsertin interfaceFormattable
-
formatInsert
Description copied from interface:FormattableGet this result as a set ofINSERTstatements.This explicitly specifies the table (and optionally the fields) to insert into. If the
fieldsargument is left empty, theFields.fields()are used, instead.- Specified by:
formatInsertin interfaceFormattable
-
formatInsert
Description copied from interface:FormattableLikeFormattable.formatInsert(Table, Field...), but the data is output onto anOutputStream.- Specified by:
formatInsertin interfaceFormattable
-
formatHTML
Description copied from interface:FormattableGet a simple formatted representation of this result as HTML.The HTML code is formatted as follows:
<table> <thead> <tr> <th>field-1</th> <th>field-2</th> ... <th>field-n</th> </tr> </thead> <tbody> <tr> <th>value-1-1</th> <th>value-1-2</th> ... <th>value-1-n</th> </tr> <tr> <th>value-2-1</th> <th>value-2-2</th> ... <th>value-2-n</th> </tr> ... </tbody> </table>- Specified by:
formatHTMLin interfaceFormattable- Returns:
- The formatted result
-
formatHTML
Description copied from interface:FormattableLikeFormattable.formatHTML(), but the data is output onto anOutputStream.- Specified by:
formatHTMLin interfaceFormattable
-
intoXML
Description copied from interface:FormattableGet this result as XML.- Specified by:
intoXMLin interfaceFormattable- See Also:
Formattable.formatXML(), http://www.jooq.org/xsd/jooq-export-3.10.0.xsd
-
intoXML
Description copied from interface:FormattableGet this result as XML using a SAXContentHandler.- Specified by:
intoXMLin interfaceFormattable- Parameters:
handler- The custom content handler.- Returns:
- The argument content handler is returned for convenience.
- Throws:
SAXException- See Also:
Formattable.formatXML(), http://www.jooq.org/xsd/jooq-export-3.10.0.xsd
-
Attachable.configuration()andConfiguration.dsl()instead.