Object

quasar.main

Prettify

Related Doc: package main

Permalink

object Prettify

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

Type Members

  1. sealed abstract class Aligned[A] extends AnyRef

    Permalink
  2. final case class FieldSeg(name: slamdata.Predef.String) extends Segment with Product with Serializable

    Permalink
  3. final case class IndexSeg(index: slamdata.Predef.Int) extends Segment with Product with Serializable

    Permalink
  4. final case class Path(segs: slamdata.Predef.List[Segment]) extends Product with Serializable

    Permalink
  5. sealed abstract class Segment extends slamdata.Predef.Product with slamdata.Predef.Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Aligned

    Permalink
  5. object Path extends Serializable

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def columnNames(rows: slamdata.Predef.List[Data]): slamdata.Predef.List[Path]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flatten(data: Data): slamdata.Predef.ListMap[Path, Data]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def parse(str: slamdata.Predef.String): slamdata.Predef.Option[Data]

    Permalink
  20. def render(data: Data): Aligned[slamdata.Predef.String]

    Permalink

    Render any atomic Data value to a String that should either be left-aligned (Str values), or right-aligned (all others).

  21. def renderStream[F[_]](src: Process[F, Data], n: Refined[slamdata.Predef.Int, Positive]): Process[F, slamdata.Predef.List[slamdata.Predef.String]]

    Permalink

    Render an unbounded series of values to a series of rows, all with the same columns, which are discovered by pre-processing the first n (>= 1) values.

    Render an unbounded series of values to a series of rows, all with the same columns, which are discovered by pre-processing the first n (>= 1) values. That means we never have more than n values in memory, and for the common case where all values have the same fields, a small value of n (even 1) is sufficient. However, if elements contain variable-length arrays/sets and/or objects with varying fields, then values are more likely to be omitted.

    • The first row is the names of the columns, based on the first n values.
    • Each row contains the "pretty" String values for each of the corresponding fields, if present.
    • If new fields appear after the first n rows, they're ignored.
  22. def renderTable(rows: slamdata.Predef.List[Data]): slamdata.Predef.List[slamdata.Predef.String]

    Permalink

    Render a list of non-atomic values to a table:

    Render a list of non-atomic values to a table:

    • Str values are left-aligned; all other values are right-aligned
    • There is a column for every field/index, at any depth, that appears in any value.
    • The table is formatted as in GitHub-flavored MarkDown.
  23. def renderValues(src: slamdata.Predef.List[Data]): slamdata.Predef.List[slamdata.Predef.List[slamdata.Predef.String]]

    Permalink

    Pure version of renderStream.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unflatten(values: slamdata.Predef.ListMap[Path, Data]): Data

    Permalink
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped