Package org.teiid.core.types
Class ClobType
- java.lang.Object
-
- org.teiid.core.types.Streamable<Clob>
-
- org.teiid.core.types.BaseClobType
-
- org.teiid.core.types.ClobType
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Comparable<BaseClobType>
,Clob
,NClob
,Sequencable
public final class ClobType extends BaseClobType
This is wrapper on top of a "clob" object, which implements the "java.sql.Clob" interface. This class also implements the Streamable interface- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClobType.Type
-
Field Summary
-
Fields inherited from class org.teiid.core.types.Streamable
CHARSET, ENCODING, length, reference, STREAMING_BATCH_SIZE_IN_BYTES
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClobType.Type
getType()
void
readExternal(ObjectInput in)
void
setType(ClobType.Type type)
void
writeExternal(ObjectOutput out)
-
Methods inherited from class org.teiid.core.types.BaseClobType
compareTo, equals, free, getAsciiStream, getCharacterStream, getCharacterStream, getCharSequence, getString, getSubString, hashCode, position, position, readReference, setAsciiStream, setCharacterStream, setString, setString, truncate, writeReference
-
Methods inherited from class org.teiid.core.types.Streamable
getLength, getReference, getReferenceStreamId, isBinary, length, setReference, setReferenceStreamId, toString
-
-
-
-
Constructor Detail
-
ClobType
public ClobType()
-
ClobType
public ClobType(Clob clob)
-
-
Method Detail
-
getType
public ClobType.Type getType()
-
setType
public void setType(ClobType.Type type)
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classStreamable<Clob>
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classStreamable<Clob>
- Throws:
IOException
-
-