Class CurrentDomain

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CurrentDomain
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Detail

      • CurrentDomain

        public CurrentDomain​(Context ctx,
                             Domain domain)
                      throws TileDBError
        Constructor
        Parameters:
        ctx - The context
        domain - The array domain
        Throws:
        TileDBError
    • Method Detail

      • setNDRectangle

        public void setNDRectangle​(NDRectangle ndRectangle)
                            throws TileDBError
        Set a N-dimensional rectangle representation on a current domain
        Parameters:
        ndRectangle - The ndrectangle
        Throws:
        TileDBError
      • getNDRectangle

        public NDRectangle getNDRectangle()
                                   throws TileDBError
        Get the N-dimensional rectangle associated with the current domain object, error if the current domain is empty or a different representation is set.
        Returns:
        The ndrectangle
        Throws:
        TileDBError
      • isEmpty

        public boolean isEmpty()
                        throws TileDBError
        Return true if the current domain is empty
        Returns:
        True if empty
        Throws:
        TileDBError
      • close

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