Flow PHP

InferredSchemaException extends InvalidArgumentException

FinalYes

Methods

because()  : self
columnsDiverge()  : self
filesDiverge()  : self
pastTheSample()  : self

Methods

because()

public static because(string $format, float|int|string ...$parameters) : self
Parameters
$format : string
$parameters : float|int|string
Return values
self

columnsDiverge()

public static columnsDiverge(string $source, string $inferredFrom, Schema $inferred, array<int, string> $columns, SchemaInference $inference) : self
Parameters
$source : string
$inferredFrom : string
$inferred : Schema
$columns : array<int, string>
  • the columns the source actually carries - its header, duplicates already collapsed
$inference : SchemaInference
Return values
self

filesDiverge()

public static filesDiverge(string $source, string $readFrom, ValidationContext $validation) : self
Parameters
$source : string
$readFrom : string
  • the file the extractor's schema was read from, the first one it listed
$validation : ValidationContext
Return values
self
On this page

Search results