object ParquetUtils extends Logging

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParquetUtils
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def generatePartitionStructs(partitionSchema: Option[StructType]): Seq[StructField]

    Given a partition schema transform it to an equivalent partition schema where each partition column name was transformed to virtual_<partition_column_name>

    Given a partition schema transform it to an equivalent partition schema where each partition column name was transformed to virtual_<partition_column_name>

    partitionSchema

    the partition schema to transform

    returns

    the transformed partition schema fields

  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getColumnName(idx: Index, version: Long = ...): String

    returns the column name for the specified index and version

    returns the column name for the specified index and version

    idx

    the index for which the column name needs to created

    version

    version number, the metadata spec of which will determine the column name

  12. def getColumnNameForCols(cols: Seq[String], idxName: String, version: Long = ...): String
  13. def getIndexSchema(index: Index, translators: Seq[ParquetMetaDataTranslator]): Option[DataType]

    Given an index and schema translator tries searching for the first available translation.

    Given an index and schema translator tries searching for the first available translation. to a native DataFrame schema. if no translation is found return None

    index

    the index to translate

    translators

    the list of available translators

    returns

    the DataType associated with the translation

  14. def getMdVersionStatus(version: Long): MetadataVersionStatus
  15. def getMdVersionStatusFromDf(df: DataFrame): MetadataVersionStatus
  16. def getPartitionColName(partCol: String): String

    given a column name adds virtual_ before it done to avoid aliasing existing columns in the data

    given a column name adds virtual_ before it done to avoid aliasing existing columns in the data

    partCol

    the partition column to handle

    returns

    virtual_<column_name>

  17. def getVersion(schema: StructType): Long

    retrieves the version number from a metadata DataFrame Schema, returns 0 if the version is not explicitly defined (files without version number are implicitly declared version 0).

    retrieves the version number from a metadata DataFrame Schema, returns 0 if the version is not explicitly defined (files without version number are implicitly declared version 0). the function assumes the obj_name column exists in the schema.

    schema

    - the schema of the metadata df

  18. def getVersion(df: DataFrame): Long

    retrieves the version number from a Metadata DataFrame, returns 0 if the version is not explicitly defined (files without version number are implicitly declared version 0).

    retrieves the version number from a Metadata DataFrame, returns 0 if the version is not explicitly defined (files without version number are implicitly declared version 0). the function assumes the obj_name column exists in the schema.

  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  21. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  24. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def mdFileToDF(session: SparkSession, mdPath: String): DataFrame
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def replaceReferences(expr: Expression, mapping: Map[String, String]): Expression

    Replaces attribute references names in the given expression according to the given mapping

    Replaces attribute references names in the given expression according to the given mapping

    expr

    the expression to replace

    mapping

    a mapping from attribute name to new attribute name

    returns

    the new expresion with attribute references replaced with the given mapping

  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped