|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dbreplicator.replication.column
Class BlobObject
java.lang.Objectorg.dbreplicator.replication.column.AbstractColumnObject
org.dbreplicator.replication.column.BlobObject
public class BlobObject
- extends AbstractColumnObject
Class for handling Binary Large Objects
| Constructor Summary | |
|---|---|
BlobObject(int sqlType0,
AbstractDataBaseHandler abstractDBHandler0)
sets the SQL type for Blob datatype |
|
| Method Summary | |
|---|---|
java.lang.Object |
getObject(java.lang.String value)
|
void |
setColumnObject(java.sql.PreparedStatement pst,
java.lang.String value,
int index)
|
void |
setColumnObject(java.sql.PreparedStatement pst,
XMLElement element,
int index)
set the value for the corresponding datatype i.e BLob |
void |
write(java.io.Writer bw,
java.sql.ResultSet rs,
int index,
java.util.ArrayList encodedCols,
java.lang.String col)
writes a blob values in XML file |
void |
writeUpdate(java.io.Writer bw,
java.sql.ResultSet rows,
java.sql.ResultSet oldResultSet,
int index,
java.util.HashMap modifiedColumns,
java.lang.String columnName,
java.util.ArrayList encodedCols)
puts the value for the column aginst the column Name |
void |
writeUpdate1(java.io.OutputStreamWriter os,
java.sql.ResultSet rows,
java.sql.ResultSet oldResultSet,
int index,
java.util.HashMap modifiedColumns,
java.lang.String columnName)
|
void |
writeUpdateBKUP_11_17_04(java.io.OutputStreamWriter os,
java.sql.ResultSet rows,
java.sql.ResultSet oldResultSet,
int index,
java.util.HashMap modifiedColumns,
java.lang.String columnName)
|
| Methods inherited from class org.dbreplicator.replication.column.AbstractColumnObject |
|---|
setBlobHandlerObject, setClobHandlerObject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
BlobObject
public BlobObject(int sqlType0, AbstractDataBaseHandler abstractDBHandler0)
- sets the SQL type for Blob datatype
- Parameters:
sqlType0-
| Method Detail |
|---|
setColumnObject
public void setColumnObject(java.sql.PreparedStatement pst, XMLElement element, int index) throws java.sql.SQLException
- set the value for the corresponding datatype i.e BLob
- Specified by:
setColumnObjectin classAbstractColumnObject
- Parameters:
pst-element-index-- Throws:
java.sql.SQLException
setColumnObject
public void setColumnObject(java.sql.PreparedStatement pst, java.lang.String value, int index) throws java.sql.SQLException
- Specified by:
setColumnObjectin classAbstractColumnObject
- Throws:
java.sql.SQLException
write
public void write(java.io.Writer bw, java.sql.ResultSet rs, int index, java.util.ArrayList encodedCols, java.lang.String col) throws java.sql.SQLException, java.io.IOException
- writes a blob values in XML file
- Specified by:
writein classAbstractColumnObject
- Parameters:
bw- Writerrs- ResultSetindex- intencodedCols- ArrayListcol- String- Throws:
java.io.IOExceptionjava.sql.SQLException
writeUpdate
public void writeUpdate(java.io.Writer bw, java.sql.ResultSet rows, java.sql.ResultSet oldResultSet, int index, java.util.HashMap modifiedColumns, java.lang.String columnName, java.util.ArrayList encodedCols) throws java.sql.SQLException, java.io.IOException
- puts the value for the column aginst the column Name
- Specified by:
writeUpdatein classAbstractColumnObject
- Parameters:
bw- Writerrows- ResultSetoldResultSet- ResultSetindex- intmodifiedColumns- HashMapcolumnName- StringencodedCols- ArrayList of columns that need character encoding- Throws:
java.sql.SQLExceptionjava.io.IOException
writeUpdateBKUP_11_17_04
public void writeUpdateBKUP_11_17_04(java.io.OutputStreamWriter os, java.sql.ResultSet rows, java.sql.ResultSet oldResultSet, int index, java.util.HashMap modifiedColumns, java.lang.String columnName) throws java.sql.SQLException, java.io.IOException
- Throws:
java.sql.SQLExceptionjava.io.IOException
writeUpdate1
public void writeUpdate1(java.io.OutputStreamWriter os, java.sql.ResultSet rows, java.sql.ResultSet oldResultSet, int index, java.util.HashMap modifiedColumns, java.lang.String columnName) throws java.sql.SQLException, java.io.IOException
- Throws:
java.sql.SQLExceptionjava.io.IOException
getObject
public java.lang.Object getObject(java.lang.String value)
- Specified by:
getObjectin classAbstractColumnObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||


