Package org.pentaho.di.compatibility
Class ValueBinary
java.lang.Object
org.pentaho.di.compatibility.ValueBinary
- All Implemented Interfaces:
Cloneable
,ValueInterface
This class contains a Value of type Binary. It's supposed to contain CLOBS, LOBS, ... GIF data, jpg's, ...
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
byte[]
getBytes()
getDate()
long
int
double
int
int
getType()
void
setBigNumber
(BigDecimal number) void
setBoolean
(boolean bool) void
setBytes
(byte[] b) void
void
setInteger
(long number) void
setLength
(int length) void
setLength
(int length, int precision) void
setNumber
(double number) void
setPrecision
(int precision) void
void
-
Field Details
-
bytes
protected byte[] bytes
-
-
Constructor Details
-
ValueBinary
public ValueBinary() -
ValueBinary
public ValueBinary(byte[] bytes)
-
-
Method Details
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceValueInterface
-
setBytes
public void setBytes(byte[] b) - Specified by:
setBytes
in interfaceValueInterface
-
getPrecision
public int getPrecision()- Specified by:
getPrecision
in interfaceValueInterface
-
getString
- Specified by:
getString
in interfaceValueInterface
-
getType
public int getType()- Specified by:
getType
in interfaceValueInterface
-
getTypeDesc
- Specified by:
getTypeDesc
in interfaceValueInterface
-
clone
- Specified by:
clone
in interfaceValueInterface
- Overrides:
clone
in classObject
-
setLength
public void setLength(int length) - Specified by:
setLength
in interfaceValueInterface
-
setLength
public void setLength(int length, int precision) - Specified by:
setLength
in interfaceValueInterface
-
getLength
public int getLength()- Specified by:
getLength
in interfaceValueInterface
-
getSerializable
- Specified by:
getSerializable
in interfaceValueInterface
-
setBigNumber
- Specified by:
setBigNumber
in interfaceValueInterface
-
setBoolean
public void setBoolean(boolean bool) - Specified by:
setBoolean
in interfaceValueInterface
-
setDate
- Specified by:
setDate
in interfaceValueInterface
-
setInteger
public void setInteger(long number) - Specified by:
setInteger
in interfaceValueInterface
-
setNumber
public void setNumber(double number) - Specified by:
setNumber
in interfaceValueInterface
-
setPrecision
public void setPrecision(int precision) - Specified by:
setPrecision
in interfaceValueInterface
-
setString
- Specified by:
setString
in interfaceValueInterface
-
setSerializable
- Specified by:
setSerializable
in interfaceValueInterface
-
getBigNumber
- Specified by:
getBigNumber
in interfaceValueInterface
-
getBoolean
public boolean getBoolean()- Specified by:
getBoolean
in interfaceValueInterface
-
getDate
- Specified by:
getDate
in interfaceValueInterface
-
getInteger
public long getInteger()- Specified by:
getInteger
in interfaceValueInterface
-
getNumber
public double getNumber()- Specified by:
getNumber
in interfaceValueInterface
-