Interface Index

    • Method Detail

      • id

        UUID id()
        Unique ID.
      • name

        String name()
        Index name.
      • onUpdate

        void onUpdate​(@Nullable
                      @Nullable CacheDataRow oldRow,
                      @Nullable
                      @Nullable CacheDataRow newRow,
                      boolean prevRowAvailable)
               throws IgniteCheckedException
        Callback that runs when the underlying cache is updated.
        Parameters:
        oldRow - Cache row that was replaced with newRow.
        newRow - Cache row that was stored.
        prevRowAvailable - Whether oldRow available.
        Throws:
        IgniteCheckedException
      • unwrap

        <T extends Index> T unwrap​(Class<T> clazz)
        Provides a standard way to access the underlying concrete index implementation to provide access to further, proprietary features.
      • destroy

        void destroy​(boolean softDelete)
        Destroy index.
        Parameters:
        softDelete - if true then perform logical deletion.
      • indexDefinition

        IndexDefinition indexDefinition()
        Returns:
        Index definition.