com.alpine.plugin.core.spark.utils

SparkSchemaUtilsClass

case class SparkSchemaUtilsClass() extends SparkSchemaUtils with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, SparkSchemaUtils, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SparkSchemaUtilsClass
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SparkSchemaUtils
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkSchemaUtilsClass()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def convertColumnTypeToSparkSQLDataType(columnType: TypeValue): (DataType, Option[String])

    Definition Classes
    SparkSchemaUtils
  9. def convertSparkSQLDataTypeToColumnType(structField: StructField): ColumnDef

    Converts from a Spark SQL struct field to an Alpine-specific column def.

    Converts from a Spark SQL struct field to an Alpine-specific column def.

    Definition Classes
    SparkSchemaUtils
  10. def convertSparkSQLDataTypeToColumnType(dataType: DataType): TypeValue

    Converts from a Spark SQL data type to an Alpine-specific column type.

    Converts from a Spark SQL data type to an Alpine-specific column type.

    Definition Classes
    SparkSchemaUtils
  11. def convertSparkSQLSchemaToTabularSchema(schema: StructType): TabularSchema

    Converts from a Spark SQL schema to the Alpine 'TabularSchema' type.

    Converts from a Spark SQL schema to the Alpine 'TabularSchema' type. The 'TabularSchema' object this method returns can be used to create any of the tabular Alpine IO types (HDFSTabular dataset, dataTable etc.)

    schema

    -a Spark SQL DataFrame schema

    returns

    the equivalent Alpine schema for that dataset

    Definition Classes
    SparkSchemaUtils
  12. def convertTabularSchemaToSparkSQLSchemaDateSupport(tabularSchema: TabularSchema): (StructType, Map[String, String])

    Convert the Alpine 'TabularSchema' with column names and types to the equivalent Spark SQL data frame header.

    Convert the Alpine 'TabularSchema' with column names and types to the equivalent Spark SQL data frame header.

    tabularSchema

    An Alpine 'TabularSchemaOutline' object with fixed column definitions containing a name and Alpine specific type.

    returns

    Definition Classes
    SparkSchemaUtils
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getDateFormatFromSchema(schema: StructType): TabularSchema

    Definition Classes
    SparkSchemaUtils
  17. def getDateMap(tabularSchema: TabularSchema): Map[String, String]

    Definition Classes
    SparkSchemaUtils
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def convertTabularSchemaToSparkSQLSchema(tabularSchema: TabularSchema): StructType

    Convert the Alpine 'TabularSchema' with column names and types to the equivalent Spark SQL data frame header.

    Convert the Alpine 'TabularSchema' with column names and types to the equivalent Spark SQL data frame header.

    tabularSchema

    An Alpine 'TabularSchemaOutline' object with fixed column definitions containing a name and Alpine specific type.

    returns

    Definition Classes
    SparkSchemaUtils
    Annotations
    @deprecated
    Deprecated

    Use convertTabularSchemaToSparkSQLSchemaDateSupport

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SparkSchemaUtils

Inherited from AnyRef

Inherited from Any

Ungrouped