GoogleSheetExtractor implements BatchableExtractor, Extractor, InfersSchema, LimitPushDown, MetadataColumnsExtractor, RewindableExtractor uses Batches, PushesLimit, MetadataColumns
FinalYes
Tags
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
staticisRepeatable()
public
isRepeatable() : bool
Return values
boolschema()
public
schema() : Schema
Return values
SchemawithDropExtraColumns()
public
withDropExtraColumns(bool $dropExtraColumns) : self
Parameters
- $dropExtraColumns : bool
Return values
selfwithEmptyToNull()
public
withEmptyToNull(bool $emptyToNull) : self
Parameters
- $emptyToNull : bool
Return values
selfwithHeader()
public
withHeader(bool $withHeader) : self
Parameters
- $withHeader : bool
Return values
selfwithOptions()
public
withOptions(GoogleSheetOptions $options) : self
Parameters
- $options : GoogleSheetOptions
Return values
selfwithRowsPerPage()
public
withRowsPerPage(int $rowsPerPage) : self
Parameters
- $rowsPerPage : int
Return values
selfwithSchema()
public
withSchema(Schema $schema) : static
Parameters
- $schema : Schema