Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class LoaderErrorImpl

extends Object
implements LoaderError
Class Inheritance
All Implemented Interfaces
org.jooq.LoaderError
Static Imports
org.jooq.impl.Tools.map

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final DataAccessException
private final Query
private final String[]
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
LoaderErrorImpl(DataAccessException exception, Object[] row, int rowIndex, Query query)

Method Summary

Modifier and TypeMethod and Description
public DataAccessException
exception()

Implements org.jooq.LoaderError.exception.

The underlying DataAccessException that caused the error.
public Query
query()

Implements org.jooq.LoaderError.query.

The query whose execution failed.
public String[]
row()

Implements org.jooq.LoaderError.row.

The row data that caused the error.
public int
rowIndex()

Implements org.jooq.LoaderError.rowIndex.

The processed row index starting with 0 that caused the error.
private static String[]
strings(Object[] row)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

exceptionback to summary
private final DataAccessException exception
queryback to summary
private final Query query
rowback to summary
private final String[] row
rowIndexback to summary
private final int rowIndex

Constructor Detail

LoaderErrorImplback to summary
pack-priv LoaderErrorImpl(DataAccessException exception, Object[] row, int rowIndex, Query query)

Method Detail

exceptionback to summary
public DataAccessException exception()

Implements org.jooq.LoaderError.exception.

Doc from org.jooq.LoaderError.exception.

The underlying DataAccessException that caused the error.

Annotations
@Override
queryback to summary
public Query query()

Implements org.jooq.LoaderError.query.

Doc from org.jooq.LoaderError.query.

The query whose execution failed.

Annotations
@Override
rowback to summary
public String[] row()

Implements org.jooq.LoaderError.row.

Doc from org.jooq.LoaderError.row.

The row data that caused the error.

If queries were executed in batch mode, this will be the last row added to the batch.

Annotations
@Override
rowIndexback to summary
public int rowIndex()

Implements org.jooq.LoaderError.rowIndex.

Doc from org.jooq.LoaderError.rowIndex.

The processed row index starting with 0 that caused the error.

If queries were executed in batch mode, this will be the row index of the last row added to the batch.

Annotations
@Override
stringsback to summary
private static String[] strings(Object[] row)