Search in sources :

Example 1 with ProxyDistributedLookupBatch

use of org.apache.ignite.internal.processors.query.h2.opt.join.ProxyDistributedLookupBatch in project ignite by apache.

the class GridH2ProxyIndex method createLookupBatch.

/**
 * {@inheritDoc}
 */
@Override
public IndexLookupBatch createLookupBatch(TableFilter[] filters, int filter) {
    IndexLookupBatch batch = idx.createLookupBatch(filters, filter);
    if (batch == null)
        return null;
    GridH2RowDescriptor rowDesc = ((GridH2Table) idx.getTable()).rowDescriptor();
    return new ProxyDistributedLookupBatch(batch, rowDesc);
}
Also used : ProxyDistributedLookupBatch(org.apache.ignite.internal.processors.query.h2.opt.join.ProxyDistributedLookupBatch) IndexLookupBatch(org.h2.index.IndexLookupBatch)

Aggregations

ProxyDistributedLookupBatch (org.apache.ignite.internal.processors.query.h2.opt.join.ProxyDistributedLookupBatch)1 IndexLookupBatch (org.h2.index.IndexLookupBatch)1