Packages

c

org.apache.spark.sql.util

CaseInsensitiveStringMap

class CaseInsensitiveStringMap extends Map[String, String]

Case-insensitive map of string keys to string values.

This is used to pass options to v2 implementations to ensure consistent case insensitivity.

Methods that return keys in this map, like #entrySet() and #keySet(), return keys converted to lower case. This map doesn't allow null key.

Annotations
@Experimental()
Source
CaseInsensitiveStringMap.java
Since

3.0.0

Linear Supertypes
Map[String, String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaseInsensitiveStringMap
  2. Map
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CaseInsensitiveStringMap(originalMap: Map[String, String])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def asCaseSensitiveMap(): Map[String, String]

    Returns the original case-sensitive map.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clear(): Unit
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def compute(arg0: String, arg1: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  9. def computeIfAbsent(arg0: String, arg1: Function[_ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  10. def computeIfPresent(arg0: String, arg1: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  11. def containsKey(key: AnyRef): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  12. def containsValue(value: AnyRef): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  13. def entrySet(): Set[Entry[String, String]]
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(o: AnyRef): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map → AnyRef → Any
    Annotations
    @Override()
  16. def forEach(arg0: BiConsumer[_ >: String <: AnyRef, _ >: String <: AnyRef]): Unit
    Definition Classes
    Map
  17. def get(key: AnyRef): String
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  18. def getBoolean(key: String, defaultValue: Boolean): Boolean

    Returns the boolean value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the boolean value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. def getDouble(key: String, defaultValue: Double): Double

    Returns the double value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the double value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  21. def getInt(key: String, defaultValue: Int): Int

    Returns the integer value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the integer value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  22. def getLong(key: String, defaultValue: Long): Long

    Returns the long value to which the specified key is mapped, or defaultValue if there is no mapping for the key.

    Returns the long value to which the specified key is mapped, or defaultValue if there is no mapping for the key. The key match is case-insensitive.

  23. def getOrDefault(arg0: AnyRef, arg1: String): String
    Definition Classes
    Map
  24. def hashCode(): Int
    Definition Classes
    CaseInsensitiveStringMap → Map → AnyRef → Any
    Annotations
    @Override()
  25. def isEmpty(): Boolean
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def keySet(): Set[String]
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  28. def merge(arg0: String, arg1: String, arg2: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): String
    Definition Classes
    Map
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. def put(key: String, value: String): String
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  33. def putAll(m: Map[_ <: String, _ <: String]): Unit
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  34. def putIfAbsent(arg0: String, arg1: String): String
    Definition Classes
    Map
  35. def remove(key: AnyRef): String
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  36. def remove(arg0: AnyRef, arg1: AnyRef): Boolean
    Definition Classes
    Map
  37. def replace(arg0: String, arg1: String): String
    Definition Classes
    Map
  38. def replace(arg0: String, arg1: String, arg2: String): Boolean
    Definition Classes
    Map
  39. def replaceAll(arg0: BiFunction[_ >: String <: AnyRef, _ >: String <: AnyRef, _ <: String]): Unit
    Definition Classes
    Map
  40. def size(): Int
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. def values(): Collection[String]
    Definition Classes
    CaseInsensitiveStringMap → Map
    Annotations
    @Override()
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Map[String, String]

Inherited from AnyRef

Inherited from Any

Ungrouped