public abstract class AbstractRasterStoreProvider extends AbstractDataStoreProvider implements RasterStoreProvider
Modifier and Type | Field and Description |
---|---|
protected BufferDimensions |
dimensions |
protected static Logger |
LOG |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRasterStoreProvider(DataStoreParameters params,
DataStoreProviderServices storeServices,
DynObject metadata) |
Modifier and Type | Method and Description |
---|---|
protected void |
autoOpen() |
void |
clear() |
void |
close()
do nothing by default, override this otherwise
|
protected ResourceProvider |
createResource(java.lang.String type,
java.lang.Object[] params)
|
void |
delegate(DynObject dynObject) |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
BandDescriptorServices |
getBandDescriptor(int band)
Gets
BandDescriptor of band received as parameter. |
java.util.List<BandDescriptor> |
getBandsDescriptor() |
java.util.Iterator<?> |
getChilds()
unsupported by default (return null), override this otherwise
|
int[] |
getDataTypes() |
DynClass |
getDynClass() |
java.lang.Object |
getDynValue(java.lang.String name) |
java.awt.Image |
getImageLegend() |
Interval |
getInterval()
Gets the
Interval of the store, that means the temporal
interval where the store has valid data. |
NoData |
getNoData(RasterQuery rasterQuery,
int band) |
NoData[] |
getNoDatas() |
DataStoreParameters |
getParameters()
Return the parameters of this provider
|
RasterStoreProviderServices |
getStoreServices()
(non-Javadoc)
|
TileStruct |
getTileStruct()
Return the appropriate TileStruct for a tiled access to this provider, if can.
|
java.util.Collection<?> |
getTimes()
Gets all the possible values of time for which the store has data.
|
java.util.Collection<?> |
getTimes(Interval interval)
Gets all the possible values of time for which the store has data
and intersects with an interval.
|
boolean |
hasDynMethod(java.lang.String name) |
boolean |
hasDynValue(java.lang.String name) |
void |
implement(DynClass dynClass) |
java.lang.Object |
invokeDynMethod(int code,
java.lang.Object[] args) |
java.lang.Object |
invokeDynMethod(java.lang.String name,
java.lang.Object[] args) |
boolean |
isTiled() |
void |
refresh()
do nothing by default, override this otherwise
|
void |
setDynValue(java.lang.String name,
java.lang.Object value) |
getChildren, getResourcesStorage, getStoresRepository, setTransaction
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBuffer, getBands, getDimensions
getChildren, getExplorer, getFullName, getName, getProviderName, getResource, getResourcesStorage, getSourceId, getStoresRepository, open, setTransaction
dispose
protected static final Logger LOG
protected BufferDimensions dimensions
protected AbstractRasterStoreProvider(DataStoreParameters params, DataStoreProviderServices storeServices, DynObject metadata)
public DataStoreParameters getParameters()
RasterStoreProvider
getParameters
in interface RasterStoreProvider
protected ResourceProvider createResource(java.lang.String type, java.lang.Object[] params) throws InitializeException
type
- params
- InitializeException
public java.util.Iterator<?> getChilds()
org.gvsig.fmap.dal.spi.DataStoreProvider#getChilds()
public RasterStoreProviderServices getStoreServices()
org.gvsig.fmap.dal.feature.spi.RasterStoreProvider#getStoreServices()
public void close() throws CloseException
CloseException
DataStoreProvider.close()
public void refresh() throws OpenException
OpenException
DataStoreProvider.refresh()
public Interval getInterval()
DataStoreProvider
Interval
of the store, that means the temporal
interval where the store has valid data.public java.util.Collection<?> getTimes()
DataStoreProvider
Time
objects.public java.util.Collection<?> getTimes(Interval interval)
DataStoreProvider
interval
- the interval of timeTime
objects.public DynClass getDynClass()
getDynClass
in interface DynObject
public java.lang.Object getDynValue(java.lang.String name) throws DynFieldNotFoundException
getDynValue
in interface DynObject
DynFieldNotFoundException
public void setDynValue(java.lang.String name, java.lang.Object value) throws DynFieldNotFoundException
setDynValue
in interface DynObject
DynFieldNotFoundException
public boolean hasDynValue(java.lang.String name)
hasDynValue
in interface DynObject
public java.lang.Object invokeDynMethod(int code, java.lang.Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException
public java.lang.Object invokeDynMethod(java.lang.String name, java.lang.Object[] args) throws DynMethodException
invokeDynMethod
in interface DynObject
DynMethodException
protected void doDispose() throws BaseException
AbstractDisposable
AbstractDisposable.dispose()
method, to be
implemented by child classes.doDispose
in class AbstractDisposable
BaseException
AbstractDisposable.dispose()
public TileStruct getTileStruct()
RasterStoreProvider
getTileStruct
in interface RasterStoreProvider
protected void autoOpen()
public java.awt.Image getImageLegend()
getImageLegend
in interface RasterStoreProvider
public java.util.List<BandDescriptor> getBandsDescriptor()
public BandDescriptorServices getBandDescriptor(int band)
RasterStoreProvider
BandDescriptor
of band received as parameter. If band does
not have BandAttributeDescriptor
, this method will return an
empty BandDescriptor
.getBandDescriptor
in interface RasterStoreProvider
band
- Band to get its BandDescriptor
public NoData getNoData(RasterQuery rasterQuery, int band)
public NoData[] getNoDatas()
public int[] getDataTypes()
public boolean isTiled()
isTiled
in interface RasterStoreProvider
public boolean hasDynMethod(java.lang.String name)
hasDynMethod
in interface DynObject_v2