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
|
addMetadata, clearMetadata, clone, getElementClass, getElementsPerItem, getErrors, getRank, getShape, getSize, getSlice, getSlice, getSlice, getSlice, getSlice, getSlice, getSliceView, getSliceView, getSliceView, getTransposedView, hasErrors, setErrors, setMetadata, setShape, squeezeEnds
getFirstMetadata, getMetadata, getMetadata
addDataListener, fireDataListeners, getDataset, getMaxShape, refreshShape, removeDataListener, resize, setMaxShape, startUpdateChecker
static final int UNLIMITED
int[] getChunking()
void setChunking(int... chunks)
chunks
- chunk shapevoid setSaver(ILazySaver saver)
saver
- void setSlice(IMonitor monitor, IDataset data, SliceND slice) throws DatasetException
monitor
- data
- slice
- an n-D sliceDatasetException
void setSlice(IMonitor monitor, IDataset data, int[] start, int[] stop, int[] step) throws DatasetException
monitor
- data
- start
- 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
void setSliceSync(IMonitor monitor, IDataset data, SliceND slice) throws DatasetException
monitor
- data
- slice
- an n-D sliceDatasetException
void setWritingAsync(boolean async)
async
- Object getFillValue()
void setFillValue(Object fill)
fill
- Copyright © 2014–2019 Eclipse Foundation. All rights reserved.