From 2372caa00f88ab930126d707bf603de9e6a7e90b Mon Sep 17 00:00:00 2001 From: "KENRICK-THINKPA\\kenricky" Date: Fri, 8 Nov 2024 12:35:01 -0800 Subject: [PATCH] created DatasourceDao interface --- .../opensearch/sql/common/geospatial/DatasourceDao.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ppl-spark-integration/src/main/java/org/opensearch/sql/common/geospatial/DatasourceDao.java diff --git a/ppl-spark-integration/src/main/java/org/opensearch/sql/common/geospatial/DatasourceDao.java b/ppl-spark-integration/src/main/java/org/opensearch/sql/common/geospatial/DatasourceDao.java new file mode 100644 index 000000000..b7378358b --- /dev/null +++ b/ppl-spark-integration/src/main/java/org/opensearch/sql/common/geospatial/DatasourceDao.java @@ -0,0 +1,9 @@ +package org.opensearch.sql.common.geospatial; + +import javafx.util.Pair; + +import java.util.stream.Stream; + +public interface DatasourceDao extends AutoCloseable { + public Stream> getGeoIps(String datasource); +}