Loading src/main/java/es/redmic/es/geodata/common/repository/GeoDataESRepository.java +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,10 @@ public abstract class GeoDataESRepository<TModel extends Feature<?, ?>> super(INDEX, TYPE); } protected GeoDataESRepository(String[] index, String type) { super(index, type); } @Override protected String getMappingFilePath(String index, String type) { return MAPPING_BASE_PATH + "geodata/" + index + MAPPING_FILE_EXTENSION; Loading src/main/java/es/redmic/es/geodata/geofixedstation/repository/GeoFixedBaseESRepository.java +4 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,10 @@ public abstract class GeoFixedBaseESRepository<TModel extends Feature<GeoDataPro super(); } public GeoFixedBaseESRepository(String[] index, String type) { super(index, type); } @SuppressWarnings("unchecked") public <T extends Geometry> GeoSearchWrapper<GeoDataProperties, T> findByDataDefinition(Long dataDefinitionId) { Loading Loading
src/main/java/es/redmic/es/geodata/common/repository/GeoDataESRepository.java +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,10 @@ public abstract class GeoDataESRepository<TModel extends Feature<?, ?>> super(INDEX, TYPE); } protected GeoDataESRepository(String[] index, String type) { super(index, type); } @Override protected String getMappingFilePath(String index, String type) { return MAPPING_BASE_PATH + "geodata/" + index + MAPPING_FILE_EXTENSION; Loading
src/main/java/es/redmic/es/geodata/geofixedstation/repository/GeoFixedBaseESRepository.java +4 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,10 @@ public abstract class GeoFixedBaseESRepository<TModel extends Feature<GeoDataPro super(); } public GeoFixedBaseESRepository(String[] index, String type) { super(index, type); } @SuppressWarnings("unchecked") public <T extends Geometry> GeoSearchWrapper<GeoDataProperties, T> findByDataDefinition(Long dataDefinitionId) { Loading