Package org.teiid.core.types
Class InputStreamFactory.ClobInputStreamFactory
- java.lang.Object
-
- org.teiid.core.types.InputStreamFactory
-
- org.teiid.core.types.InputStreamFactory.ClobInputStreamFactory
-
- All Implemented Interfaces:
DataSource
,Source
- Enclosing class:
- InputStreamFactory
public static class InputStreamFactory.ClobInputStreamFactory extends InputStreamFactory implements DataSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.core.types.InputStreamFactory
InputStreamFactory.BlobInputStreamFactory, InputStreamFactory.ClobInputStreamFactory, InputStreamFactory.FileInputStreamFactory, InputStreamFactory.SQLXMLInputStreamFactory, InputStreamFactory.StorageMode, InputStreamFactory.StreamFactoryReference
-
-
Field Summary
-
Fields inherited from class org.teiid.core.types.InputStreamFactory
length
-
-
Constructor Summary
Constructors Constructor Description ClobInputStreamFactory(Clob clob)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reader
getCharacterStream()
Charset
getCharset()
String
getContentType()
InputStream
getInputStream()
Get a new InputStreamString
getName()
OutputStream
getOutputStream()
Reader
getReader(Reader reader)
InputStreamFactory.StorageMode
getStorageMode()
void
setCharset(Charset charset)
void
setTemporary(boolean temp)
-
Methods inherited from class org.teiid.core.types.InputStreamFactory
free, getLength, getStorageMode, getSystemId, setLength, setSystemId, setTemporary
-
-
-
-
Constructor Detail
-
ClobInputStreamFactory
public ClobInputStreamFactory(Clob clob)
-
-
Method Detail
-
getCharset
public Charset getCharset()
-
setCharset
public void setCharset(Charset charset)
-
getInputStream
public InputStream getInputStream() throws IOException
Description copied from class:InputStreamFactory
Get a new InputStream- Specified by:
getInputStream
in interfaceDataSource
- Specified by:
getInputStream
in classInputStreamFactory
- Throws:
IOException
-
getCharacterStream
public Reader getCharacterStream() throws IOException
- Overrides:
getCharacterStream
in classInputStreamFactory
- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceDataSource
-
getName
public String getName()
- Specified by:
getName
in interfaceDataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-
getStorageMode
public InputStreamFactory.StorageMode getStorageMode()
- Overrides:
getStorageMode
in classInputStreamFactory
-
setTemporary
public void setTemporary(boolean temp)
- Overrides:
setTemporary
in classInputStreamFactory
-
-