Flow PHP

LogicalType

LogicalType annotations to replace ConvertedType.

To maintain compatibility, implementations using LogicalType for a SchemaElement must also set the corresponding ConvertedType (if any) from the following table.

Properties

$_TSPEC  : mixed
$BSON  : null|BsonType
$DATE  : null|DateType
$DECIMAL  : null|DecimalType
$ENUM  : null|EnumType
$FILE  : null|FileType
$FLOAT16  : null|Float16Type
$GEOGRAPHY  : null|GeographyType
$GEOMETRY  : null|GeometryType
$INTEGER  : null|IntType
$isValidate  : mixed
$JSON  : null|JsonType
$LIST  : null|ListType
$MAP  : null|MapType
$STRING  : null|StringType
$TIME  : null|TimeType
$TIMESTAMP  : null|TimestampType
$UNKNOWN  : null|NullType
$UUID  : null|UUIDType
$VARIANT  : null|VariantType

Methods

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

Properties

$_TSPEC

public static mixed $_TSPEC = array(1 => array('var' => 'STRING', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\StringType'), 2 => array('var' => 'MAP', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\MapType'), 3 => array('var' => 'LIST', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\ListType'), 4 => array('var' => 'ENUM', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\EnumType'), 5 => array('var' => 'DECIMAL', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\DecimalType'), 6 => array('var' => 'DATE', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\DateType'), 7 => array('var' => 'TIME', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\TimeType'), 8 => array('var' => 'TIMESTAMP', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\TimestampType'), 10 => array('var' => 'INTEGER', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\IntType'), 11 => array('var' => 'UNKNOWN', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\NullType'), 12 => array('var' => 'JSON', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\JsonType'), 13 => array('var' => 'BSON', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\BsonType'), 14 => array('var' => 'UUID', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\UUIDType'), 15 => array('var' => 'FLOAT16', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\Float16Type'), 16 => array('var' => 'VARIANT', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\VariantType'), 17 => array('var' => 'GEOMETRY', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\GeometryType'), 18 => array('var' => 'GEOGRAPHY', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\GeographyType'), 19 => array('var' => 'FILE', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\ThriftModel\FileType'))

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