SealLoader implements Loader
FinalYes
Interfaces
- Loader
Methods
- __construct() : mixed
- describe() : Description|null
- fromDescription() : static
- load() : void
- withBulkSize() : self
- withDateFormat() : self
- withDateTimeFormat() : self
- withIdentifierColumn() : self
Methods
__construct()
public
__construct(EngineInterface $engine, string $index[, Operation $operation = Operation::UPSERT ]) : mixed
Parameters
- $engine : EngineInterface
- $index : string
- $operation : Operation = Operation::UPSERT
describe()
public
describe() : Description|null
Return values
Description|nullfromDescription()
public
static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
- $data : array<string|int, mixed>
- $rebuild : Rebuild
Return values
staticload()
public
load(Rows $rows, Backend $backend) : void
Parameters
- $rows : Rows
- $backend : Backend
withBulkSize()
public
withBulkSize(int $bulkSize) : self
Parameters
- $bulkSize : int
Return values
selfwithDateFormat()
public
withDateFormat(string $dateFormat) : self
Parameters
- $dateFormat : string
Return values
selfwithDateTimeFormat()
public
withDateTimeFormat(string $dateTimeFormat) : self
Parameters
- $dateTimeFormat : string
Return values
selfwithIdentifierColumn()
public
withIdentifierColumn(string $column) : self
Parameters
- $column : string