Interface ClusteringBoundOrBoundary<V>

    • Method Detail

      • isBoundary

        default boolean isBoundary()
      • isOpen

        default boolean isOpen​(boolean reversed)
      • isClose

        default boolean isClose​(boolean reversed)
      • toString

        default java.lang.String toString​(TableMetadata metadata)
        Description copied from interface: ClusteringPrefix
        Generates a proper string representation of the prefix.
        Specified by:
        toString in interface ClusteringPrefix<V>
        Parameters:
        metadata - the metadata for the table the clustering prefix is of.
        Returns:
        a human-readable string representation fo this prefix.
      • invert

        ClusteringBoundOrBoundary<V> invert()
        Returns the inverse of the current bound.

        This invert both start into end (and vice-versa) and inclusive into exclusive (and vice-versa).

        Returns:
        the invert of this bound. For instance, if this bound is an exlusive start, this return an inclusive end with the same values.