Packages

object TypeUtils extends QueryErrorsBase

Functions to help with checking for valid data types and value comparison of various types.

Linear Supertypes
QueryErrorsBase, DataTypeErrorsBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeUtils
  2. QueryErrorsBase
  3. DataTypeErrorsBase
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkForAnsiIntervalOrNumericType(input: Expression): TypeCheckResult
  6. def checkForMapKeyType(keyType: DataType): TypeCheckResult
  7. def checkForOrderingExpr(dt: DataType, caller: String): TypeCheckResult
  8. def checkForSameTypeInputExpr(types: Seq[DataType], caller: String): TypeCheckResult
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def failUnsupportedDataType(dataType: DataType, conf: SQLConf): Unit
  13. def failWithIntervalType(dataType: DataType): Unit
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def getInterpretedOrdering(t: DataType): Ordering[Any]
    Annotations
    @tailrec()
  16. def getNumeric(t: DataType, exactNumericRequired: Boolean = false): Numeric[Any]
  17. def getQueryContext(context: QueryContext): Array[QueryContext]
    Definition Classes
    DataTypeErrorsBase
  18. def getSummary(sqlContext: QueryContext): String
    Definition Classes
    DataTypeErrorsBase
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. def invokeOnceForInterval(dataType: DataType, forbidAnsiIntervals: Boolean)(f: => Unit): Unit
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  25. def ordinalNumber(i: Int): String
    Definition Classes
    QueryErrorsBase
  26. def quoteByDefault(elem: String): String
    Attributes
    protected[sql]
    Definition Classes
    DataTypeErrorsBase
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toDSOption(option: String): String
    Definition Classes
    DataTypeErrorsBase
  29. def toSQLConf(conf: String): String
    Definition Classes
    DataTypeErrorsBase
  30. def toSQLConfVal(conf: String): String
    Definition Classes
    QueryErrorsBase
  31. def toSQLExpr(e: Expression): String
    Definition Classes
    QueryErrorsBase
  32. def toSQLId(parts: Seq[String]): String
    Definition Classes
    DataTypeErrorsBase
  33. def toSQLId(parts: String): String
    Definition Classes
    DataTypeErrorsBase
  34. def toSQLStmt(text: String): String
    Definition Classes
    DataTypeErrorsBase
  35. def toSQLType(t: AbstractDataType): String
    Definition Classes
    DataTypeErrorsBase
  36. def toSQLType(text: String): String
    Definition Classes
    DataTypeErrorsBase
  37. def toSQLValue(v: Any, t: DataType): String
    Definition Classes
    QueryErrorsBase
  38. def toSQLValue(value: Double): String
    Definition Classes
    DataTypeErrorsBase
  39. def toSQLValue(value: Float): String
    Definition Classes
    DataTypeErrorsBase
  40. def toSQLValue(value: Long): String
    Definition Classes
    DataTypeErrorsBase
  41. def toSQLValue(value: Int): String
    Definition Classes
    DataTypeErrorsBase
  42. def toSQLValue(value: Short): String
    Definition Classes
    DataTypeErrorsBase
  43. def toSQLValue(value: UTF8String): String
    Definition Classes
    DataTypeErrorsBase
  44. def toSQLValue(value: String): String
    Definition Classes
    DataTypeErrorsBase
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def tryThrowNotOrderableExpression(expression: Expression): Unit
  47. def typeWithProperEquals(dataType: DataType): Boolean

    Returns true if the equals method of the elements of the data type is implemented properly.

    Returns true if the equals method of the elements of the data type is implemented properly. This also means that they can be safely used in collections relying on the equals method, as sets or maps.

  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 QueryErrorsBase

Inherited from DataTypeErrorsBase

Inherited from AnyRef

Inherited from Any

Ungrouped