Package io.tiledb.java.api
Class FloatScalingFilter
- java.lang.Object
-
- io.tiledb.java.api.Filter
-
- io.tiledb.java.api.FloatScalingFilter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class FloatScalingFilter extends Filter
-
-
Constructor Summary
Constructors Modifier Constructor Description FloatScalingFilter(Context ctx)
Constructor.FloatScalingFilter(Context ctx, double offset, double factor, long byteWidth)
Constructor.protected
FloatScalingFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getByteWidth()
double
getFactor()
double
getOffset()
void
setByteWidth(Context ctx, long byteWidth)
Sets the ByteWidth param.void
setFactor(Context ctx, double factor)
Sets the factor param.void
setOffset(Context ctx, double offset)
Sets the offset param-
Methods inherited from class io.tiledb.java.api.Filter
close, getCtx, getFilterp
-
-
-
-
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 contextoffset
- The offset paramfactor
- The factor parambyteWidth
- The byteWidth param- Throws:
TileDBError
-
FloatScalingFilter
protected FloatScalingFilter(Context ctx, SWIGTYPE_p_p_tiledb_filter_t filterpp)
Constructor.- Parameters:
ctx
- The TileDB Contextfilterpp
-
-
-
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 contextfactor
- The factor input- Throws:
TileDBError
-
setByteWidth
public void setByteWidth(Context ctx, long byteWidth) throws TileDBError
Sets the ByteWidth param.- Parameters:
ctx
- The TileDB contextbyteWidth
- The byteWidth param- Throws:
TileDBError
-
getByteWidth
public long getByteWidth() throws TileDBError
- Returns:
- The ByteWidth param
- Throws:
TileDBError
-
getFactor
public double getFactor() throws TileDBError
- Returns:
- The factor param
- Throws:
TileDBError
-
getOffset
public double getOffset() throws TileDBError
- Returns:
- The offset param
- Throws:
TileDBError
-
-