com.bea.ld.dsmediator.client
Interface StreamingPreparedExpression
- public interface StreamingPreparedExpression
- extends PreparedExpression
Interface for acquiring ad hoc query results as a stream.
Method Summary
|
void |
closeStream()
Closes the stream. |
weblogic.xml.stream.XMLInputStream |
executeQueryToStream()
Executes the ad hoc query, getting results back as an XMLInputStream. |
Methods inherited from interface com.bea.ld.dsmediator.client.PreparedExpression |
bindBinary,
bindBinaryXML,
bindBoolean,
bindByte,
bindDate,
bindDateTime,
bindDateTime,
bindDateTime,
bindDecimal,
bindDouble,
bindElement,
bindElement,
bindFloat,
bindInt,
bindLong,
bindObject,
bindShort,
bindString,
bindTime,
bindURI,
executeQuery,
setQueryAttributes,
writeOutputToFile |
closeStream
public void closeStream()
throws StreamingException
- Closes the stream. A stream must be explicitly closed when the client is finished using it.
Not doing so may result in undesired effects.
- Throws:
- StreamingException -
executeQueryToStream
public weblogic.xml.stream.XMLInputStream executeQueryToStream()
throws StreamingException
- Executes the ad hoc query, getting results back as an XMLInputStream.
- Returns:
- XMLInputStream (user must cast it to XMLInputStream)
- Throws:
- StreamingException -
Copyright © 2005 Bea Systems Inc. All Rights Reserved.