public abstract class OccurrencesCapability extends Object implements org.gcube.data.spd.model.PropertySupport, Searchable<org.gcube.data.spd.model.products.OccurrencePoint>
| Constructor and Description |
|---|
OccurrencesCapability() |
| Modifier and Type | Method and Description |
|---|---|
Class<org.gcube.data.spd.model.products.OccurrencePoint> |
getHandledClass() |
abstract void |
getOccurrencesByIds(ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
Iterator<String> ids)
retrieves all occurrences for the given ids
|
abstract void |
getOccurrencesByProductKeys(ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
Iterator<String> keys)
retrieves all occurrences for the given ids
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearchByScientificNamepublic abstract void getOccurrencesByProductKeys(ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer, Iterator<String> keys) throws org.gcube.data.spd.model.exceptions.ExternalRepositoryException
writer - the stream where the elements must be wrotekeys - a list of products keysExceptionorg.gcube.data.spd.model.exceptions.ExternalRepositoryExceptionpublic abstract void getOccurrencesByIds(ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer, Iterator<String> ids) throws org.gcube.data.spd.model.exceptions.ExternalRepositoryException
writer - the stream where the elements must be wroteids - a list of occurrence idsExceptionorg.gcube.data.spd.model.exceptions.ExternalRepositoryExceptionpublic Class<org.gcube.data.spd.model.products.OccurrencePoint> getHandledClass()
getHandledClass in interface Searchable<org.gcube.data.spd.model.products.OccurrencePoint>Copyright © 2016. All Rights Reserved.