Packages

case object VariantGet extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VariantGet
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. 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 cast(v: Variant, dataType: DataType, castArgs: VariantCastArgs): Any

    Cast a variant v into a target data type dataType.

    Cast a variant v into a target data type dataType. If the variant represents a variant null, the result is always a SQL NULL. The cast may fail due to an illegal type combination (e.g., cast a variant int to binary), or an invalid input valid (e.g, cast a variant string "hello" to int). If the cast fails, throw an exception when failOnError is true, or return a SQL NULL when it is false.

  6. def cast(input: VariantVal, dataType: DataType, castArgs: VariantCastArgs): Any

    A simple wrapper of the cast function that takes Variant rather than VariantVal.

    A simple wrapper of the cast function that takes Variant rather than VariantVal. The Cast expression uses it and makes the implementation simpler.

  7. def castDecimalToString(input: Decimal): UTF8String
  8. def castDecimalToTimestamp(input: Decimal): Long
  9. def castLongToTimestamp(input: Long): Long
  10. def checkDataType(dataType: DataType, allowStructsAndMaps: Boolean = true): Boolean

    Returns whether a data type can be cast into/from variant.

    Returns whether a data type can be cast into/from variant. For scalar types, we allow a subset of them. For nested types, we reject map types with a non-string key type.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def getParsedPath(pathValue: String, prettyName: String): Array[VariantPathSegment]

    Get parsed Array[VariantPathSegment] from string representing path

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. def productElementName(n: Int): String
    Definition Classes
    Product
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def variantGet(input: VariantVal, path: UTF8String, dataType: DataType, castArgs: VariantCastArgs, prettyName: String): Any

    Implementation of the VariantGet expression where the path is provided as a UTF8String

  24. def variantGet(input: VariantVal, parsedPath: Array[VariantPathSegment], dataType: DataType, castArgs: VariantCastArgs): Any

    The actual implementation of the VariantGet expression.

  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped