Class Range

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Range
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.Object getMax()
      Returns the max range value
      long getMaxSize()
      Retrieves the max value size
      java.math.BigInteger getMaxSizeBI()
      Retrieves the max value size
      java.lang.String getMaxVar()
      Returns the max value fo a var dim
      java.lang.Object getMin()
      Returns the min range value
      long getMinSize()
      Retrieves the min value size
      java.math.BigInteger getMinSizeBI()
      Retrieves the min value size
      java.lang.String getMinVar()
      Returns the min range value for var dims
      tiledb_range_t getRange_t()
      Returns the c pointer fot his range
      void setMax​(java.lang.Object max)
      Sets the max value for this range
      void setMaxSize​(long size)
      Sets the max size
      void setMaxSize​(java.math.BigInteger size)
      Sets the max size
      void setMin​(java.lang.Object min)
      Sets the min value for this range
      void setMinSize​(long size)
      Sets the min size
      void setMinSize​(java.math.BigInteger size)
      Sets the min size
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Range

        public Range​(Context ctx,
                     Domain domain,
                     long dimIdx)
        Constructor
        Parameters:
        ctx - The TileDB context
        domain - The array domain
        dimIdx - The dimension index to add the range to
      • Range

        public Range​(Context ctx,
                     tiledb_range_t range,
                     Domain domain,
                     long dimIdx)
        Constructor
        Parameters:
        ctx - The TileDB context
        range - C pointer to the range
        domain - The array domain
        dimIdx - The dimension index to add the range to
    • Method Detail

      • setMin

        public void setMin​(java.lang.Object min)
                    throws TileDBError
        Sets the min value for this range
        Parameters:
        min - The min value
        Throws:
        TileDBError
      • setMinSize

        public void setMinSize​(long size)
        Sets the min size
        Parameters:
        size - The size
      • setMinSize

        public void setMinSize​(java.math.BigInteger size)
        Sets the min size
        Parameters:
        size - The size
      • getMinSize

        public long getMinSize()
        Retrieves the min value size
        Returns:
        The size as a long
      • getMinSizeBI

        public java.math.BigInteger getMinSizeBI()
        Retrieves the min value size
        Returns:
        The size as a BigInteger
      • setMax

        public void setMax​(java.lang.Object max)
                    throws TileDBError
        Sets the max value for this range
        Parameters:
        max - The max value
        Throws:
        TileDBError
      • setMaxSize

        public void setMaxSize​(long size)
        Sets the max size
        Parameters:
        size - The size
      • setMaxSize

        public void setMaxSize​(java.math.BigInteger size)
        Sets the max size
        Parameters:
        size - The size
      • getMaxSize

        public long getMaxSize()
        Retrieves the max value size
        Returns:
        The size as a long
      • getMaxSizeBI

        public java.math.BigInteger getMaxSizeBI()
        Retrieves the max value size
        Returns:
        The size as a BigInteger
      • getMin

        public java.lang.Object getMin()
                                throws TileDBError
        Returns the min range value
        Returns:
        the value
        Throws:
        TileDBError
      • getMinVar

        public java.lang.String getMinVar()
                                   throws TileDBError
        Returns the min range value for var dims
        Returns:
        The value
        Throws:
        TileDBError
      • getMax

        public java.lang.Object getMax()
                                throws TileDBError
        Returns the max range value
        Returns:
        the max value
        Throws:
        TileDBError
      • getMaxVar

        public java.lang.String getMaxVar()
                                   throws TileDBError
        Returns the max value fo a var dim
        Returns:
        The max value
        Throws:
        TileDBError
      • getRange_t

        public tiledb_range_t getRange_t()
        Returns the c pointer fot his range
        Returns:
        The c pointer
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable