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, int offset, int factor, int 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 int
getByteWidth()
int
getFactor()
int
getOffset()
void
setByteWidth(Context ctx, int byteWidth)
Sets the ByteWidth param.void
setFactor(Context ctx, int factor)
Sets the factor param.void
setOffset(Context ctx, int 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, int offset, int factor, int 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, int offset) throws TileDBError
Sets the offset param- Parameters:
ctx
- The TileDB context.offset
- The offset input.- Throws:
TileDBError
-
setFactor
public void setFactor(Context ctx, int factor) throws TileDBError
Sets the factor param.- Parameters:
ctx
- The TileDB contextfactor
- The factor input- Throws:
TileDBError
-
setByteWidth
public void setByteWidth(Context ctx, int byteWidth) throws TileDBError
Sets the ByteWidth param.- Parameters:
ctx
- The TileDB contextbyteWidth
- The byteWidth param- Throws:
TileDBError
-
getByteWidth
public int getByteWidth() throws TileDBError
- Returns:
- The ByteWidth param
- Throws:
TileDBError
-
getFactor
public int getFactor() throws TileDBError
- Returns:
- The factor param
- Throws:
TileDBError
-
getOffset
public int getOffset() throws TileDBError
- Returns:
- The offset param
- Throws:
TileDBError
-
-