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'))
$BSON
public
null|BsonType
$BSON
= null
$DATE
public
null|DateType
$DATE
= null
$DECIMAL
public
null|DecimalType
$DECIMAL
= null
$ENUM
public
null|EnumType
$ENUM
= null
$FILE
public
null|FileType
$FILE
= null
$FLOAT16
public
null|Float16Type
$FLOAT16
= null
$GEOGRAPHY
public
null|GeographyType
$GEOGRAPHY
= null
$GEOMETRY
public
null|GeometryType
$GEOMETRY
= null
$INTEGER
public
null|IntType
$INTEGER
= null
$isValidate
public
static mixed
$isValidate
= false
$JSON
public
null|JsonType
$JSON
= null
$LIST
public
null|ListType
$LIST
= null
$MAP
public
null|MapType
$MAP
= null
$STRING
public
null|StringType
$STRING
= null
$TIME
public
null|TimeType
$TIME
= null
$TIMESTAMP
public
null|TimestampType
$TIMESTAMP
= null
$UNKNOWN
public
null|NullType
$UNKNOWN
= null
$UUID
public
null|UUIDType
$UUID
= null
$VARIANT
public
null|VariantType
$VARIANT
= null
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