package util
Type Members
- implicit class LogStringContext extends AnyRef
Value Members
- val AUTO_GENERATED_ALIAS: String
- val INTERNAL_METADATA_KEYS: Seq[String]
- val METADATA_COL_ATTR_KEY: String
- val QUALIFIED_ACCESS_ONLY: String
- def escapeSingleQuotedString(str: String): String
- def fileToString(file: File, encoding: Charset): String
- def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- def initializeLogIfNecessary(isInterpreter: Boolean): Unit
- def isTraceEnabled(): Boolean
- def log: Logger
- def logDebug(msg: => String, throwable: Throwable): Unit
- def logDebug(entry: LogEntry, throwable: Throwable): Unit
- def logDebug(entry: LogEntry): Unit
- def logDebug(msg: => String): Unit
- def logError(msg: => String, throwable: Throwable): Unit
- def logError(entry: LogEntry, throwable: Throwable): Unit
- def logError(entry: LogEntry): Unit
- def logError(msg: => String): Unit
- def logInfo(msg: => String, throwable: Throwable): Unit
- def logInfo(entry: LogEntry, throwable: Throwable): Unit
- def logInfo(entry: LogEntry): Unit
- def logInfo(msg: => String): Unit
- def logName: String
- def logTrace(msg: => String, throwable: Throwable): Unit
- def logTrace(entry: LogEntry, throwable: Throwable): Unit
- def logTrace(entry: LogEntry): Unit
- def logTrace(msg: => String): Unit
- def logWarning(msg: => String, throwable: Throwable): Unit
- def logWarning(entry: LogEntry, throwable: Throwable): Unit
- def logWarning(entry: LogEntry): Unit
- def logWarning(msg: => String): Unit
- def quietly[A](f: => A): A
- def quoteIdentifier(name: String): String
- def quoteIfNeeded(part: String): String
- def quoteNameParts(name: Seq[String]): String
- def removeInternalMetadata(schema: StructType): StructType
- def resourceToBytes(resource: String, classLoader: ClassLoader): Array[Byte]
- def resourceToString(resource: String, encoding: String, classLoader: ClassLoader): String
- def sideBySide(left: Seq[String], right: Seq[String]): Seq[String]
- def sideBySide(left: String, right: String): Seq[String]
- def stackTraceToString(t: Throwable): String
- def stringToFile(file: File, str: String): File
- def toPrettySQL(e: Expression): String
- def truncatedString[T](seq: Seq[T], sep: String, maxFields: Int): String
- def truncatedString[T](seq: Seq[T], start: String, sep: String, end: String, maxFields: Int): String
- def usePrettyExpression(e: Expression): Expression
- def withLogContext(context: HashMap[String, String])(body: => Unit): Unit
Inherited from Logging
Inherited from AnyRef
Inherited from Any