[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061926#comment-16061926
 ] 

ASF subversion and git services commented on ASTERIXDB-1944:
------------------------------------------------------------

Commit 63ab05d2a60c5b18bba3e9e4a350a79abfc728f6 in asterixdb's branch 
refs/heads/master from [~alamoudi]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=63ab05d ]

[ASTERIXDB-1944][STO] Align LSM inverted index with other indexes

- user model changes: no
- storage format changes: no
- interface changes: yes
  IInvertedIndexComponent was introduced to separate LSM inverted
  index from its component and avoid multiple MethodNotSupported
  exceptions

Change-Id: I0fb7b446edfb14de25ecaf99965ae0a7325101c9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1852
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <hubail...@gmail.com>


> Align LSM Inverted index and its individual components with other types of 
> indexes
> ----------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1944
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1944
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: STO - Storage
>            Reporter: Abdullah Alamoudi
>            Assignee: Abdullah Alamoudi
>
> The bad design is causing many methods which throws 
> UnsupportedOperationException such the following in LSMInvertedIndex as:
> @Override
>     public IInvertedListCursor createInvertedListCursor() {
>         throw new UnsupportedOperationException("Cannot create inverted list 
> cursor on lsm inverted index.");
>     }
>     @Override
>     public void openInvertedListCursor(IInvertedListCursor listCursor, 
> ITupleReference searchKey,
>             IIndexOperationContext ictx) throws HyracksDataException {
>         throw new UnsupportedOperationException("Cannot open inverted list 
> cursor on lsm inverted index.");
>     }
>     @Override
>     public void purge() throws HyracksDataException {
>         throw new UnsupportedOperationException();
>     }



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to