Java Doc for TaggedEBCDICTable.java in  » Database-DBMS » axion » org » axiondb » engine » tables » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » axion » org.axiondb.engine.tables 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.axiondb.engine.tables.AbstractBaseTable
   org.axiondb.engine.tables.BaseTable
      org.axiondb.engine.tables.BaseDiskTable
         org.axiondb.engine.tables.BaseFlatfileTable
            org.axiondb.engine.tables.TaggedEBCDICTable

TaggedEBCDICTable
public class TaggedEBCDICTable extends BaseFlatfileTable (Code)
A disk-resident Fixed Width Flatfile org.axiondb.Table .

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 $
author:
   Sudhi Seshachala
author:
   Jonathan Giron
author:
   Ahimanikya Satapathy



Field Summary
final public static  StringPROP_ENCODING
    
final public static  StringPROP_HEADERBYTESOFFSET
    
final public static  StringPROP_MAXTAGCOUNT
    
final public static  StringPROP_MINTAGCOUNT
    
final public static  StringPROP_RECORDLENGTH
    
final public static  StringPROP_RECORDTRAILERBYTECOUNT
    
final public static  StringPROP_TAGBYTECOUNT
    
final public static  StringPROP_TAGLENGTH
    
protected  int_count
    
protected  int_index
    
protected  long_pos
    

Constructor Summary
public  TaggedEBCDICTable(String name, Database db)
    

Method Summary
public  longgetCurrentParsePosition()
    
protected  RowgetRowByOffset(int idToAssign, long ptr)
    
public  PropertiesgetTableProperties()
    
protected  longignoreRowsToSkip()
    
protected  voidinitializeTable()
    
protected  booleanisCarriageReturn(int nextChar)
    
protected  booleanisEndOfRecord(int recLength, int nextChar, BufferedDataInputStream data)
    
protected  booleanisNewLine(int nextChar)
    
public  booleanloadExternalTable(Properties props)
    
protected  voidparseTableProperties(ObjectInputStream in)
    
protected synchronized  voidrenameTableFiles(String oldName, String name)
    
protected  voidwriteHeader(BufferedDataOutputStream dataFile)
    
protected  voidwriteRow(BufferedDataOutputStream out, Row row)
    
protected  voidwriteTableProperties(ObjectOutputStream out)
    

Field Detail
PROP_ENCODING
final public static String PROP_ENCODING(Code)



PROP_HEADERBYTESOFFSET
final public static String PROP_HEADERBYTESOFFSET(Code)



PROP_MAXTAGCOUNT
final public static String PROP_MAXTAGCOUNT(Code)



PROP_MINTAGCOUNT
final public static String PROP_MINTAGCOUNT(Code)



PROP_RECORDLENGTH
final public static String PROP_RECORDLENGTH(Code)



PROP_RECORDTRAILERBYTECOUNT
final public static String PROP_RECORDTRAILERBYTECOUNT(Code)



PROP_TAGBYTECOUNT
final public static String PROP_TAGBYTECOUNT(Code)



PROP_TAGLENGTH
final public static String PROP_TAGLENGTH(Code)



_count
protected int _count(Code)



_index
protected int _index(Code)



_pos
protected long _pos(Code)




Constructor Detail
TaggedEBCDICTable
public TaggedEBCDICTable(String name, Database db) throws AxionException(Code)




Method Detail
getCurrentParsePosition
public long getCurrentParsePosition()(Code)



getRowByOffset
protected Row getRowByOffset(int idToAssign, long ptr) throws AxionException(Code)



getTableProperties
public Properties getTableProperties()(Code)



ignoreRowsToSkip
protected long ignoreRowsToSkip() throws AxionException(Code)



initializeTable
protected void initializeTable() throws AxionException(Code)



isCarriageReturn
protected boolean isCarriageReturn(int nextChar)(Code)



isEndOfRecord
protected boolean isEndOfRecord(int recLength, int nextChar, BufferedDataInputStream data)(Code)



isNewLine
protected boolean isNewLine(int nextChar)(Code)



loadExternalTable
public boolean loadExternalTable(Properties props) throws AxionException(Code)



parseTableProperties
protected void parseTableProperties(ObjectInputStream in) throws AxionException(Code)



renameTableFiles
protected synchronized void renameTableFiles(String oldName, String name)(Code)



writeHeader
protected void writeHeader(BufferedDataOutputStream dataFile) throws AxionException(Code)



