[
https://issues.apache.org/jira/browse/IGNITE-15885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Polovtcev updated IGNITE-15885:
-----------------------------------------
Description:
# Add {{SortedIndexStorage}} interface:
{code:java}
public interface SortedIndexStorage {
/** Index ID. */
IgniteUuid id();
/** Index configuration. */
TableIndexView configuration();
/** Schema of the index keys. */
SchemaDescriptor schema();
/** Retrieves the key of a partition storage for the given index key. */
SearchRow get(IndexKey row);
/** Adds the given row to the index */
void put(IndexKey row);
/** Removes the given row from the index. */
void remove(IndexKey row);
/** Replaces the {@code oldRow} with the {@code newRow}. */
void replace(IndexKey oldRow, IndexKey newRow);
/** Returns a range of index rows as specified in IEP-74. */
Cursor<SearchRow> range(SearchKey lowerBound, SearchKey upperBound, byte
options);
}
{code}
was:
# Add {{SortedIndexStorage}} interface:
{code:java}
public interface SortedIndexStorage {
/** Index ID. */
IgniteUuid id();
/** Index configuration. */
TableIndexView configuration();
/** Schema of the index keys. */
IndexSchema schema();
/** Adds the given row to the index */
void put(IndexKey row);
/** Removes the given row from the index. */
void remove(IndexKey row);
/** Replaces the {@code oldRow} with {@code newRow}. */
void replace(IndexKey oldRow, IndexKey newRow);
/** Returns a range of index rows as specified in IEP-74. */
Cursor<IndexValue> range(IndexKey lowerBound, IndexKey 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 {{SortedIndexStorage}} interface:
> {code:java}
> public interface SortedIndexStorage {
> /** Index ID. */
> IgniteUuid id();
>
> /** Index configuration. */
> TableIndexView configuration();
>
> /** Schema of the index keys. */
> SchemaDescriptor schema();
>
> /** Retrieves the key of a partition storage for the given index key. */
> SearchRow get(IndexKey row);
>
> /** Adds the given row to the index */
> void put(IndexKey row);
>
> /** Removes the given row from the index. */
> void remove(IndexKey row);
>
> /** Replaces the {@code oldRow} with the {@code newRow}. */
> void replace(IndexKey oldRow, IndexKey newRow);
>
> /** Returns a range of index rows as specified in IEP-74. */
> Cursor<SearchRow> range(SearchKey lowerBound, SearchKey upperBound, byte
> options);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)