Class FloatScalingFilter

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class FloatScalingFilter
    extends Filter
    • Constructor Detail

      • FloatScalingFilter

        public FloatScalingFilter​(Context ctx)
                           throws TileDBError
        Constructor.
        Parameters:
        ctx - The TileDB context
        Throws:
        TileDBError
      • FloatScalingFilter

        public FloatScalingFilter​(Context ctx,
                                  double offset,
                                  double factor,
                                  long byteWidth)
                           throws TileDBError
        Constructor.
        Parameters:
        ctx - The TileDB context
        offset - The offset param
        factor - The factor param
        byteWidth - The byteWidth param
        Throws:
        TileDBError
    • Method Detail

      • setOffset

        public void setOffset​(Context ctx,
                              double offset)
                       throws TileDBError
        Sets the offset param
        Parameters:
        ctx - The TileDB context.
        offset - The offset input.
        Throws:
        TileDBError
      • setFactor

        public void setFactor​(Context ctx,
                              double factor)
                       throws TileDBError
        Sets the factor param.
        Parameters:
        ctx - The TileDB context
        factor - The factor input
        Throws:
        TileDBError
      • setByteWidth

        public void setByteWidth​(Context ctx,
                                 long byteWidth)
                          throws TileDBError
        Sets the ByteWidth param.
        Parameters:
        ctx - The TileDB context
        byteWidth - The byteWidth param
        Throws:
        TileDBError
      • getByteWidth

        public long getByteWidth()
                          throws TileDBError
        Returns:
        The ByteWidth param
        Throws:
        TileDBError