abstract class ExportAbstract
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.sql.Connection |
con |
protected ControlInfo |
controlFileReader |
protected java.lang.String |
entityName |
protected ExportResultSetForObject |
exportResultSetForObject |
protected ExportWriteDataAbstract |
exportWriteData |
protected boolean |
lobsInExtFile |
protected java.lang.String |
schemaName |
protected java.lang.String |
selectStatement |
Constructor and Description |
---|
ExportAbstract() |
Modifier and Type | Method and Description |
---|---|
protected void |
doAllTheWork() |
protected ControlInfo |
getControlFileReader() |
protected abstract ExportWriteDataAbstract |
getExportWriteData() |
private java.lang.String[] |
getOneRowAtATime(java.sql.ResultSet rs,
boolean[] isLargeBinary,
boolean[] isLargeChar)
convert resultset data for the current row to string array.
|
protected java.sql.ResultSet |
resultSetForEntity() |
static java.lang.String |
stringifyObject(java.lang.Object udt) |
protected ControlInfo controlFileReader
protected ExportResultSetForObject exportResultSetForObject
protected ExportWriteDataAbstract exportWriteData
protected java.sql.Connection con
protected java.lang.String entityName
protected java.lang.String schemaName
protected java.lang.String selectStatement
protected boolean lobsInExtFile
protected java.sql.ResultSet resultSetForEntity() throws java.lang.Exception
java.lang.Exception
private java.lang.String[] getOneRowAtATime(java.sql.ResultSet rs, boolean[] isLargeBinary, boolean[] isLargeChar) throws java.lang.Exception
rs
- resultset that contains the data to export.isLargeBinary
- boolean array, whose elements will
be true, if the column type is blob/or
other large binary type, otherwise false.isLargeChar
- boolean array, whose elements will
be true, if the column type is clob/
other large char type, otherwise false.java.lang.Exception
- if any errors during conversion.public static java.lang.String stringifyObject(java.lang.Object udt) throws java.lang.Exception
java.lang.Exception
protected ControlInfo getControlFileReader()
protected abstract ExportWriteDataAbstract getExportWriteData() throws java.lang.Exception
java.lang.Exception
protected void doAllTheWork() throws java.lang.Exception
java.lang.Exception
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.