java.lang.Object
java.lang.Throwable
java.lang.Exception
com.gpudb.GPUdbException
com.gpudb.GPUdbBase.SubmitException
All Implemented Interfaces:
Enclosing class:
An exception that occurred during the submission of a request to GPUdb.
See Also:
Field Summary
Fields inherited from class com.gpudb.GPUdbException
hadConnectionFailureMethod Summary
Modifier and TypeMethodDescriptionGets the payload used inGPUdbBase.insertRecordsFromJson(com.gpudb.GPUdbBase.InsertRecordsJsonRequest, com.gpudb.GPUdbBase.JsonOptions)requests.org.apache.avro.generic.IndexedRecordGets the failed request.intGets the size in bytes of the encoded failed request, or -1 if the request was not yet encoded at the time of failure.getURL()Gets the URL that the failed request was submitted to, ornullif multiple failover URLs all failed.Methods inherited from class com.gpudb.GPUdbException
hadConnectionFailureMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Method Details
getRequest
public org.apache.avro.generic.IndexedRecord getRequest()Gets the failed request.Returns:the requestgetPayload
Gets the payload used inGPUdbBase.insertRecordsFromJson(com.gpudb.GPUdbBase.InsertRecordsJsonRequest, com.gpudb.GPUdbBase.JsonOptions)requests.Returns:the JSON payloadgetRequestSize
public int getRequestSize()Gets the size in bytes of the encoded failed request, or -1 if the request was not yet encoded at the time of failure.Returns:the size of the encoded request