Flow PHP

GoogleSheetExtractor implements BatchableExtractor, Extractor, InfersSchema, LimitPushDown, MetadataColumnsExtractor, RewindableExtractor uses Batches, PushesLimit, MetadataColumns

FinalYes
Tags
import-type

GoogleSheetOptions from GoogleSheetReadOptions

Interfaces

BatchableExtractor
Extractor
InfersSchema
LimitPushDown
MetadataColumnsExtractor
RewindableExtractor

Methods

__construct()  : mixed
extract()  : Generator<Signal|null, void>
inferSchema()  : static
isRepeatable()  : bool
schema()  : Schema
withDropExtraColumns()  : self
withEmptyToNull()  : self
withHeader()  : self
withOptions()  : self
withRowsPerPage()  : self
withSchema()  : static

Methods

__construct()

public __construct(Sheets $service, string $spreadsheetId, Columns $columnRange) : mixed
Parameters
$service : Sheets
$spreadsheetId : string
$columnRange : Columns

extract()

public extract(FlowContext $context) : Generator<Signal|null, void>
Parameters
$context : FlowContext
Return values
Generator<Signal|null, void>

inferSchema()

public inferSchema(SchemaInferenceBuilder $builder) : static
Parameters
$builder : SchemaInferenceBuilder
Return values
static

withDropExtraColumns()

public withDropExtraColumns(bool $dropExtraColumns) : self
Parameters
$dropExtraColumns : bool
Return values
self

withEmptyToNull()

public withEmptyToNull(bool $emptyToNull) : self
Parameters
$emptyToNull : bool
Return values
self

withHeader()

public withHeader(bool $withHeader) : self
Parameters
$withHeader : bool
Return values
self

withOptions()

public withOptions(GoogleSheetOptions $options) : self
Parameters
$options : GoogleSheetOptions
Return values
self

withRowsPerPage()

public withRowsPerPage(int $rowsPerPage) : self
Parameters
$rowsPerPage : int
Return values
self

withSchema()

public withSchema(Schema $schema) : static
Parameters
$schema : Schema
Return values
static
On this page

Search results