public static enum FeatureConverter.InOutMode extends Enum<FeatureConverter.InOutMode>
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends org.apache.spark.ml.Transformer & org.apache.spark.ml.param.shared.HasInputCol & org.apache.spark.ml.param.shared.HasInputCols> |
getInputCols(T transformer) |
abstract <T extends org.apache.spark.ml.Transformer> |
getOutputCols(T transformer) |
static FeatureConverter.InOutMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureConverter.InOutMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureConverter.InOutMode SINGLE
public static final FeatureConverter.InOutMode MULTIPLE
public static FeatureConverter.InOutMode[] values()
for (FeatureConverter.InOutMode c : FeatureConverter.InOutMode.values()) System.out.println(c);
public static FeatureConverter.InOutMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract <T extends org.apache.spark.ml.Transformer & org.apache.spark.ml.param.shared.HasInputCol & org.apache.spark.ml.param.shared.HasInputCols> String[] getInputCols(T transformer)
public abstract <T extends org.apache.spark.ml.Transformer> String[] getOutputCols(T transformer)
Copyright © 2024. All rights reserved.