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 CLUSTERING_COLUMNS_KEY: String

    The key to use for storing clusterBy columns as options.

  5. def MDC(key: LogKey, value: Any): MDC
    Attributes
    protected
    Definition Classes
    Logging
  6. val PARTITIONING_COLUMNS_KEY: String

    The key to use for storing partitionBy columns as options.

  7. val PARTITION_OVERWRITE_MODE: String

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

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def buildBalancedPredicate(expressions: Seq[Expression], op: (Expression, Expression) => Expression): Expression
    Attributes
    protected
    Definition Classes
    PredicateHelper
  10. def canEvaluate(expr: Expression, plan: LogicalPlan): Boolean
    Attributes
    protected
    Definition Classes
    PredicateHelper
  11. def canEvaluateWithinJoin(expr: Expression): Boolean
    Attributes
    protected
    Definition Classes
    PredicateHelper
  12. 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.

  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. def containsFiltersWithCollation(filter: Filter): Boolean
  15. def createDateRebaseFuncInRead(rebaseMode: internal.LegacyBehaviorPolicy.Value, format: String): (Int) => Int
  16. def createDateRebaseFuncInWrite(rebaseMode: internal.LegacyBehaviorPolicy.Value, format: String): (Int) => Int
  17. def createTimestampRebaseFuncInRead(rebaseSpec: RebaseSpec, format: String): (Long) => Long
  18. def createTimestampRebaseFuncInWrite(rebaseMode: internal.LegacyBehaviorPolicy.Value, format: String): (Long) => Long
  19. def datetimeRebaseSpec(lookupFileMeta: (String) => String, modeByConfig: String): RebaseSpec
  20. def decodePartitioningColumns(str: String): Seq[String]
  21. def encodePartitioningColumns(columns: Seq[String]): String
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def extractPredicatesWithinOutputSet(condition: Expression, outputSet: AttributeSet): Option[Expression]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  25. def findExpressionAndTrackLineageDown(exp: Expression, plan: LogicalPlan): Option[(Expression, LogicalPlan)]
    Definition Classes
    PredicateHelper
  26. def generateDatasourceOptions(extraOptions: CaseInsensitiveStringMap, table: CatalogTable): Map[String, String]
  27. def getAliasMap(exprs: Iterable[NamedExpression]): AttributeMap[Alias]
    Attributes
    protected
    Definition Classes
    AliasHelper
  28. def getAliasMap(plan: Aggregate): AttributeMap[Alias]
    Attributes
    protected
    Definition Classes
    AliasHelper
  29. def getAliasMap(plan: Project): AttributeMap[Alias]
    Attributes
    protected
    Definition Classes
    AliasHelper
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  31. def getPartitionFiltersAndDataFilters(partitionSchema: StructType, normalizedFilters: Seq[Expression]): (Seq[Expression], Seq[Expression])
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  33. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  34. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def int96RebaseSpec(lookupFileMeta: (String) => String, modeByConfig: String): RebaseSpec
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isLikelySelective(e: Expression): Boolean
    Definition Classes
    PredicateHelper
  38. def isNullIntolerant(expr: Expression): Boolean
    Attributes
    protected
    Definition Classes
    PredicateHelper
  39. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  40. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  41. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  55. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. final def mergeAliases(alias: Alias): Alias
    Attributes
    protected
    Definition Classes
    AliasHelper
  64. final def mergeAndTrimAliases(alias: Alias): Alias
    Attributes
    protected
    Definition Classes
    AliasHelper
    Annotations
    @tailrec()
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. def newRebaseExceptionInRead(format: String): SparkUpgradeException
  67. def newRebaseExceptionInWrite(format: String): SparkUpgradeException
  68. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  69. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  70. def outputWithNullability(output: Seq[Attribute], nonNullAttrExprIds: Seq[ExprId]): Seq[Attribute]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  71. def replaceAlias(expr: Expression, aliasMap: AttributeMap[Alias]): Expression
    Attributes
    protected
    Definition Classes
    AliasHelper
  72. def replaceAliasButKeepName(expr: NamedExpression, aliasMap: AttributeMap[Alias]): NamedExpression
    Attributes
    protected
    Definition Classes
    AliasHelper
  73. def shouldIgnoreCorruptFileException(e: Throwable): Boolean
  74. def splitConjunctivePredicates(condition: Expression): Seq[Expression]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  75. def splitDisjunctivePredicates(condition: Expression): Seq[Expression]
    Attributes
    protected
    Definition Classes
    PredicateHelper
  76. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  77. def toString(): String
    Definition Classes
    AnyRef → Any
  78. def trimAliases(e: Expression): Expression
    Attributes
    protected
    Definition Classes
    AliasHelper
  79. def trimNonTopLevelAliases[T <: Expression](e: T): T
    Attributes
    protected
    Definition Classes
    AliasHelper
  80. def verifySchema(format: FileFormat, schema: StructType, readOnly: Boolean = false): 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.

  81. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  83. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. def withLogContext(context: Map[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