fi.pelam.csv.table

TableReadingState

final case class TableReadingState[RT, CT](cells: IndexedSeq[Cell] = IndexedSeq(), rowTypes: RowTypes[RT] = SortedBiMap[RowKey, RT](), colTypes: ColTypes[CT] = SortedBiMap[ColKey, CT](), errors: TableReadingErrors = TableReadingErrors()) extends StageResult[TableReadingState[RT, CT]] with Product with Serializable

This is class is an internal class used to thread state through stages in TableReader.

Source
TableReadingState.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, StageResult[TableReadingState[RT, CT]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TableReadingState
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. StageResult
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableReadingState(cells: IndexedSeq[Cell] = IndexedSeq(), rowTypes: RowTypes[RT] = SortedBiMap[RowKey, RT](), colTypes: ColTypes[CT] = SortedBiMap[ColKey, CT](), errors: TableReadingErrors = TableReadingErrors())

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 addError(error: TableReadingError): TableReadingState[RT, CT]

  5. def addErrors(moreErrors: Iterator[TableReadingError]): TableReadingState[RT, CT]

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val cells: IndexedSeq[Cell]

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val colTypes: ColTypes[CT]

  10. def defineColType(col: ColKey, colType: CT): TableReadingState[RT, CT]

  11. def defineRowType(row: RowKey, rowType: RT): TableReadingState[RT, CT]

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. val errors: TableReadingErrors

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

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

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val rowTypes: RowTypes[RT]

  21. val stageNumber: Int

    Simple counter for stages executed so far.

    Simple counter for stages executed so far. Should start initially at zero and increment by one after each stage.

    This is used in error handling schemes to compare how far in the pipeline the computation got before errors.

    Specifically this feature is used by fi.pelam.csv.table.TableReaderEvaluator in the ordering of fi.pelam.csv.table.TableReadingErrors.

    Definition Classes
    TableReadingStateStageResult
  22. def stageNumberIncremented(): TableReadingState[RT, CT]

    fi.pelam.csv.util.Pipeline uses this to update stage number automatically.

    fi.pelam.csv.util.Pipeline uses this to update stage number automatically.

    returns

    Otherwise identical object, but with stage number incremented.

    Definition Classes
    TableReadingStateStageResult
  23. val success: Boolean

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

    Definition Classes
    AnyRef
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StageResult[TableReadingState[RT, CT]]

Inherited from AnyRef

Inherited from Any

Ungrouped