|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectits.SQL.Contents
Provides an object-oriented view of the SDD Contents frame. Created and used by the SDD Parser to store information about the SDD Contents frame.
| Constructor Summary | |
Contents(Schema schema,
java.lang.String contents)
Creates a Contents object from the given definition. |
|
Contents(java.lang.String strContents)
Used by the SDD Contents parser to construct an empty Contents object. |
|
| Method Summary | |
void |
addTable(java.lang.String name,
java.util.Vector columns,
int dataBegin,
int dataEnd)
Used by the SDD Contents parser as it parses the buffer. |
java.lang.String |
getString()
|
int |
getTableCount()
|
boolean |
hasTable(java.lang.String name)
|
ContentsData |
readTable(java.lang.String name)
Given the name of a table from the SDD Schema, returns rows of data destined for that table, in ContentsData format. |
ContentsData |
readTable(java.lang.String name,
boolean preserveQuotes)
Given the name of a table from the SDD Schema, returns rows of data destined for that table, in ContentsData format. |
ContentsData |
readTable(Table table)
Given a table from the SDD Schema, returns rows of data destined for that table, in ContentsData format. |
java.util.Enumeration |
tables()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Contents(java.lang.String strContents)
public Contents(Schema schema,
java.lang.String contents)
throws ContentsParserException,
java.lang.Exception
ContentsParserException - if the given definition is incorrect
java.lang.Exception| Method Detail |
public java.lang.String getString()
public void addTable(java.lang.String name,
java.util.Vector columns,
int dataBegin,
int dataEnd)
public java.util.Enumeration tables()
public int getTableCount()
public boolean hasTable(java.lang.String name)
public ContentsData readTable(java.lang.String name)
public ContentsData readTable(java.lang.String name,
boolean preserveQuotes)
preserveQuotes - if true, the single quotes that
surround SQL delimited identifiers will not be removed.
The historical behavior of this method is to remove them.
public ContentsData readTable(Table table)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||