superwaba.ext.xplat.sql.db2e.db2ex
Class Db2eBoundString
java.lang.Object
|
+--superwaba.ext.xplat.sql.db2e.db2ex.Db2eBoundString
- public class Db2eBoundString
- extends Object
str
public String str
Db2eBoundString
public Db2eBoundString(int maxStringSize)
Db2eBoundString
public Db2eBoundString(String str)
setValueTruncate
public void setValueTruncate(String str)
setValue
public boolean setValue(String str)
- Returns false if the string is too large to fit in current buffer.
setValueCheck
public boolean setValueCheck(String str)
setValue
public boolean setValue(byte[] bstr)
setValueCheck
public boolean setValueCheck(byte[] bstr)
setValue
public boolean setValue(byte[] bstr,
int begin,
int length)
setValueCheck
public boolean setValueCheck(byte[] bstr,
int begin,
int length)
setNewBuf
public void setNewBuf(String str)
- Return true if the buffer should be rebound.
getBuf
public byte[] getBuf()
getMax
public int getMax()
getLength
public int getLength()
setLength
public void setLength(int newLength)
toString
public String toString()
- Description copied from class: Object
- Returns the string representation of the object, that is full_class_name@internal_address_hex. Note that, differently from JDK, the package separator is / instead of .
- Overrides:
- toString in class Object