Package com.gpudb
Class BulkInserter.InsertException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.gpudb.GPUdbException
-
- com.gpudb.BulkInserter.InsertException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BulkInserter<T>
public static final class BulkInserter.InsertException extends GPUdbException
An exception that occurred during the insertion of records into GPUdb.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.gpudb.GPUdbException
hadConnectionFailure
-
-
Constructor Summary
Constructors Constructor Description InsertException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>getRecords()Gets the list of records that was being inserted when the exception occurred.URLgetURL()Gets the URL that records were being inserted into when the exception occurred, ornullif multiple failover URLs all failed.-
Methods inherited from class com.gpudb.GPUdbException
hadConnectionFailure
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InsertException
public InsertException(String message)
-
-
Method Detail
-
getURL
public URL getURL()
Gets the URL that records were being inserted into when the exception occurred, ornullif multiple failover URLs all failed.- Returns:
- the URL
-
getRecords
public List<?> getRecords()
Gets the list of records that was being inserted when the exception occurred.- Returns:
- the list of records
-
-