Packages

object DataSourceUtils extends PredicateHelper

Linear Supertypes
PredicateHelper, Logging, AliasHelper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataSourceUtils
  2. PredicateHelper
  3. Logging
  4. AliasHelper
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val PARTITIONING_COLUMNS_KEY: String

    The key to use for storing partitionBy columns as options.

  5. val PARTITION_OVERWRITE_MODE: String

    The key to use for specifying partition overwrite mode when INSERT OVERWRITE a partitioned data source table.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buildBalancedPredicate(expressions: Seq[Expression], op: (Expression, Expression) => Expression): Expression
    Attributes
    protected
    Definition Classes
    PredicateHelper
  8. def canEvaluate(expr: Expression, plan: LogicalPlan): Boolean
    Attributes
    protected
    Definition Classes
    PredicateHelper
  9. def canEvaluateWithinJoin(expr: Expression): Boolean
    Attributes
    protected
    Definition Classes
    PredicateHelper
  10. def checkFieldNames(format: FileFormat, schema: StructType): Unit

    Verify if the field name is supported in datasource.

    Verify if the field name is supported in datasource. This verification should be done in a driver side.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. def createDateRebaseFuncInRead(rebaseMode: internal.LegacyBehaviorPolicy.Value, format: String): (Int) => Int
  13. def createDateRebaseFuncInWrite(rebaseMode: internal.LegacyBehaviorPolicy.Value, format: String): (Int) => Int
  14. def createTimestampRebaseFuncInRead(rebaseSpec: RebaseSpec, format: String): (Long) => Long
  15. def createTimestampRebaseFuncInWrite(rebaseMode: internal.LegacyBehaviorPolicy.Value, format: String): (Long) => Long
  16. def datetimeRebaseSpec(lookupFileMeta: (String) => String, modeByConfig: String): RebaseSpec
  17. def decodePartitioningColumns(str: String): Seq[String]
  18. def encodePartitioningColumns(columns: Seq[String]): String
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def extractPredicatesWithinOutputSet(condition: Expression, outputSet: AttributeSet): Option[Expression]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  22. def findExpressionAndTrackLineageDown(exp: Expression, plan: LogicalPlan): Option[(Expression, LogicalPlan)]
    Definition Classes
    PredicateHelper
  23. def generateDatasourceOptions(extraOptions: CaseInsensitiveStringMap, table: CatalogTable): Map[String, String]
  24. def getAliasMap(exprs: Seq[NamedExpression]): AttributeMap[Alias]
    Attributes
    protected
    Definition Classes
    AliasHelper
  25. def getAliasMap(plan: Aggregate): AttributeMap[Alias]
    Attributes
    protected
    Definition Classes
    AliasHelper
  26. def getAliasMap(plan: Project): AttributeMap[Alias]
    Attributes
    protected
    Definition Classes
    AliasHelper
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  28. def getPartitionFiltersAndDataFilters(partitionSchema: StructType, normalizedFilters: Seq[Expression]): (Seq[Expression], Seq[Expression])
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  30. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def int96RebaseSpec(lookupFileMeta: (String) => String, modeByConfig: String): RebaseSpec
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isLikelySelective(e: Expression): Boolean
    Definition Classes
    PredicateHelper
  35. def isNullIntolerant(expr: Expression): Boolean
    Attributes
    protected
    Definition Classes
    PredicateHelper
  36. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  37. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  38. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  51. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  60. def newRebaseExceptionInRead(format: String): SparkUpgradeException
  61. def newRebaseExceptionInWrite(format: String): SparkUpgradeException
  62. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  63. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  64. def outputWithNullability(output: Seq[Attribute], nonNullAttrExprIds: Seq[ExprId]): Seq[Attribute]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  65. def replaceAlias(expr: Expression, aliasMap: AttributeMap[Alias]): Expression
    Attributes
    protected
    Definition Classes
    AliasHelper
  66. def replaceAliasButKeepName(expr: NamedExpression, aliasMap: AttributeMap[Alias]): NamedExpression
    Attributes
    protected
    Definition Classes
    AliasHelper
  67. def shouldPushFilter(expression: Expression, isCollationPushDownSupported: Boolean): Boolean

    Determines whether a filter should be pushed down to the data source or not.

    Determines whether a filter should be pushed down to the data source or not.

    expression

    The filter expression to be evaluated.

    isCollationPushDownSupported

    Whether the data source supports collation push down.

    returns

    A boolean indicating whether the filter should be pushed down or not.

  68. def splitConjunctivePredicates(condition: Expression): Seq[Expression]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  69. def splitDisjunctivePredicates(condition: Expression): Seq[Expression]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  70. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  71. def toString(): String
    Definition Classes
    AnyRef → Any
  72. def trimAliases(e: Expression): Expression
    Attributes
    protected
    Definition Classes
    AliasHelper
  73. def trimNonTopLevelAliases[T <: Expression](e: T): T
    Attributes
    protected
    Definition Classes
    AliasHelper
  74. def verifySchema(format: FileFormat, schema: StructType): Unit

    Verify if the schema is supported in datasource.

    Verify if the schema is supported in datasource. This verification should be done in a driver side.

  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  78. def withLogContext(context: HashMap[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from PredicateHelper

Inherited from Logging

Inherited from AliasHelper

Inherited from AnyRef

Inherited from Any

Ungrouped