writeRow
protected void writeRow(BufferedDataOutputStream out, Row row) throws AxionException(Code)



writeTableProperties
protected void writeTableProperties(ObjectOutputStream out) throws AxionException(Code)



Fields inherited from org.axiondb.engine.tables.BaseFlatfileTable
final protected static int EOF(Code)(Java Doc)
final protected static char FILLER(Code)(Java Doc)
final public static String PROP_FILENAME(Code)(Java Doc)
final protected static String PROP_ISFIRSTLINEHEADER(Code)(Java Doc)
final protected static String PROP_MAXFAULTS(Code)(Java Doc)
final protected static String PROP_RECORDDELIMITER(Code)(Java Doc)
final protected static String PROP_ROWSTOSKIP(Code)(Java Doc)
protected String _fileName(Code)(Java Doc)
protected boolean _isFirstLineHeader(Code)(Java Doc)
protected String _lineSep(Code)(Java Doc)
protected long _maxFaults(Code)(Java Doc)
protected int _rowsToSkip(Code)(Java Doc)
protected TableOrganizationContext context(Code)(Java Doc)

Methods inherited from org.axiondb.engine.tables.BaseFlatfileTable
public void addColumn(Column col, boolean metaUpdateNeeded) throws AxionException(Code)(Java Doc)
public static String addEscapeSequence(String srcString)(Code)(Java Doc)
protected void createOrLoadDataFile() throws AxionException(Code)(Java Doc)
protected void createOrLoadDataFile(boolean createNewDataFile) throws AxionException(Code)(Java Doc)
protected String evaluateForNull(String colValue, DataType datatype)(Code)(Java Doc)
public static String fixEscapeSequence(String srcString)(Code)(Java Doc)
protected File getDataFile()(Code)(Java Doc)
protected String getDefaultDataFileExtension()(Code)(Java Doc)
protected File getLobDir()(Code)(Java Doc)
protected long ignoreRowsToSkip() throws AxionException(Code)(Java Doc)
protected void initializeTable() throws AxionException(Code)(Java Doc)
protected boolean isEOF(int nextChar)(Code)(Java Doc)
abstract protected boolean isEndOfRecord(int recLength, int nextChar, BufferedDataInputStream data) throws IOException(Code)(Java Doc)
protected boolean isNullString(String str)(Code)(Java Doc)
public boolean loadExternalTable(Properties props) throws AxionException(Code)(Java Doc)
protected int nextLineLength(long fileOffset) throws AxionException(Code)(Java Doc)
protected void reloadFilesAfterTruncate() throws AxionException(Code)(Java Doc)
public void remount() throws AxionException(Code)(Java Doc)
protected synchronized void renameTableFiles(String oldName, String name)(Code)(Java Doc)
protected Row trySettingColumn(int idToAssign, Row row, int i, String colValue) throws AxionException(Code)(Java Doc)
abstract protected void writeHeader(BufferedDataOutputStream data2) throws AxionException(Code)(Java Doc)

Fields inherited from org.axiondb.engine.tables.BaseDiskTable
final protected static int CURRENT_META_VERSION(Code)(Java Doc)
final protected static String FRID_FILE_EXT(Code)(Java Doc)
protected static AxionFileSystem FS(Code)(Java Doc)
final protected static String INDICES_DIR_NAME(Code)(Java Doc)
final protected static long INVALID_OFFSET(Code)(Java Doc)
final protected static String META_FILE_EXT(Code)(Java Doc)
final protected static String PIDX_FILE_EXT(Code)(Java Doc)
final protected static String SEQ_FILE_EXT(Code)(Java Doc)
final protected static String TYPE_FILE_EXT(Code)(Java Doc)
protected File _dataFile(Code)(Java Doc)
protected File _dbdir(Code)(Java Doc)
protected IntList _freeIds(Code)(Java Doc)
protected boolean _readOnly(Code)(Java Doc)
protected int _rowCount(Code)(Java Doc)

