public interface ILazyWriteableDataset extends IDynamicDataset
Modifier and Type | Field and Description |
---|---|
static int |
UNLIMITED
|
Modifier and Type | Method and Description |
---|---|
Object |
getFillValue()
Get the value used to fill an un-initialized dataset
|
void |
setFillValue(Object fill)
Set the value used to fill an un-initialized dataset
|
void |
setSaver(ILazySaver saver)
Set saver
|
void |
setSlice(IMonitor monitor,
IDataset data,
int[] start,
int[] stop,
int[] step)
Set a slice of the dataset
|
void |
setSlice(IMonitor monitor,
IDataset data,
SliceND slice)
Set a slice of the dataset
|
void |
setSliceSync(IMonitor monitor,
IDataset data,
SliceND slice)
Set a slice of the dataset synchronously
|
void |
setWritingAsync(boolean async)
Set writing slices as asynchronous
|
ILazyWriteableDataset |
squeezeEnds()
Remove dimensions of 1 from ends of shape of the dataset
|
getChunking, setChunking
addMetadata, clearMetadata, clone, getElementClass, getElementsPerItem, getErrors, getRank, getShape, getSize, getSlice, getSlice, getSlice, getSlice, getSlice, getSlice, getSliceView, getSliceView, getSliceView, getTransposedView, hasErrors, setErrors, setMetadata, setShape
getFirstMetadata, getMetadata, getMetadata
addDataListener, fireDataListeners, getDataset, getMaxShape, refreshShape, removeDataListener, resize, setMaxShape, startUpdateChecker
static final int UNLIMITED
void setSaver(ILazySaver saver)
saver
- lazy savervoid setSlice(IMonitor monitor, IDataset data, SliceND slice) throws DatasetException
monitor
- can be nulldata
- inputslice
- an n-D sliceDatasetException
- when cannot write datavoid setSlice(IMonitor monitor, IDataset data, int[] start, int[] stop, int[] step) throws DatasetException
monitor
- can be nulldata
- inputstart
- specifies the starting indexes (can be null for origin)stop
- specifies the stopping indexes (can be null for end)step
- specifies the steps in the slice (can be null for unit steps)DatasetException
- when cannot write datavoid setSliceSync(IMonitor monitor, IDataset data, SliceND slice) throws DatasetException
monitor
- can be nulldata
- inputslice
- an n-D sliceDatasetException
- when cannot write datavoid setWritingAsync(boolean async)
async
- true if writing should be asynchronousObject getFillValue()
void setFillValue(Object fill)
fill
- valueILazyWriteableDataset squeezeEnds()
ILazyDataset
squeezeEnds
in interface ILazyDataset
Copyright © 2014–2022 Eclipse Foundation. All rights reserved.