public class ConfigEntryWithDefault<T>
extends Object
Constructor and Description |
---|
ConfigEntryWithDefault(String key,
scala.collection.immutable.List<String> alternatives,
T _defaultValue,
scala.Function1<String,T> valueConverter,
scala.Function1<T,String> stringConverter,
String doc,
boolean isPublic) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.List<String> |
alternatives() |
scala.Option<T> |
defaultValue() |
String |
defaultValueString() |
String |
doc() |
static org.apache.spark.internal.config.ConfigEntry<?> |
findEntry(String key) |
boolean |
isPublic() |
String |
key() |
T |
readFrom(org.apache.spark.internal.config.ConfigReader reader) |
static void |
registerEntry(org.apache.spark.internal.config.ConfigEntry<?> entry) |
scala.Function1<T,String> |
stringConverter() |
String |
toString() |
static String |
UNDEFINED() |
scala.Function1<String,T> |
valueConverter() |
public scala.Option<T> defaultValue()
public String defaultValueString()
public T readFrom(org.apache.spark.internal.config.ConfigReader reader)
public static String UNDEFINED()
public static void registerEntry(org.apache.spark.internal.config.ConfigEntry<?> entry)
public static org.apache.spark.internal.config.ConfigEntry<?> findEntry(String key)
public String key()
public scala.collection.immutable.List<String> alternatives()
public scala.Function1<String,T> valueConverter()
public scala.Function1<T,String> stringConverter()
public String doc()
public boolean isPublic()
public String toString()
toString
in class Object