org.apache.spark.sql.catalyst

util

package util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed class Metadata extends Serializable

    Metadata is a wrapper over Map[String, Any] that limits the value type to simple ones: Boolean, Long, Double, String, Metadata, Array[Boolean], Array[Long], Array[Double], Array[String], and Array[Metadata].

    Metadata is a wrapper over Map[String, Any] that limits the value type to simple ones: Boolean, Long, Double, String, Metadata, Array[Boolean], Array[Long], Array[Double], Array[String], and Array[Metadata]. JSON is used for serialization.

    The default constructor is private. User should use either MetadataBuilder or Metadata$#fromJson to create Metadata instances.

  2. class MetadataBuilder extends AnyRef

    Builder for Metadata.

    Builder for Metadata. If there is a key collision, the latter will overwrite the former.

Value Members

  1. object Metadata extends Serializable

  2. def benchmark[A](f: ⇒ A): A

  3. def fileToString(file: File, encoding: String = "UTF-8"): String

  4. def getTempFilePath(prefix: String, suffix: String = ""): File

    Returns a path to a temporary file that probably does not exist.

    Returns a path to a temporary file that probably does not exist. Note, there is always the race condition that someone created this file since the last time we checked. Thus, this shouldn't be used for anything security conscious.

  5. def resourceToString(resource: String, encoding: String = "UTF-8", classLoader: ClassLoader = SparkUtils.getSparkClassLoader): String

  6. def sideBySide(left: Seq[String], right: Seq[String]): Seq[String]

  7. def sideBySide(left: String, right: String): Seq[String]

  8. def stackTraceToString(t: Throwable): String

  9. def stringOrNull(a: AnyRef): String

  10. def stringToFile(file: File, str: String): File

Inherited from AnyRef

Inherited from Any

Ungrouped