Object

io.xskipper.metadatastore.parquet

ParquetUtils

Related Doc: package parquet

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getColumnName(idx: Index, version: Long = ...): String

    Permalink

    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

  11. def getColumnNameForCols(cols: Seq[String], idxName: String, version: Long = ...): String

    Permalink
  12. def getIndexSchema(index: Index, translators: Seq[ParquetMetaDataTranslator]): Option[DataType]

    Permalink

    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

  13. def getMdVersionStatus(version: Long): MetadataVersionStatus

    Permalink
  14. def getMdVersionStatusFromDf(df: DataFrame): MetadataVersionStatus

    Permalink
  15. def getVersion(schema: StructType): Long

    Permalink

    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

  16. def getVersion(df: DataFrame): Long

    Permalink

    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.

  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isPmeAvailable(): Boolean

    Permalink

    checks if Parquet Modular Encryption (PME) is available the check is performed by verifying that org.apache.parquet.crypto.AesCipher is available (will be available if and only if PME is loaded)

    checks if Parquet Modular Encryption (PME) is available the check is performed by verifying that org.apache.parquet.crypto.AesCipher is available (will be available if and only if PME is loaded)

    returns

    true if PME is loaded, else false

  22. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def mdFileToDF(session: SparkSession, mdPath: String): DataFrame

    Permalink
  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped