Flow PHP

DecimalConverter implements Converter

Read onlyYes
FinalYes

Interfaces

Converter

Methods

__construct()  : mixed
forColumn()  : self|null
fromParquetType()  : float
toParquetType()  : int|string

Methods

__construct()

public __construct(PhysicalType $physicalType, int $precision, int $scale[, int|null $byteLength = null ]) : mixed
Parameters
$physicalType : PhysicalType
$precision : int
$scale : int
$byteLength : int|null = null

fromParquetType()

public fromParquetType(mixed $data) : float
Parameters
$data : mixed
Return values
float

toParquetType()

public toParquetType(mixed $data) : int|string
Parameters
$data : mixed
Return values
int|string
On this page

Search results