Return whether a given key is set in this SQLConf.
Return all the configuration properties that have been set (i.e.
Return all the configuration properties that have been set (i.e. not the default). This creates a new copy of the config properties in the form of a Map.
Return all the configuration definitions that have been defined in SQLConf.
Return all the configuration definitions that have been defined in SQLConf. Each definition contains key, defaultValue and doc.
Return the value of an optional Spark SQL configuration property for the given key.
Return the value of an optional Spark SQL configuration property for the given key. If the key is not set yet, returns None.
Return the value of Spark SQL configuration property for the given key.
Return the value of Spark SQL configuration property for the given key. If the key is not set
yet, return defaultValue
in ConfigEntry.
Return the value of Spark SQL configuration property for the given key.
Return the value of Spark SQL configuration property for the given key. If the key is not set
yet, return defaultValue
. This is useful when defaultValue
in ConfigEntry is not the
desired one.
Return the string
value of Spark SQL configuration property for the given key.
Return the string
value of Spark SQL configuration property for the given key. If the key is
not set yet, return defaultValue
.
Return the value of Spark SQL configuration property for the given key.
Return the value of Spark SQL configuration property for the given key.
************************ Spark SQL Params/Hints *******************
Returns the Resolver for the current configuration, which can be used to determine if two identifiers are equal.
Set the given Spark SQL configuration property.
Set Spark SQL configuration properties.
Set the given Spark SQL configuration property using a string
value.
Only low degree of contention is expected for conf, thus NOT using ConcurrentHashMap.
Only low degree of contention is expected for conf, thus NOT using ConcurrentHashMap.
A class that enables the setting and getting of mutable config parameters/hints.
In the presence of a SQLContext, these can be set and queried by passing SET commands into Spark SQL's query functions (i.e. sql()). Otherwise, users of this class can modify the hints by programmatically calling the setters and getters of this class.
SQLConf is thread-safe (internally synchronized, so safe to be used in multiple threads).