Package io.delta.kernel.expressions
Class PartitionValueExpression
Object
io.delta.kernel.expressions.PartitionValueExpression
- All Implemented Interfaces:
Expression
Expression to decode the serialized partition value into partition type value according the
Delta Protocol spec. Currently all valid partition types are supported except the `timestamp`
and `timestamp without timezone` types.
- Name:
partition_value
- Semantic:
partition_value(string, datatype)
. Decode the partition value of type datatype from the serialized string format.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionValueExpression
(Expression serializedPartitionValue, DataType partitionDataType) Createpartition_value
expression. -
Method Summary
-
Constructor Details
-
PartitionValueExpression
Createpartition_value
expression.- Parameters:
serializedPartitionValue
- Input expression providing the partition values in serialized format.partitionDataType
- Partition data type to which string partition value is deserialized as according to the Delta Protocol.
-
-
Method Details
-
getInput
Get the expression reference to the serialized partition value. -
getDataType
Get the data type of the partition value. -
getChildren
- Specified by:
getChildren
in interfaceExpression
- Returns:
- a list of expressions that are input to this expression.
-
toString
-