Methods inherited from org.axiondb.engine.tables.BaseDiskTable
public void addColumn(Column col) throws AxionException(Code)(Java Doc)
public void addColumn(Column col, boolean metaUpdateNeeded) throws AxionException(Code)(Java Doc)
public void addConstraint(Constraint constraint) throws AxionException(Code)(Java Doc)
public void applyDeletes(IntCollection rowIds) throws AxionException(Code)(Java Doc)
public void applyInserts(RowCollection rows) throws AxionException(Code)(Java Doc)
public void applyUpdates(RowCollection rows) throws AxionException(Code)(Java Doc)
public void checkpoint() throws AxionException(Code)(Java Doc)
protected void clearDataFileReference()(Code)(Java Doc)
protected void closeFiles()(Code)(Java Doc)
protected void createOrLoadDataFile() throws AxionException(Code)(Java Doc)
protected void createOrLoadFreeIdsFile() throws AxionException(Code)(Java Doc)
public void drop() throws AxionException(Code)(Java Doc)
public void freeRowId(int id)(Code)(Java Doc)
abstract protected File getDataFile()(Code)(Java Doc)
protected String getDefaultDataFileExtension()(Code)(Java Doc)
protected synchronized BufferedDataInputStream getInputStream() throws AxionException(Code)(Java Doc)
abstract protected File getLobDir()(Code)(Java Doc)
public int getNextRowId()(Code)(Java Doc)
protected synchronized BufferedDataOutputStream getOutputStream() throws AxionException(Code)(Java Doc)
protected AxionFileSystem.PidxList getPidxList()(Code)(Java Doc)
protected File getRootDir()(Code)(Java Doc)
public Row getRow(int id) throws AxionException(Code)(Java Doc)
abstract protected Row getRowByOffset(int idToAssign, long ptr) throws AxionException(Code)(Java Doc)
public int getRowCount()(Code)(Java Doc)
protected RowIterator getRowIterator() throws AxionException(Code)(Java Doc)
protected File getTableFile(String extension)(Code)(Java Doc)
protected void initFiles(File basedir, boolean datafilesonly) throws AxionException(Code)(Java Doc)
protected void initializeRowCount() throws AxionException(Code)(Java Doc)
protected boolean isReadOnly()(Code)(Java Doc)
protected void loadOrMigrateMetaFile(Database db) throws AxionException(Code)(Java Doc)
public void migrate(Database db) throws AxionException(Code)(Java Doc)
protected synchronized AxionFileSystem.PidxList parsePidxFile(File pidxFile) throws AxionException(Code)(Java Doc)
protected void parseTableProperties(ObjectInputStream in) throws AxionException(Code)(Java Doc)
public void populateIndex(Index index) throws AxionException(Code)(Java Doc)
abstract protected void reloadFilesAfterTruncate() throws AxionException(Code)(Java Doc)
public void remount(File newdir, boolean datafilesonly) throws AxionException(Code)(Java Doc)
public void removeIndex(Index index) throws AxionException(Code)(Java Doc)
public void rename(String oldName, String newName) throws AxionException(Code)(Java Doc)
protected void renameTableFiles(String oldName, String name)(Code)(Java Doc)
protected void resetLobColumns() throws AxionException(Code)(Java Doc)
protected void saveIndicesAfterTruncate() throws AxionException(Code)(Java Doc)
public void setSequence(Sequence seq) throws AxionException(Code)(Java Doc)
public void shutdown() throws AxionException(Code)(Java Doc)
public void truncate() throws AxionException(Code)(Java Doc)
protected void tryToRemove(RowIterator iter) throws AxionException(Code)(Java Doc)
final protected void writeFridFile() throws AxionException(Code)(Java Doc)
protected void writeMetaFile() throws AxionException(Code)(Java Doc)
protected void writeNameToFile(File file, Object obj) throws AxionException(Code)(Java Doc)
abstract protected void writeRow(BufferedDataOutputStream buffer, Row row) throws AxionException(Code)(Java Doc)
protected void writeTableProperties(ObjectOutputStream out) throws AxionException(Code)(Java Doc)

