object TypeUtils extends QueryErrorsBase
Functions to help with checking for valid data types and value comparison of various types.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TypeUtils
- QueryErrorsBase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkForAnsiIntervalOrNumericType(input: Expression): TypeCheckResult
- def checkForMapKeyType(keyType: DataType): TypeCheckResult
- def checkForOrderingExpr(dt: DataType, caller: String): TypeCheckResult
- def checkForSameTypeInputExpr(types: Seq[DataType], caller: String): TypeCheckResult
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failWithIntervalType(dataType: DataType): Unit
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInterpretedOrdering(t: DataType): Ordering[Any]
- Annotations
- @tailrec()
- def getNumeric(t: DataType, exactNumericRequired: Boolean = false): Numeric[Any]
- def getQueryContext(sqlContext: SQLQueryContext): Array[QueryContext]
- Definition Classes
- QueryErrorsBase
- def getSummary(sqlContext: SQLQueryContext): String
- Definition Classes
- QueryErrorsBase
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def invokeOnceForInterval(dataType: DataType, forbidAnsiIntervals: Boolean)(f: => Unit): Unit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDSOption(option: String): String
- Definition Classes
- QueryErrorsBase
- def toSQLConf(conf: String): String
- Definition Classes
- QueryErrorsBase
- def toSQLConfVal(conf: String): String
- Definition Classes
- QueryErrorsBase
- def toSQLExpr(e: Expression): String
- Definition Classes
- QueryErrorsBase
- def toSQLId(parts: String): String
- Definition Classes
- QueryErrorsBase
- def toSQLId(parts: Seq[String]): String
- Definition Classes
- QueryErrorsBase
- def toSQLSchema(schema: String): String
- Definition Classes
- QueryErrorsBase
- def toSQLStmt(text: String): String
- Definition Classes
- QueryErrorsBase
- def toSQLType(text: String): String
- Definition Classes
- QueryErrorsBase
- def toSQLType(t: AbstractDataType): String
- Definition Classes
- QueryErrorsBase
- def toSQLValue(v: Any, t: DataType): String
- Definition Classes
- QueryErrorsBase
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()