Package org.teiid.query.function.source
Class XMLSystemFunctions.ExtendedWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.FilterWriter
-
- org.teiid.query.function.source.XMLSystemFunctions.ExtendedWriter
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Enclosing class:
- XMLSystemFunctions
public static class XMLSystemFunctions.ExtendedWriter extends FilterWriter
An extension to the standard writer to allow for direct inclusion of large values by reference rather than by copy
-
-
Field Summary
-
Fields inherited from class java.io.FilterWriter
out
-
-
Constructor Summary
Constructors Constructor Description ExtendedWriter(Writer out, FileStoreInputStreamFactory fsisf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
include(Streamable<?> s)
Include the streamable value, rather than inlining.
-
-
-
Constructor Detail
-
ExtendedWriter
public ExtendedWriter(Writer out, FileStoreInputStreamFactory fsisf)
-
-
Method Detail
-
include
public boolean include(Streamable<?> s) throws IOException
Include the streamable value, rather than inlining.- Parameters:
s
-- Returns:
- true if the value could be included
- Throws:
IOException
-
-