ColumnSelection

com.phasmidsoftware.tableparser.core.table.ColumnSelection
case class ColumnSelection(spans: Seq[Span]) extends CsvFragment

A selection of columns (e.g. "col=2-3").

Value parameters

spans

the specifications.

Attributes

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

Members list

Value members

Concrete methods

def select(table: RawTable): RawTable

Method to select the columns of a raw table (a table of a case class can't lose its fields). The header is kept, with the names of the selected columns.

Method to select the columns of a raw table (a table of a case class can't lose its fields). The header is kept, with the names of the selected columns.

Value parameters

table

a RawTable.

Attributes

Returns

a RawTable of the selected columns, in order (each once).

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