abstract class AbstractCommand extends Command (View source)

Constants

DB

COLLECTION

INDEX

Methods

configure()

No description

processDocumentCollection(SchemaManager $sm, string $document, int|null $maxTimeMs, WriteConcern|null $writeConcern)

No description

processCollection(SchemaManager $sm, int|null $maxTimeMs, WriteConcern|null $writeConcern)

No description

processDocumentDb(SchemaManager $sm, string $document, int|null $maxTimeMs, WriteConcern|null $writeConcern)

No description

processDb(SchemaManager $sm, int|null $maxTimeMs, WriteConcern|null $writeConcern)

No description

processDocumentIndex(SchemaManager $sm, string $document, int|null $maxTimeMs, WriteConcern|null $writeConcern)

No description

processIndex(SchemaManager $sm, int|null $maxTimeMs, WriteConcern|null $writeConcern)

No description

getSchemaManager()

No description

getMaxTimeMsFromInput(InputInterface $input)

No description

getWriteConcernFromInput(InputInterface $input)

No description

Details

protected configure()

abstract protected processDocumentCollection(SchemaManager $sm, string $document, int|null $maxTimeMs, WriteConcern|null $writeConcern)

Parameters

SchemaManager $sm
string $document
int|null $maxTimeMs
WriteConcern|null $writeConcern

abstract protected processCollection(SchemaManager $sm, int|null $maxTimeMs, WriteConcern|null $writeConcern)

Parameters

SchemaManager $sm
int|null $maxTimeMs
WriteConcern|null $writeConcern

abstract protected processDocumentDb(SchemaManager $sm, string $document, int|null $maxTimeMs, WriteConcern|null $writeConcern)

Parameters

SchemaManager $sm
string $document
int|null $maxTimeMs
WriteConcern|null $writeConcern

abstract protected processDb(SchemaManager $sm, int|null $maxTimeMs, WriteConcern|null $writeConcern)

Parameters

SchemaManager $sm
int|null $maxTimeMs
WriteConcern|null $writeConcern

abstract protected processDocumentIndex(SchemaManager $sm, string $document, int|null $maxTimeMs, WriteConcern|null $writeConcern)

Parameters

SchemaManager $sm
string $document
int|null $maxTimeMs
WriteConcern|null $writeConcern

abstract protected processIndex(SchemaManager $sm, int|null $maxTimeMs, WriteConcern|null $writeConcern)

Parameters

SchemaManager $sm
int|null $maxTimeMs
WriteConcern|null $writeConcern

protected SchemaManager getSchemaManager()

Return Value

SchemaManager

protected DocumentManager getDocumentManager()

Return Value

DocumentManager

protected ClassMetadataFactory getMetadataFactory()

Return Value

ClassMetadataFactory

protected getMaxTimeMsFromInput(InputInterface $input)

Parameters

InputInterface $input

protected getWriteConcernFromInput(InputInterface $input)

Parameters

InputInterface $input