[ 
https://issues.apache.org/jira/browse/IGNITE-15885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksandr Polovtcev updated IGNITE-15885:
-----------------------------------------
    Description: 
# Add {{IndexStorage}} interface:

{code:java}
public interface IndexStorage {
    /** Index ID. */
    IgniteUuid id();
    
    /** Index configuration. */
    TableIndexView configuration();
    
    /** Adds the given row to the index */
    void put(IndexRow row);
    
    /** Removes the given row from the index. */
    void remove(IndexRow row);
    
    /** Replaces the {@code oldRow} with {@code newRow}. */
    void replace(IndexRow oldRow, IndexRow newRow);
    
    /** Returns a range of index rows as specified in IEP-74. */
    Cursor<IndexRow> range(IndexRow lowerBound, IndexRow upperBound, byte 
scanBoundMask, BitSet includedColumns);
}
{code}


  was:
# Add {{IndexStorage}} interface:

{code:java}
public interface IndexStorage {
    IgniteUuid id();
    
    TableIndexView configuration();
    
    void put(IndexRow row);
    
    void remove(IndexRow row);
    
    void replace(IndexRow oldRow, IndexRow newRow);
    
    Cursor<IndexRow> scan(IndexRow lowerBound, IndexRow upperBound, byte 
scanBoundMask, BitSet includedColumns);
}
{code}



> Create and implement SortedIndexStorage based on RocksDB
> --------------------------------------------------------
>
>                 Key: IGNITE-15885
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15885
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Major
>              Labels: ignite-3
>
> # Add {{IndexStorage}} interface:
> {code:java}
> public interface IndexStorage {
>     /** Index ID. */
>     IgniteUuid id();
>     
>     /** Index configuration. */
>     TableIndexView configuration();
>     
>     /** Adds the given row to the index */
>     void put(IndexRow row);
>     
>     /** Removes the given row from the index. */
>     void remove(IndexRow row);
>     
>     /** Replaces the {@code oldRow} with {@code newRow}. */
>     void replace(IndexRow oldRow, IndexRow newRow);
>     
>     /** Returns a range of index rows as specified in IEP-74. */
>     Cursor<IndexRow> range(IndexRow lowerBound, IndexRow upperBound, byte 
> scanBoundMask, BitSet includedColumns);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to