Methods inherited from org.axiondb.engine.tables.BaseTable
public void addColumn(Column col) throws AxionException(Code)(Java Doc)
public void addConstraint(Constraint constraint) throws AxionException(Code)(Java Doc)
public void addIndex(Index index) throws AxionException(Code)(Java Doc)
public void addRow(Row row) throws AxionException(Code)(Java Doc)
abstract public void applyDeletes(IntCollection rowids) throws AxionException(Code)(Java Doc)
protected void applyDeletesToIndices(IntCollection rowIds) throws AxionException(Code)(Java Doc)
abstract public void applyInserts(RowCollection rows) throws AxionException(Code)(Java Doc)
protected void applyInsertsToIndices(RowCollection rows) throws AxionException(Code)(Java Doc)
abstract public void applyUpdates(RowCollection rows) throws AxionException(Code)(Java Doc)
protected void applyUpdatesToIndices(RowCollection rows) throws AxionException(Code)(Java Doc)
public void checkpoint() throws AxionException(Code)(Java Doc)
final protected void clearCache()(Code)(Java Doc)
public void deleteRow(Row row) throws AxionException(Code)(Java Doc)
public void drop() throws AxionException(Code)(Java Doc)
abstract public void freeRowId(int id)(Code)(Java Doc)
final public Column getColumn(int index)(Code)(Java Doc)
public Column getColumn(String name)(Code)(Java Doc)
final public int getColumnCount()(Code)(Java Doc)
public List getColumnIdentifiers()(Code)(Java Doc)
public int getColumnIndex(String name) throws AxionException(Code)(Java Doc)
final public Constraint getConstraint(String name)(Code)(Java Doc)
public Iterator getConstraints()(Code)(Java Doc)
public Index getIndexForColumn(Column column)(Code)(Java Doc)
public RowIterator getIndexedRows(Selectable node, boolean readOnly) throws AxionException(Code)(Java Doc)
public RowIterator getIndexedRows(RowSource source, Selectable node, boolean readOnly) throws AxionException(Code)(Java Doc)
public Iterator getIndices()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
abstract public int getNextRowId()(Code)(Java Doc)
abstract public Row getRow(int id) throws AxionException(Code)(Java Doc)
abstract public int getRowCount()(Code)(Java Doc)
abstract protected RowIterator getRowIterator() throws AxionException(Code)(Java Doc)
public RowIterator getRowIterator(boolean readOnly) throws AxionException(Code)(Java Doc)
final public Sequence getSequence()(Code)(Java Doc)
final public String getType()(Code)(Java Doc)
public boolean hasColumn(ColumnIdentifier id)(Code)(Java Doc)
public boolean hasIndex(String name)(Code)(Java Doc)
public boolean isColumnIndexed(Column column)(Code)(Java Doc)
public boolean isPrimaryKeyConstraintExists(String columnName)(Code)(Java Doc)
public boolean isUniqueConstraintExists(String columnName)(Code)(Java Doc)
public RowDecorator makeRowDecorator()(Code)(Java Doc)
public TransactableTable makeTransactableTable()(Code)(Java Doc)
protected void notifyColumnsOfNewLobDir(File directory) throws AxionException(Code)(Java Doc)
abstract public void populateIndex(Index index) throws AxionException(Code)(Java Doc)
protected void readColumns(ObjectInputStream in) throws IOException, ClassNotFoundException(Code)(Java Doc)
protected void readConstraints(ObjectInputStream in, Database db) throws IOException, ClassNotFoundException, AxionException(Code)(Java Doc)
protected void recreateIndices() throws AxionException(Code)(Java Doc)
public void remount(File dir, boolean datafilesonly) throws AxionException(Code)(Java Doc)
public Constraint removeConstraint(String name)(Code)(Java Doc)
public void removeIndex(Index index) throws AxionException(Code)(Java Doc)
public void rename(String oldName, String newName) throws AxionException(Code)(Java Doc)
protected void setName(String name)(Code)(Java Doc)
public void setSequence(Sequence seq) throws AxionException(Code)(Java Doc)
protected void setType(String type)(Code)(Java Doc)
public void shutdown() throws AxionException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
protected void truncateIndices() throws AxionException(Code)(Java Doc)
public void updateRow(Row oldrow, Row newrow) throws AxionException(Code)(Java Doc)
protected void writeColumns(ObjectOutputStream out) throws IOException(Code)(Java Doc)
protected void writeConstraints(ObjectOutputStream out) throws IOException(Code)(Java Doc)

Methods inherited from org.axiondb.engine.tables.AbstractBaseTable
protected void checkConstraints(RowEvent event, RowDecorator dec) throws AxionException(Code)(Java Doc)
protected void checkConstraints(RowEvent event, boolean deferred, RowDecorator dec) throws AxionException(Code)(Java Doc)
protected void checkConstraints(RowIterator oldRows, RowIterator newRows) throws AxionException(Code)(Java Doc)
public RowIterator getMatchingRows(List selectables, List values, boolean readOnly) throws AxionException(Code)(Java Doc)
protected boolean hasDeferredConstraint()(Code)(Java Doc)
protected boolean isDeferAll()(Code)(Java Doc)
public void migrate() throws AxionException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.