Class QueryOrigin
- All Implemented Interfaces:
- Serializable,- scala.Equals,- scala.Product
param: language The language used by the user to define the query. param: filePath Path to the file of the user code that defines the query. param: sqlText The SQL text of the query. param: line The line number of the query in the user code. Line numbers are 1-indexed. param: startPosition The start position of the query in the user code. param: objectType The type of the object that the query is associated with. (Table, View, etc) param: objectName The name of the object that the query is associated with.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic QueryOriginempty()An empty QueryOrigin without any provenance information.scala.Option<String>filePath()static scala.Option<QueryOrigin>Returns theQueryOriginstored as a suppressed exception in the given throwable.scala.Option<Language>language()scala.Option<Object>line()static org.apache.spark.internal.Logging.LogStringContextLogStringContext(scala.StringContext sc) merge(org.apache.spark.sql.catalyst.trees.Origin other) Merge values from the catalyst origin.merge(QueryOrigin other) Merges this origin with another one.scala.Option<String>scala.Option<String>static org.slf4j.Loggerstatic voidorg$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) scala.Option<String>sqlText()scala.Option<Object>Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
QueryOrigin
 
- 
- 
Method Details- 
emptyAn empty QueryOrigin without any provenance information.
- 
getOriginReturns theQueryOriginstored as a suppressed exception in the given throwable.- Parameters:
- t- (undocumented)
- Returns:
- Some(origin) if the origin is recorded as part of the given throwable, Noneotherwise.
 
- 
org$apache$spark$internal$Logging$$log_public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_()
- 
org$apache$spark$internal$Logging$$log__$eqpublic static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) 
- 
LogStringContextpublic static org.apache.spark.internal.Logging.LogStringContext LogStringContext(scala.StringContext sc) 
- 
language
- 
filePath
- 
sqlText
- 
line
- 
startPosition
- 
objectType
- 
objectName
- 
mergeMerges this origin with another one.The result has fields set to the value in the other origin if it is defined, or if not, then the value in this origin. - Parameters:
- other- (undocumented)
- Returns:
- (undocumented)
 
- 
mergeMerge values from the catalyst origin.The result has fields set to the value in the other origin if it is defined, or if not, then the value in this origin. - Parameters:
- other- (undocumented)
- Returns:
- (undocumented)
 
 
-