Package

mimir

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. class JDBCResultSetIterable extends Iterator[Seq[PrimitiveValue]]

    Permalink
  2. class JsonToCSV extends AnyRef

    Permalink
  3. class LineReaderInputSource extends Reader with LazyLogging

    Permalink
  4. case class MimirCSVRecord(fields: Seq[String], lineNumber: Long, recordNumber: Long, comment: Option[String]) extends Product with Serializable

    Permalink
  5. class NonStrictCSVParser extends Iterator[MimirCSVRecord] with StrictLogging

    Permalink

    A wrapper around the Apache Commons CSVParser that can recover from malformed data.

    A wrapper around the Apache Commons CSVParser that can recover from malformed data.

    Recovery is, at present, rather dumb. CSVParser begins parsing the record anew from the point where the malformed data appeared.

    It would be nice if we could retain the record prefix that has already been parsed (as well as offsetting data). Unfortunately, these changes all require changes to CSVParser.getNextRecord(), which relies on private access to Token and Lexer.

    Suggested approaches:

    • Submit a push request to commons with a "Recovery" callback
    • Swap out CSVParser with a different off-the-shelf parser (e.g., Spark has a few)
    • Write our own CSVParser.
  6. class ReSourceColumns extends ExpressionRewrite

    Permalink
  7. class WebLogAppender extends Appender[ILoggingEvent]

    Permalink

Value Members

  1. object ExperimentalOptions

    Permalink

    Utilities for globally enabling or disabling experimental configuration options.

    Utilities for globally enabling or disabling experimental configuration options. Usually configuration should happen either in a test case, or in the startup process of whatever UI is being used (e.g., Mimir.scala for command line opts)

    Within the code, use either isEnabled, or ifEnabled to branch based on the specific experimental option.

  2. object HTTPUtils

    Permalink
  3. object HttpRocketClient

    Permalink
  4. object JDBCUtils

    Permalink
  5. object JSONBuilder

    Permalink
  6. object JsonUtils

    Permalink
  7. object ListUtils

    Permalink
  8. object LoadCSV extends StrictLogging

    Permalink
  9. object LoggerUtils

    Permalink
  10. object PythonProcess extends LazyLogging

    Permalink
  11. object RandUtils

    Permalink
  12. object SerializationUtils

    Permalink
  13. object SqlUtils

    Permalink
  14. object TextUtils extends LazyLogging

    Permalink
  15. object TimeUtils

    Permalink
  16. object Timer

    Permalink

Ungrouped