SchemaInferrer
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- infer() : Inferred
- everyRow() sniffs every unit whole, through the inference's Sniffs when it takes them, and merges the samples in unit order; a bounded sample drains one row budget across the units in listing order, counting a unit toward filesToSniff only when it yielded a row.
Methods
__construct()
public
__construct(SchemaInference $inference) : mixed
Parameters
- $inference : SchemaInference
infer()
everyRow() sniffs every unit whole, through the inference's Sniffs when it takes them, and merges the samples in unit order; a bounded sample drains one row budget across the units in listing order, counting a unit toward filesToSniff only when it yielded a row.
public
infer(Sniffer $sniffer) : Inferred
Parameters
- $sniffer : Sniffer