Column

com.phasmidsoftware.tableparser.core.table.Column
See theColumn companion object
case class Column(clazz: String, optional: Boolean, maybeStatistics: Option[MaybeStatistics])

A representation of the analysis of a column.

Value parameters

clazz

a String denoting which class (maybe which variant of class) this column may be represented as.

maybeStatistics

an optional MaybeStatistics (eager or lazy); None if statistics are unavailable or deferred.

optional

if true then this column contains nulls (empty strings).

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Converts the current Column instance into a descriptive string representation.

Converts the current Column instance into a descriptive string representation.

The output string is generated based on the following rules:

  • If the optional field is true, the string starts with "optional ".
  • Appends the clazz value.
  • If maybeStatistics contains a value, forces evaluation and appends the statistics.

Attributes

Returns

a string representation of the Column instance. This includes the class type, optionality, and any associated statistics (if present).

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product