Packages

object CSVExprUtils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSVExprUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def extractHeader(iter: Iterator[String], options: CSVOptions): Option[String]

    Extracts header and moves iterator forward so that only data remains in it

  9. def filterCommentAndEmpty(iter: Iterator[String], options: CSVOptions): Iterator[String]

    Filter ignorable rows for CSV iterator (lines empty and starting with comment).

    Filter ignorable rows for CSV iterator (lines empty and starting with comment). This is currently being used in CSV reading path and CSV schema inference.

  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def skipComments(iter: Iterator[String], options: CSVOptions): Iterator[String]
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toChar(str: String): Char

    Helper method that converts string representation of a character to actual character.

    Helper method that converts string representation of a character to actual character. It handles some Java escaped strings and throws exception if given string is longer than one character.

    Annotations
    @throws( ... )
  20. def toDelimiterStr(str: String): String

    Helper method that converts string representation of a character sequence to actual delimiter characters.

    Helper method that converts string representation of a character sequence to actual delimiter characters. The input is processed in "chunks", and each chunk is converted by calling CSVExprUtils.toChar(). A chunk is either:

    • a backslash followed by another character
    • a non-backslash character by itself

    , in that order of precedence. The result of the converting all chunks is returned as a String.



    Examples:

    • \t will result in a single tab character as the separator (same as before)
    • ||| will result in a sequence of three pipe characters as the separator
    • \\ will result in a single backslash as the separator (same as before)
    • \. will result in an error (since a dot is not a character that needs escaped)
    • \\. will result in a backslash, then dot, as the separator character sequence
    • .\t. will result in a dot, then tab, then dot as the separator character sequence
    str

    the string representing the sequence of separator characters

    returns

    a String representing the multi-character delimiter

    Exceptions thrown

    IllegalArgumentException if any of the individual input chunks are illegal

  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped