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 : BsonType
- $DATE : DateType
- $DECIMAL : DecimalType
- $ENUM : EnumType
- $FLOAT16 : Float16Type
- $INTEGER : IntType
- $isValidate : mixed
- $JSON : JsonType
- $LIST : ListType
- $MAP : MapType
- $STRING : StringType
- $TIME : TimeType
- $TIMESTAMP : TimestampType
- $UNKNOWN : NullType
- $UUID : UUIDType
Methods
- __construct() : mixed
- getName() : mixed
- read() : mixed
- write() : mixed
Properties
$_TSPEC
public
static mixed
$_TSPEC
= [1 => ['var' => 'STRING', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\StringType'], 2 => ['var' => 'MAP', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\MapType'], 3 => ['var' => 'LIST', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\ListType'], 4 => ['var' => 'ENUM', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\EnumType'], 5 => ['var' => 'DECIMAL', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\DecimalType'], 6 => ['var' => 'DATE', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\DateType'], 7 => ['var' => 'TIME', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\TimeType'], 8 => ['var' => 'TIMESTAMP', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\TimestampType'], 10 => ['var' => 'INTEGER', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\IntType'], 11 => ['var' => 'UNKNOWN', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\NullType'], 12 => ['var' => 'JSON', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\JsonType'], 13 => ['var' => 'BSON', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\BsonType'], 14 => ['var' => 'UUID', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\UUIDType'], 15 => ['var' => 'FLOAT16', 'isRequired' => false, 'type' => \Thrift\Type\TType::STRUCT, 'class' => '\Flow\Parquet\Thrift\Float16Type']]
$BSON
public
BsonType
$BSON
$DATE
public
DateType
$DATE
$DECIMAL
public
DecimalType
$DECIMAL
$ENUM
public
EnumType
$ENUM
$FLOAT16
public
Float16Type
$FLOAT16
$INTEGER
public
IntType
$INTEGER
$isValidate
public
static mixed
$isValidate
= false
$JSON
public
JsonType
$JSON
$LIST
public
ListType
$LIST
$MAP
public
MapType
$MAP
$STRING
public
StringType
$STRING
$TIME
public
TimeType
$TIME
$TIMESTAMP
public
TimestampType
$TIMESTAMP
$UNKNOWN
public
NullType
$UNKNOWN
$UUID
public
UUIDType
$UUID
Methods
__construct()
public
__construct([mixed $vals = null ]) : mixed
Parameters
- $vals : mixed = null
getName()
public
getName() : mixed
read()
public
read(mixed $input) : mixed
Parameters
- $input : mixed
write()
public
write(mixed $output) : mixed
Parameters
- $output : mixed