public class ConfigEntryWithDefaultFunction<T>
extends Object
Constructor and Description |
---|
ConfigEntryWithDefaultFunction(String key,
scala.Option<String> prependedKey,
String prependSeparator,
scala.collection.immutable.List<String> alternatives,
scala.Function0<T> _defaultFunction,
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() |
scala.Option<String> |
prependedKey() |
String |
prependSeparator() |
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 ConfigEntryWithDefaultFunction(String key, scala.Option<String> prependedKey, String prependSeparator, scala.collection.immutable.List<String> alternatives, scala.Function0<T> _defaultFunction, scala.Function1<String,T> valueConverter, scala.Function1<T,String> stringConverter, String doc, boolean isPublic)
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.Option<String> prependedKey()
public String prependSeparator()
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