object CSVExprUtils
- Alphabetic
- By Inheritance
- CSVExprUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extractHeader(iter: Iterator[String], options: CSVOptions): Option[String]
Extracts header and moves iterator forward so that only data remains in it
-
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. -
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def skipComments(iter: Iterator[String], options: CSVOptions): Iterator[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
-
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:\twill 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
IllegalArgumentExceptionif any of the individual input chunks are illegal
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()