| Modifier and Type | Field and Description |
|---|---|
| private OutputStreamWriter | |
| private byte[] | |
| private char[] | |
| private ByteArrayOutputStream | |
| private OutputStreamWriter | |
| private long | |
| private BufferedOutputStream | |
| private String | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private String | makeDoubleDelimiterString(String inputString, String charDelimiter)
Convert the input string into double delimiter format for export. |
| public void | noMoreRows()
Implements abstract org. if nothing more to write, then close the file and write a message of completion in message file |
| private void | |
| public final Object | |
| pack-priv String | Returns: Location where the column data written in the external file.input streams that contains a binary column data. istream)Implements abstract org. Writes the binary data in the given input stream to an external lob export file, and return it's location information in the file as string. |
| pack-priv String | Returns: Location where the column data written in the external file.Reader that contains a clob column data. ir)Implements abstract org. Writes the clob data in the given input Reader to an external lob export file, and return it's location information in the file as string. |
| pack-priv void | writeColumnDefinitionOptionally(String[] columnNames, String[] columnTypes)
Implements abstract org. if control file says true for column definition, write it as first line of the data file |
| public void | writeData(String[] oneRow, boolean[] isNumeric)
Implements abstract org. write the passed row into the data file |
| private void |
| aStream | back to summary |
|---|---|
| private OutputStreamWriter aStream | |
| byteBuf | back to summary |
|---|---|
| private byte[] byteBuf | |
| charBuf | back to summary |
|---|---|
| private char[] charBuf | |
| lobByteArrayStream | back to summary |
|---|---|
| private ByteArrayOutputStream lobByteArrayStream | |
| lobCharStream | back to summary |
|---|---|
| private OutputStreamWriter lobCharStream | |
| lobFileOffset | back to summary |
|---|---|
| private long lobFileOffset | |
| lobOutBinaryStream | back to summary |
|---|---|
| private BufferedOutputStream lobOutBinaryStream | |
| lobsFileName | back to summary |
|---|---|
| private String lobsFileName | |
| lobsInExtFile | back to summary |
|---|---|
| private boolean lobsInExtFile | |
| outputFileName | back to summary |
|---|---|
| private String outputFileName | |
| ExportWriteData | back to summary |
|---|---|
| pack-priv ExportWriteData(String outputFileName, ControlInfo controlFileReader) throws Exception | |
| ExportWriteData | back to summary |
|---|---|
| pack-priv ExportWriteData(String outputFileName, String lobsFileName, ControlInfo controlFileReader) throws Exception | |
| init | back to summary |
|---|---|
| private void init() throws Exception | |
| makeDoubleDelimiterString | back to summary |
|---|---|
| private String makeDoubleDelimiterString(String inputString, String charDelimiter) Convert the input string into double delimiter format for export. double character delimiter recognition in delimited format files applies to the export and import utilities. Character delimiters are permitted within the character-based fields of a file. This applies to fields of type CHAR, VARCHAR, LONGVARCHAR, or CLOB. Any pair of character delimiters found between the enclosing character delimiters is imported into the database. For example with doble quote(") as character delimiter "What a ""nice""day!" will be imported as: What a "nice"day! In the case of export, the rule applies in reverse. For example, I am 6"tall. will be exported to a file as: "I am 6""tall." | |
| noMoreRows | back to summary |
|---|---|
| public void noMoreRows() throws IOException Implements abstract org. if nothing more to write, then close the file and write a message of completion in message file
| |
| openFiles | back to summary |
|---|---|
| private void openFiles() throws Exception | |
| run | back to summary |
|---|---|
| public final Object run() throws Exception | |
| writeBinaryColumnToExternalFile | back to summary |
|---|---|
| pack-priv String writeBinaryColumnToExternalFile(InputStream istream) throws Exception Implements abstract org. Writes the binary data in the given input stream to an external lob export file, and return it's location information in the file as string. Location information is written in the main export file.
| |
| writeCharColumnToExternalFile | back to summary |
|---|---|
| pack-priv String writeCharColumnToExternalFile(Reader ir) throws Exception Implements abstract org. Writes the clob data in the given input Reader to an external lob export file, and return it's location information in the file as string. Location information is written in the main export file. | |
| writeColumnDefinitionOptionally | back to summary |
|---|---|
| pack-priv void writeColumnDefinitionOptionally(String[] columnNames, String[] columnTypes) throws Exception Implements abstract org. if control file says true for column definition, write it as first line of the data file
| |
| writeData | back to summary |
|---|---|
| public void writeData(String[] oneRow, boolean[] isNumeric) throws Exception Implements abstract org. write the passed row into the data file
| |
| writeNextColumn | back to summary |
|---|---|
| private void writeNextColumn(String oneColumn, boolean isNumeric) throws Exception | |