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 classClobType.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.TypegetType()voidreadExternal(ObjectInput in)voidsetType(ClobType.Type type)voidwriteExternal(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:
readExternalin interfaceExternalizable- Overrides:
readExternalin classStreamable<Clob>- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classStreamable<Clob>- Throws:
IOException
-
-