|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.types.XMLType
public final class XMLType
This class represents the SQLXML object along with the Streamable interface. This is class used everywhere in the MetaMatrix framework, but clients are restricted to use only SQLXML interface on top of this.
| Field Summary |
|---|
| Fields inherited from interface com.metamatrix.common.types.Streamable |
|---|
FORCE_STREAMING, STREAMING_BATCH_SIZE_IN_BYTES |
| Constructor Summary | |
|---|---|
XMLType()
|
|
XMLType(java.sql.SQLXML xml)
|
|
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object o)
|
|
void |
free()
|
|
java.io.InputStream |
getBinaryStream()
|
|
java.io.Reader |
getCharacterStream()
|
|
java.lang.String |
getPersistenceStreamId()
Persitence Stream ID in the server |
|
java.lang.String |
getReferenceStreamId()
Reference Stream ID in the server |
|
|
getSource(java.lang.Class<T> sourceClass)
|
|
java.sql.SQLXML |
getSourceSQLXML()
|
|
java.lang.String |
getString()
|
|
java.io.OutputStream |
setBinaryStream()
|
|
java.io.Writer |
setCharacterStream()
|
|
void |
setPersistenceStreamId(java.lang.String id)
Persitence Stream ID in the server |
|
void |
setReferenceStreamId(java.lang.String id)
Reference Stream ID in the server |
|
|
setResult(java.lang.Class<T> resultClass)
|
|
void |
setString(java.lang.String value)
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XMLType()
public XMLType(java.sql.SQLXML xml)
| Method Detail |
|---|
public java.sql.SQLXML getSourceSQLXML()
public java.lang.String getReferenceStreamId()
Streamable
getReferenceStreamId in interface Streamablepublic void setReferenceStreamId(java.lang.String id)
Streamable
setReferenceStreamId in interface Streamableid - this is buffer managers tuple source id.public java.lang.String getPersistenceStreamId()
Streamable
getPersistenceStreamId in interface Streamablepublic void setPersistenceStreamId(java.lang.String id)
Streamable
setPersistenceStreamId in interface Streamableid - this is buffer managers tuple source id.
public java.io.InputStream getBinaryStream()
throws java.sql.SQLException
getBinaryStream in interface java.sql.SQLXMLjava.sql.SQLException
public java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface java.sql.SQLXMLjava.sql.SQLException
public <T extends javax.xml.transform.Source> T getSource(java.lang.Class<T> sourceClass)
throws java.sql.SQLException
getSource in interface java.sql.SQLXMLjava.sql.SQLException
public java.lang.String getString()
throws java.sql.SQLException
getString in interface java.sql.SQLXMLjava.sql.SQLException
public java.io.OutputStream setBinaryStream()
throws java.sql.SQLException
setBinaryStream in interface java.sql.SQLXMLjava.sql.SQLException
public java.io.Writer setCharacterStream()
throws java.sql.SQLException
setCharacterStream in interface java.sql.SQLXMLjava.sql.SQLException
public void setString(java.lang.String value)
throws java.sql.SQLException
setString in interface java.sql.SQLXMLjava.sql.SQLExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public void free()
throws java.sql.SQLException
free in interface java.sql.SQLXMLjava.sql.SQLException
public <T extends javax.xml.transform.Result> T setResult(java.lang.Class<T> resultClass)
throws java.sql.SQLException
setResult in interface java.sql.SQLXMLjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||