Flow PHP

TimestampType

Timestamp logical type annotation.

Allowed for physical types: INT64

Properties

$_TSPEC  : mixed
$isAdjustedToUTC  : bool
$isValidate  : mixed
$unit  : TimeUnit

Methods

__construct()  : mixed
getName()  : mixed
read()  : mixed
write()  : mixed

Properties

$_TSPEC

public static mixed $_TSPEC = [1 => ['var' => 'isAdjustedToUTC', 'isRequired' => true, 'type' => \Thrift\Type\TType::BOOL], 2 => ['var' => 'unit', 'isRequired' => true, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\TimeUnit']]

Methods

__construct()

public __construct([mixed $vals = null ]) : mixed
Parameters
$vals : mixed = null

read()

public read(mixed $input) : mixed
Parameters
$input : mixed

write()

public write(mixed $output) : mixed
Parameters
$output : mixed

        
On this page

Search results