gravitino.api.rel.partitions.range_partition.RangePartition

class gravitino.api.rel.partitions.range_partition.RangePartition

Bases: Partition

A range partition represents a result of range partitioning. For example, for range partition

` PARTITION p20200321 VALUES LESS THAN ("2020-03-22") `

its upper bound is “2020-03-22” and its lower bound is null.

APIs that are still evolving towards becoming stable APIs, and can change from one feature release to another (0.5.0 to 0.6.0).

__init__()

Methods

__init__()

lower()

Returns:

name()

Returns:

properties()

Returns:

upper()

Returns:

abstract lower() Literal[Any]
Returns:

Literal[Any]: The lower bound of the partition.

abstract name() str
Returns:

str: The name of the partition.

abstract properties() Dict[str, str]
Returns:

Dict[str, str]: The properties of the partition, such as statistics, location, etc.

abstract upper() Literal[Any]
Returns:

Literal[Any]: The upper bound of the partition.