emptyEnforcer

info.fingo.spata.schema.SchemaEnforcer$.emptyEnforcer$

Schema enforcer for empty tuple of columns.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

Output type of the apply method - schema validation core result type: ValidatedRecord[Tuple, Tuple].

Output type of the apply method - schema validation core result type: ValidatedRecord[Tuple, Tuple].

Attributes

Value members

Concrete methods

override def apply(columns: EmptyTuple, record: Record): Out

Checks if record meets the type and validation rules imposed by column definitions. It is used by CSVSchema.validate method. Its instances are provided as recursive givens.

Checks if record meets the type and validation rules imposed by column definitions. It is used by CSVSchema.validate method. Its instances are provided as recursive givens.

Value parameters

columns

the tuple of columns containng schema definition

Attributes

Returns

ValidatedRecord paramatrized according to schema definition

Definition Classes