org.axiondb.engine.tables
public class TaggedEBCDICTable extends BaseFlatfileTable
Example: create external table test1( col1 datatype, col2 datatype, ...) organization(loadtype='taggedebcdic' RecordLength='213', HeaderBytesOffset='24', tagLength='4', minTagCount='1', maxTagCount='48', tagByteCount='0', recordTrailerByteCount='54' FileName='C:/hawaii/test/input_data.txt', TagByteCount='2', en='cp037')
Version: $Revision: 1.14 $ $Date: 2005/12/20 18:32:27 $
Field Summary | |
---|---|
protected int | _count |
protected int | _index |
protected long | _pos |
static String | PROP_ENCODING |
static String | PROP_HEADERBYTESOFFSET |
static String | PROP_MAXTAGCOUNT |
static String | PROP_MINTAGCOUNT |
static String | PROP_RECORDLENGTH |
static String | PROP_RECORDTRAILERBYTECOUNT |
static String | PROP_TAGBYTECOUNT |
static String | PROP_TAGLENGTH |
Constructor Summary | |
---|---|
TaggedEBCDICTable(String name, Database db) |
Method Summary | |
---|---|
long | getCurrentParsePosition() |
protected Row | getRowByOffset(int idToAssign, long ptr) |
Properties | getTableProperties() |
protected long | ignoreRowsToSkip() |
protected void | initializeTable() |
protected boolean | isCarriageReturn(int nextChar) |
protected boolean | isEndOfRecord(int recLength, int nextChar, BufferedDataInputStream data) |
protected boolean | isNewLine(int nextChar) |
boolean | loadExternalTable(Properties props) |
protected void | parseTableProperties(ObjectInputStream in) |
protected void | renameTableFiles(String oldName, String name) |
protected void | writeHeader(BufferedDataOutputStream dataFile) |
protected void | writeRow(BufferedDataOutputStream out, Row row) |
protected void | writeTableProperties(ObjectOutputStream out) |