org.eclipse.january.metadata

## Interface OriginMetadata

- All Superinterfaces:
    Cloneable, DimensionMetadata, MetadataType, Serializable

      public interface OriginMetadata
      extends DimensionMetadata

  Defines the origin of a dataset which is a slice of a parent dataset

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDatasetName()`
    `String` | `getFilePath()`
    `ILazyDataset` | `getParent()`
    `Slice[]` | `getSliceFromInput()` The starting slice
    `Slice[]` | `getSliceInOutput()` Current slice information.
    `void` | `initialize(ILazyDataset parent, Slice[] outSlice, int[] dataDims, String filePath, String datasetName)` Initialize origin of dataset

    - ### Methods inherited from interface org.eclipse.january.metadata.DimensionMetadata

      `getDataChunkDimensions, getDataDimensions, getDataMaxDimensions, initialize`

    - ### Methods inherited from interface org.eclipse.january.metadata.MetadataType

      `clone`

- - ### Method Detail

    - #### initialize

          void initialize(ILazyDataset parent,
                          Slice[] outSlice,
                          int[] dataDims,
                          String filePath,
                          String datasetName)

      Initialize origin of dataset
      Parameters:
        `parent` - of dataset
        `outSlice` - output
        `dataDims` - dimensions of parent dataset
        `filePath` - location of file
        `datasetName` - path in file

    - #### getParent

          ILazyDataset getParent()

      Returns:
        ILazyDataset

    - #### getSliceFromInput

          Slice[] getSliceFromInput()

      The starting slice
      Returns:
        the initial slice

    - #### getDatasetName

          String getDatasetName()

      Returns:
        name of dataset

    - #### getFilePath

          String getFilePath()

      Returns:
        file path

    - #### getSliceInOutput

          Slice[] getSliceInOutput()

      Current slice information.
      Returns:
        the current slice.

Copyright © 2014–2022 Eclipse Foundation. All rights reserved.