public class LogicalRelation
extends org.apache.spark.sql.catalyst.plans.logical.LeafNode
implements org.apache.spark.sql.catalyst.analysis.MultiInstanceRelation, scala.Product, scala.Serializable
BaseRelation
in to a logical query plan.Constructor and Description |
---|
LogicalRelation(BaseRelation relation) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.catalyst.expressions.AttributeMap<org.apache.spark.sql.catalyst.expressions.AttributeReference> |
attributeMap()
Used to lookup original attribute capitalization
|
boolean |
equals(Object other) |
LogicalRelation |
newInstance() |
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.AttributeReference> |
output() |
BaseRelation |
relation() |
boolean |
sameResult(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan otherPlan) |
String |
simpleString() |
org.apache.spark.sql.catalyst.plans.logical.Statistics |
statistics() |
childrenResolved, cleanArgs, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$Logging$$log__$eq, org$apache$spark$Logging$$log_, resolve, resolve, resolveChildren, resolved, statePrefix
expressions, inputSet, missingInput, org$apache$spark$sql$catalyst$plans$QueryPlan$$transformExpressionDown$1, org$apache$spark$sql$catalyst$plans$QueryPlan$$transformExpressionUp$1, outputSet, printSchema, references, schema, schemaString, transformAllExpressions, transformExpressions, transformExpressionsDown, transformExpressionsUp
apply, argString, asCode, collect, fastEquals, flatMap, foreach, generateTreeString, getNodeNumbered, makeCopy, map, mapChildren, nodeName, numberedTreeString, otherCopyArgs, stringArgs, toString, transform, transformChildrenDown, transformChildrenUp, transformDown, transformUp, treeString, withNewChildren
productArity, productElement, productIterator, productPrefix
initializeIfNecessary, initializeLogging, log_
public LogicalRelation(BaseRelation relation)
public BaseRelation relation()
public scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.AttributeReference> output()
public boolean equals(Object other)
equals
in interface scala.Equals
equals
in class Object
public boolean sameResult(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan otherPlan)
sameResult
in class org.apache.spark.sql.catalyst.plans.logical.LogicalPlan
public org.apache.spark.sql.catalyst.plans.logical.Statistics statistics()
statistics
in class org.apache.spark.sql.catalyst.plans.logical.LogicalPlan
public org.apache.spark.sql.catalyst.expressions.AttributeMap<org.apache.spark.sql.catalyst.expressions.AttributeReference> attributeMap()
public LogicalRelation newInstance()
newInstance
in interface org.apache.spark.sql.catalyst.analysis.MultiInstanceRelation
public String simpleString()
simpleString
in class org.apache.spark.sql.catalyst.plans.QueryPlan<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan>