public interface ILazyWriteableDataset extends IDynamicDataset
| Modifier and Type | Field and Description |
|---|---|
static int |
UNLIMITED
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getChunking()
Get chunking
|
Object |
getFillValue()
Get the value used to fill an un-initialized dataset
|
void |
setChunking(int... chunks)
Set chunking
|
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
|
addMetadata, clearMetadata, clone, getElementClass, getElementsPerItem, getErrors, getRank, getShape, getSize, getSlice, getSlice, getSlice, getSlice, getSlice, getSlice, getSliceView, getSliceView, getSliceView, getTransposedView, hasErrors, setErrors, setMetadata, setShapegetFirstMetadata, getMetadata, getMetadataaddDataListener, fireDataListeners, getDataset, getMaxShape, refreshShape, removeDataListener, resize, setMaxShape, startUpdateCheckerstatic final int UNLIMITED
int[] getChunking()
void setChunking(int... chunks)
chunks - chunk shapevoid 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()
ILazyDatasetsqueezeEnds in interface ILazyDatasetCopyright © 2014–2022 Eclipse Foundation. All rights reserved.