Interface IgniteTree<L,​T>

    • Method Detail

      • put

        T put​(T val)
        throws IgniteCheckedException
        Put value in this tree.
        Parameters:
        val - Value to be associated with the specified key.
        Returns:
        The previous value associated with key.
        Throws:
        IgniteCheckedException - If failed.
      • findOne

        T findOne​(L key)
           throws IgniteCheckedException
        Returns the value to which the specified key is mapped, or null if this tree contains no mapping for the key.
        Parameters:
        key - the key whose associated value is to be returned
        Returns:
        the value to which the specified key is mapped, or null if this tree contains no mapping for the key.
        Throws:
        IgniteCheckedException - If failed.
      • find

        GridCursor<T> find​(L lower,
                           L upper)
                    throws IgniteCheckedException
        Returns a cursor from lower to upper bounds inclusive.
        Parameters:
        lower - Lower bound or null if unbounded.
        upper - Upper bound or null if unbounded.
        Returns:
        Cursor.
        Throws:
        IgniteCheckedException - If failed.
      • find

        GridCursor<T> find​(L lower,
                           L upper,
                           Object x)
                    throws IgniteCheckedException
        Returns a cursor from lower to upper bounds inclusive.
        Parameters:
        lower - Lower bound or null if unbounded.
        upper - Upper bound or null if unbounded.
        x - Implementation specific argument, null always means that we need to return full detached data row.
        Returns:
        Cursor.
        Throws:
        IgniteCheckedException - If failed.
      • remove

        T remove​(L key)
          throws IgniteCheckedException
        Removes the mapping for a key from this tree if it is present.
        Parameters:
        key - Key whose mapping is to be removed from the tree.
        Returns:
        The previous value associated with key, or null if there was no mapping for key.
        Throws:
        IgniteCheckedException - If failed.