Package org.apache.spark
Interface QueryContext
@Evolving
public interface QueryContext
Query context of a
SparkThrowable. It helps users understand where error occur
while executing queries.- Since:
- 3.4.0
-
Method Details
-
contextType
QueryContextType contextType() -
objectType
String objectType() -
objectName
String objectName() -
startIndex
int startIndex()The starting index in the query text which throws the exception. This is a 0-based Unicode code-point offset. -
stopIndex
int stopIndex()The stopping index in the query text which throws the exception. This is a 0-based Unicode code-point offset, inclusive. -
fragment
String fragment() -
callSite
String callSite() -
summary
String summary()
-