All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.docs.javadoc.org.eclipse.dawnsci.analysis.tree.impl.DataNodeImpl.html Maven / Gradle / Ivy






DataNodeImpl (h5jan API)












org.eclipse.dawnsci.analysis.tree.impl

Class DataNodeImpl

    • Constructor Detail

      • DataNodeImpl

        public DataNodeImpl(long oid)
        Construct a data node with given object ID
        Parameters:
        oid - object ID
    • Method Detail

      • isUnsigned

        public boolean isUnsigned()
        Specified by:
        isUnsigned in interface DataNode
        Returns:
        true if data is unsigned
      • setUnsigned

        public void setUnsigned(boolean isUnsigned)
        Specified by:
        setUnsigned in interface DataNode
      • isString

        public boolean isString()
        Specified by:
        isString in interface DataNode
        Returns:
        true if data is string data
      • getMaxStringLength

        public int getMaxStringLength()
        Description copied from interface: DataNode
        Get maximum length of any string contained in node when it is encoded as bytes
        Specified by:
        getMaxStringLength in interface DataNode
        Returns:
        length in bytes or -1 if not a string
      • setMaxStringLength

        public void setMaxStringLength(int length)
        Description copied from interface: DataNode
        Set maximum length of any string contained in node when it is encoded as bytes
        Specified by:
        setMaxStringLength in interface DataNode
        Parameters:
        length - in bytes
      • getTypeName

        public java.lang.String getTypeName()
        Specified by:
        getTypeName in interface DataNode
        Returns:
        HDF5 type name
      • setTypeName

        public void setTypeName(java.lang.String name)
        Description copied from interface: DataNode
        Set HDF5 type name
        Specified by:
        setTypeName in interface DataNode
      • getMaxShape

        public long[] getMaxShape()
        Specified by:
        getMaxShape in interface DataNode
        Returns:
        maximum shape (can be null)
      • setMaxShape

        public void setMaxShape(long... maxShape)
        Description copied from interface: DataNode
        Set maximum shape of dataset
        Specified by:
        setMaxShape in interface DataNode
      • getRank

        public int getRank()
        Description copied from interface: DataNode
        Get the rank of the dataset
        Specified by:
        getRank in interface DataNode
        Returns:
        rank
      • getChunkShape

        public long[] getChunkShape()
        Specified by:
        getChunkShape in interface DataNode
        Returns:
        chunk shape (can be null)
      • setChunkShape

        public void setChunkShape(long... chunkShape)
        Description copied from interface: DataNode
        Set chunk shape of dataset
        Specified by:
        setChunkShape in interface DataNode
      • isSupported

        public boolean isSupported()
        Specified by:
        isSupported in interface DataNode
        Returns:
        true if this dataset is supported
      • setEmpty

        public void setEmpty()
        Description copied from interface: DataNode
        Set dataset to be empty
        Specified by:
        setEmpty in interface DataNode
      • getString

        public java.lang.String getString()
        Description copied from interface: DataNode
        Get a string if this dataset is a string or dataset
        Specified by:
        getString in interface DataNode
        Returns:
        string or null
      • setString

        public void setString(java.lang.String text)
        Description copied from interface: DataNode
        Set string
        Specified by:
        setString in interface DataNode
      • getDataset

        public ILazyDataset getDataset()
        Description copied from interface: DataNode
        Returns the dataset for the data node. This can return null for empty datasets
        Specified by:
        getDataset in interface DataNode
        Returns:
        lazy dataset
      • getWriteableDataset

        public ILazyWriteableDataset getWriteableDataset()
        Description copied from interface: DataNode
        Returns the ILazyWriteableDataset for the data node This can return null if the dataset for this datanode is not writeable or is empty
        Specified by:
        getWriteableDataset in interface DataNode
        Returns:
        lazy writeable dataset
      • setDataset

        public void setDataset(ILazyDataset lazyDataset)
        Description copied from interface: DataNode
        Set given (lazy) dataset
        Specified by:
        setDataset in interface DataNode
      • isAugmented

        public boolean isAugmented()
        Specified by:
        isAugmented in interface DataNode
        Returns:
        true if dataset has been augmented with metadata
      • setAugmented

        public void setAugmented()
        Description copied from interface: DataNode
        Set state to indicate dataset has been augmented with metadata
        Specified by:
        setAugmented in interface DataNode
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class NodeImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy