class SelectColumns extends Transformer with Wrappable with DefaultParamsWritable with BasicLogging

SelectColumns takes a dataframe and a list of columns to select as input and returns a dataframe comprised of only those columns listed in the input list.

The columns to be selected is a list of column names

Linear Supertypes
BasicLogging, DefaultParamsWritable, MLWritable, Wrappable, RWrappable, PythonWrappable, BaseWrappable, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelectColumns
  2. BasicLogging
  3. DefaultParamsWritable
  4. MLWritable
  5. Wrappable
  6. RWrappable
  7. PythonWrappable
  8. BaseWrappable
  9. Transformer
  10. PipelineStage
  11. Logging
  12. Params
  13. Serializable
  14. Serializable
  15. Identifiable
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SelectColumns()
  2. new SelectColumns(uid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  7. final def clear(param: Param[_]): SelectColumns.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. val cols: StringArrayParam
  10. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  11. def copy(extra: ParamMap): SelectColumns
    Definition Classes
    SelectColumns → Transformer → PipelineStage → Params
  12. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  13. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  14. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  18. def explainParams(): String
    Definition Classes
    Params
  19. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  20. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def getCols: Array[String]

  25. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  26. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  27. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  28. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  29. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  32. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  36. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  37. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  38. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  39. def logClass(): Unit
    Definition Classes
    BasicLogging
  40. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  45. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  46. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  49. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  50. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  53. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  54. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  55. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  58. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  59. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  60. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  63. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  64. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  65. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  66. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  67. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  68. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  69. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  70. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  71. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  72. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  73. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  74. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  75. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  76. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  77. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  78. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  79. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  80. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  81. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  82. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  83. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  84. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  85. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  86. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  87. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  88. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  89. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  90. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  91. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  92. final def set(paramPair: ParamPair[_]): SelectColumns.this.type
    Attributes
    protected
    Definition Classes
    Params
  93. final def set(param: String, value: Any): SelectColumns.this.type
    Attributes
    protected
    Definition Classes
    Params
  94. final def set[T](param: Param[T], value: T): SelectColumns.this.type
    Definition Classes
    Params
  95. def setCol(value: String): SelectColumns.this.type
  96. def setCols(value: Array[String]): SelectColumns.this.type

  97. final def setDefault(paramPairs: ParamPair[_]*): SelectColumns.this.type
    Attributes
    protected
    Definition Classes
    Params
  98. final def setDefault[T](param: Param[T], value: T): SelectColumns.this.type
    Attributes
    protected
    Definition Classes
    Params
  99. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  100. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  101. def transform(dataset: Dataset[_]): DataFrame

    dataset

    - The input dataset, to be transformed

    returns

    The DataFrame that results from column selection

    Definition Classes
    SelectColumns → Transformer
  102. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  103. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  104. def transformSchema(schema: StructType): StructType
    Definition Classes
    SelectColumns → PipelineStage
  105. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  106. val uid: String
    Definition Classes
    SelectColumnsBasicLogging → Identifiable
  107. val ver: String
    Definition Classes
    BasicLogging
  108. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  109. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  111. def write: MLWriter
    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

setParam

Ungrouped