o

org.apache.spark.sql.catalyst.util

SparkStringUtils

object SparkStringUtils extends Logging

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

Value Members

  1. def getHexString(bytes: Array[Byte]): String

    Returns a pretty string of the byte array which prints each byte as a hex digit and add spaces between them.

    Returns a pretty string of the byte array which prints each byte as a hex digit and add spaces between them. For example, [1A C0].

  2. def sideBySide(left: Seq[String], right: Seq[String]): Seq[String]
  3. def sideBySide(left: String, right: String): Seq[String]
  4. def truncatedString[T](seq: Seq[T], sep: String, maxFields: Int): String

    Shorthand for calling truncatedString() without start or end strings.

  5. def truncatedString[T](seq: Seq[T], start: String, sep: String, end: String, maxFields: Int): String

    Format a sequence with semantics similar to calling .mkString().

    Format a sequence with semantics similar to calling .mkString(). Any elements beyond maxNumToStringFields will be dropped and replaced by a "... N more fields" placeholder.

    returns

    the trimmed and formatted string.