Re: Basic index infrastructure as a part of core APIs

2020-05-23 Thread Igor Seliverstov
Roman, I see your point, Actually Index should be a basic interface, a specific implementation may be acquired by unwrap() method call (similar to the same method Cache API[1]). The specific implementation provides all additional methods. 1. https://www.javadoc.io/static/javax.cache/cache-api/1

Re: Basic index infrastructure as a part of core APIs

2020-05-23 Thread Roman Kondakov
Hi Igor, thank you for your effort! I have a question about the `Index.find(Args)` method. IEP says that it will return `a cursor over found rows`. But what if we don't need a row itself? For example in the case of possible optimizations of index scan that we can implement later. I can name a cou

Basic index infrastructure as a part of core APIs

2020-05-22 Thread Igor Seliverstov
Igniters, Some of you knows I'm working on a new Apache Calcite based SQL query execution engine now[1] and I succeeded a little in this [2]. This activity becomes more important after H2 community decided to remove a set of interfaces that we are using in our integration[3]. In scope of my curr