Skip to content

Commit

Permalink
IGNITE-22972 Fix Geo-spatial indexes compilation after IGNITE-22798
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisPolo authored Aug 14, 2024
1 parent fe451d5 commit 5b4f9de
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
package org.apache.ignite.internal.processors.query.h2.opt;

import java.util.UUID;

import org.apache.ignite.internal.cache.query.index.IndexDefinition;
import org.apache.ignite.internal.cache.query.index.sorted.IndexRow;
import org.apache.ignite.internal.cache.query.index.sorted.client.AbstractClientIndex;
import org.apache.ignite.internal.util.lang.GridCursor;
Expand Down Expand Up @@ -51,6 +53,11 @@ public GeoSpatialClientIndex(GeoSpatialClientIndexDefinition def) {
return def.idxName().idxName();
}

/** {@inheritDoc} */
@Override public IndexDefinition indexDefinition() {
return def;
}

/** {@inheritDoc} */
@Override public GridCursor<IndexRow> find(int seg, TableFilter filter) {
throw unsupported();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.internal.cache.query.index.AbstractIndex;
import org.apache.ignite.internal.cache.query.index.IndexDefinition;
import org.apache.ignite.internal.cache.query.index.SingleCursor;
import org.apache.ignite.internal.cache.query.index.sorted.IndexRow;
import org.apache.ignite.internal.cache.query.index.sorted.IndexRowImpl;
Expand Down Expand Up @@ -257,6 +258,11 @@ private boolean remove(CacheDataRow row) {
}
}

/** {@inheritDoc} */
@Override public IndexDefinition indexDefinition() {
return def;
}

/**
* @param filter Table filter.
* @return Cursor.
Expand Down

0 comments on commit 5b4f9de

Please sign in to comment.