Abdullah Alamoudi created ASTERIXDB-1944:
--------------------------------------------

             Summary: 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