Object

org.apache.spark.sql.collection

Utils

Related Doc: package collection

Permalink

object Utils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Utils
  2. AnyRef
  3. 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. def ERROR_NO_QCS(module: String): String

    Permalink
  5. final val SKIP_ANALYSIS_PREFIX: String("SAMPLE_")

    Permalink
  6. final val WEIGHTAGE_COLUMN_NAME: String("SNAPPY_SAMPLER_WEIGHTAGE")

    Permalink
  7. final val Z95Percent: Double

    Permalink
  8. final val Z95Squared: Double

    Permalink
  9. def analysisException(msg: String, cause: Option[Throwable] = None): AnalysisException

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def classForName(className: String): Class[_]

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def columnIndex(col: String, cols: Array[String], module: String): Int

    Permalink
  14. def createCatalystConverter(dataType: DataType): (Any) ⇒ Any

    Permalink
  15. def createScalaConverter(dataType: DataType): (Any) ⇒ Any

    Permalink
  16. def dataTypeStringBuilder(dataType: DataType, result: StringBuilder): (Any) ⇒ Unit

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def fieldName(f: StructField): String

    Permalink
  20. def fillArray[T](a: Array[_ >: T], v: T, start: Int, endP1: Int): Unit

    Permalink
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def getAllExecutorsMemoryStatus(sc: SparkContext): Map[BlockManagerId, (Long, Long)]

    Permalink
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def getClientHostPort(netServer: String): String

    Permalink
  25. def getDriverClassName(url: String): String

    Permalink
  26. def getFields(o: Any): Map[String, Any]

    Permalink
  27. def getFixedPartitionRDD[T](sc: SparkContext, f: (TaskContext, Partition) ⇒ Iterator[T], partitioner: Partitioner, numPartitions: Int)(implicit arg0: ClassTag[T]): RDD[T]

    Permalink
  28. def getGenericRowValues(row: GenericRow): Array[Any]

    Permalink
  29. def getHostExecutorId(blockId: BlockManagerId): String

    Permalink
  30. def getInternalType(dataType: DataType): Class[_]

    Permalink
  31. def getSQLDataType(dataType: DataType): DataType

    Permalink
    Annotations
    @tailrec()
  32. def getSchemaAndPlanFromBase(schemaOpt: Option[StructType], baseTableOpt: Option[String], catalog: SnappyStoreHiveCatalog, asSelect: Boolean, table: String, tableType: String): (StructType, Option[LogicalPlan])

    Permalink

    Get the result schema given an optional explicit schema and base table.

    Get the result schema given an optional explicit schema and base table. In case both are specified, then check compatibility between the two.

  33. def getSchemaFields(schema: StructType): Map[String, StructField]

    Permalink
  34. def hasLowerCase(k: String): Boolean

    Permalink
  35. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  36. def immutableMap[A, B](m: Map[A, B]): Map[A, B]

    Permalink
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. final def isLoner(sc: SparkContext): Boolean

    Permalink
  39. def mapExecutors[T](sc: SparkContext, f: (TaskContext, ExecutorLocalPartition) ⇒ Iterator[T])(implicit arg0: ClassTag[T]): RDD[T]

    Permalink
  40. def mapExecutors[T](sqlContext: SQLContext, f: () ⇒ Iterator[T])(implicit arg0: ClassTag[T]): RDD[T]

    Permalink
  41. def matchOption(optName: String, options: Map[String, Any]): Option[(String, Any)]

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

    Permalink
    Definition Classes
    AnyRef
  43. def newChunkedByteBuffer(chunks: Array[ByteBuffer]): ChunkedByteBuffer

    Permalink
  44. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  46. def parseColumn(cv: Any, cols: Array[String], module: String, option: String): Int

    Permalink
  47. def parseColumnsAsClob(s: String): (Boolean, Array[String])

    Permalink
  48. def parseDouble(v: Any, module: String, option: String, min: Double, max: Double, exclusive: Boolean = true): Double

    Permalink
  49. def parseInteger(v: Any, module: String, option: String, min: Int = 1, max: Int = Int.MaxValue): Int

    Permalink
  50. def parseTimeInterval(optV: Any, module: String): Long

    Permalink

    Parse the given time interval value as long milliseconds.

    Parse the given time interval value as long milliseconds.

    See also

    timeIntervalSpec for the allowed string specification

  51. def parseTimestamp(ts: String, module: String, col: String): Long

    Permalink
  52. def qcsOf(qa: Array[String], cols: Array[String], module: String): (Array[Int], Array[String])

    Permalink
  53. def registerDriver(driver: String): Unit

    Permalink

    Register given driver class with Spark's loader.

  54. def registerDriverUrl(url: String): String

    Permalink

    Register driver for given JDBC URL and return the driver class name.

  55. def resolveQCS(options: Map[String, Any], fieldNames: Array[String], module: String): (Array[Int], Array[String])

    Permalink
  56. def resolveQCS(qcsV: Option[Any], fieldNames: Array[String], module: String): (Array[Int], Array[String])

    Permalink
  57. def schemaFields(schema: StructType): Map[String, StructField]

    Permalink
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  59. final val timeIntervalSpec: Regex

    Permalink

    string specification for time intervals

  60. def toLowerCase(k: String): String

    Permalink
  61. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  62. def toUpperCase(k: String): String

    Permalink
  63. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. def withNewExecutionId[T](session: SparkSession, queryExecution: QueryExecution)(body: ⇒ T): T

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped