public class FBLongVarCharField extends FBField implements FBFlushableField
FBStringField. It should be used
for fields declared in database as BLOB SUB_TYPE 1. This
implementation provides all conversion routines FBStringField has.FBFlushableField.CachedObject| Modifier and Type | Field and Description |
|---|---|
protected int |
possibleCharLength |
fieldDescriptor, gdsHelper, requiredType, scale| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this field.
|
void |
flushCachedData()
Flush cached data to the database server.
|
java.math.BigDecimal |
getBigDecimal() |
java.math.BigInteger |
getBigInteger() |
java.io.InputStream |
getBinaryStream() |
java.sql.Blob |
getBlob() |
boolean |
getBoolean() |
byte |
getByte() |
byte[] |
getBytes() |
byte[] |
getCachedData()
Get cached data.
|
FBFlushableField.CachedObject |
getCachedObject() |
java.sql.Clob |
getClob() |
java.sql.Date |
getDate() |
java.sql.Date |
getDate(java.util.Calendar cal) |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
short |
getShort() |
java.lang.String |
getString() |
java.sql.Time |
getTime() |
java.sql.Time |
getTime(java.util.Calendar cal) |
java.sql.Timestamp |
getTimestamp() |
java.sql.Timestamp |
getTimestamp(java.util.Calendar cal) |
void |
setBigDecimal(java.math.BigDecimal value) |
void |
setBigInteger(java.math.BigInteger value) |
protected void |
setBinaryStreamInternal(java.io.InputStream in,
long length) |
void |
setBlob(FBBlob blob) |
void |
setBoolean(boolean value) |
void |
setByte(byte value) |
void |
setBytes(byte[] value) |
void |
setCachedObject(FBFlushableField.CachedObject cachedObject) |
protected void |
setCharacterStreamInternal(java.io.Reader in,
long length) |
void |
setClob(FBClob clob) |
void |
setDate(java.sql.Date value) |
void |
setDate(java.sql.Date value,
java.util.Calendar cal) |
void |
setDouble(double value) |
void |
setFloat(float value) |
void |
setInteger(int value) |
void |
setLong(long value) |
void |
setNull() |
void |
setShort(short value) |
void |
setString(java.lang.String value) |
void |
setTime(java.sql.Time value) |
void |
setTime(java.sql.Time value,
java.util.Calendar cal) |
void |
setTimestamp(java.sql.Timestamp value) |
void |
setTimestamp(java.sql.Timestamp value,
java.util.Calendar cal) |
createField, getAlias, getArray, getBigDecimal, getCharacterStream, getDatatypeCoder, getDecimal, getDecimal, getFieldData, getName, getObject, getObject, getObject, getObjectConverter, getRawDateTimeStruct, getRef, getRelationName, getRowId, isInvertTimeZone, isNull, isType, setBinaryStream, setBinaryStream, setBinaryStream, setCharacterStream, setCharacterStream, setCharacterStream, setConnection, setDecimal, setFieldData, setObject, setRawDateTimeStruct, setRequiredType, setRowIdpublic void close()
throws java.sql.SQLException
FBFieldpublic java.sql.Blob getBlob()
throws java.sql.SQLException
public java.sql.Clob getClob()
throws java.sql.SQLException
public java.io.InputStream getBinaryStream()
throws java.sql.SQLException
java.sql.SQLExceptionpublic byte[] getBytes()
throws java.sql.SQLException
java.sql.SQLExceptionpublic byte[] getCachedData()
throws java.sql.SQLException
FBFlushableFieldgetCachedData in interface FBFlushableFieldjava.sql.SQLException - if something went wrong.public FBFlushableField.CachedObject getCachedObject() throws java.sql.SQLException
getCachedObject in interface FBFlushableFieldjava.sql.SQLExceptionpublic void setCachedObject(FBFlushableField.CachedObject cachedObject) throws java.sql.SQLException
setCachedObject in interface FBFlushableFieldjava.sql.SQLExceptionpublic java.lang.String getString()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBlob(FBBlob blob) throws java.sql.SQLException
public void setClob(FBClob clob) throws java.sql.SQLException
protected void setCharacterStreamInternal(java.io.Reader in,
long length)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setString(java.lang.String value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBytes(byte[] value)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void setBinaryStreamInternal(java.io.InputStream in,
long length)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void flushCachedData()
throws java.sql.SQLException
FBFlushableFieldflushCachedData in interface FBFlushableFieldjava.sql.SQLException - if something went wrong.public byte getByte()
throws java.sql.SQLException
public short getShort()
throws java.sql.SQLException
public int getInt()
throws java.sql.SQLException
public long getLong()
throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal()
throws java.sql.SQLException
getBigDecimal in class FBFieldjava.sql.SQLExceptionpublic float getFloat()
throws java.sql.SQLException
public double getDouble()
throws java.sql.SQLException
public boolean getBoolean()
throws java.sql.SQLException
getBoolean in class FBFieldjava.sql.SQLExceptionpublic java.sql.Date getDate(java.util.Calendar cal)
throws java.sql.SQLException
public java.sql.Date getDate()
throws java.sql.SQLException
public java.sql.Time getTime(java.util.Calendar cal)
throws java.sql.SQLException
public java.sql.Time getTime()
throws java.sql.SQLException
public java.sql.Timestamp getTimestamp(java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp in class FBFieldjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp()
throws java.sql.SQLException
getTimestamp in class FBFieldjava.sql.SQLExceptionpublic java.math.BigInteger getBigInteger()
throws java.sql.SQLException
getBigInteger in class FBFieldjava.sql.SQLExceptionpublic void setByte(byte value)
throws java.sql.SQLException
public void setShort(short value)
throws java.sql.SQLException
public void setInteger(int value)
throws java.sql.SQLException
setInteger in class FBFieldjava.sql.SQLExceptionpublic void setLong(long value)
throws java.sql.SQLException
public void setFloat(float value)
throws java.sql.SQLException
public void setDouble(double value)
throws java.sql.SQLException
public void setBigDecimal(java.math.BigDecimal value)
throws java.sql.SQLException
setBigDecimal in class FBFieldjava.sql.SQLExceptionpublic void setBoolean(boolean value)
throws java.sql.SQLException
setBoolean in class FBFieldjava.sql.SQLExceptionpublic void setDate(java.sql.Date value,
java.util.Calendar cal)
throws java.sql.SQLException
public void setDate(java.sql.Date value)
throws java.sql.SQLException
public void setTime(java.sql.Time value,
java.util.Calendar cal)
throws java.sql.SQLException
public void setTime(java.sql.Time value)
throws java.sql.SQLException
public void setTimestamp(java.sql.Timestamp value,
java.util.Calendar cal)
throws java.sql.SQLException
setTimestamp in class FBFieldjava.sql.SQLExceptionpublic void setTimestamp(java.sql.Timestamp value)
throws java.sql.SQLException
setTimestamp in class FBFieldjava.sql.SQLExceptionpublic void setBigInteger(java.math.BigInteger value)
throws java.sql.SQLException
setBigInteger in class FBFieldjava.sql.SQLExceptionCopyright © 2001-2022 Jaybird (Firebird JDBC/JCA) team. All rights reserved.