org.gcube.data.spd.plugin.fwk.capabilities
Class OccurrencesCapability
java.lang.Object
org.gcube.data.spd.plugin.fwk.capabilities.OccurrencesCapability
- All Implemented Interfaces:
- org.gcube.data.spd.model.PropertySupport, Searchable<org.gcube.data.spd.model.products.OccurrencePoint>
public abstract class OccurrencesCapability
- extends Object
- implements org.gcube.data.spd.model.PropertySupport, Searchable<org.gcube.data.spd.model.products.OccurrencePoint>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gcube.data.spd.model.PropertySupport |
getSupportedProperties |
OccurrencesCapability
public OccurrencesCapability()
getOccurrencesByProductKeys
public abstract void getOccurrencesByProductKeys(ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
Iterator<String> keys)
- retrieves all occurrences for the given ids
- Parameters:
writer - the stream where the elements must be wrotekeys - a list of products keys
- Throws:
Exception
getOccurrencesByIds
public abstract void getOccurrencesByIds(ClosableWriter<org.gcube.data.spd.model.products.OccurrencePoint> writer,
Iterator<String> ids)
- retrieves all occurrences for the given ids
- Parameters:
writer - the stream where the elements must be wroteids - a list of occurrence ids
- Throws:
Exception
getHandledClass
public Class<org.gcube.data.spd.model.products.OccurrencePoint> getHandledClass()
- Specified by:
getHandledClass in interface Searchable<org.gcube.data.spd.model.products.OccurrencePoint>
Copyright © 2013. All Rights Reserved.