com.datastrato.gravitino.rel.partitions.RangePartition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Gravitino is a high-performance, geo-distributed and federated metadata lake.
The newest version!
/*
* Copyright 2024 Datastrato Pvt Ltd.
* This software is licensed under the Apache License version 2.
*/
package com.datastrato.gravitino.rel.partitions;
import com.datastrato.gravitino.annotation.Evolving;
import com.datastrato.gravitino.rel.expressions.literals.Literal;
/**
* 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.
*/
@Evolving
public interface RangePartition extends Partition {
/** @return The upper bound of the partition. */
Literal> upper();
/** @return The lower bound of the partition. */
Literal> lower();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy