Package com.aerospike.jdbc.sql.type
Class StringClob
java.lang.Object
com.aerospike.jdbc.sql.type.StringClob
public class StringClob extends Object implements NClob
-
Constructor Summary
Constructors Constructor Description StringClob()
StringClob(String data)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
void
free()
InputStream
getAsciiStream()
Reader
getCharacterStream()
Reader
getCharacterStream(long pos, long length)
String
getSubString(long pos, int length)
int
hashCode()
long
length()
long
position(String searchstr, long start)
long
position(Clob searchstr, long start)
OutputStream
setAsciiStream(long pos)
Writer
setCharacterStream(long pos)
int
setString(long pos, String str)
int
setString(long pos, String str, int offset, int len)
void
truncate(long len)
-
Constructor Details
-
StringClob
public StringClob() -
StringClob
-
-
Method Details
-
length
public long length() -
getSubString
- Specified by:
getSubString
in interfaceClob
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceClob
-
position
- Specified by:
position
in interfaceClob
- Throws:
SQLException
-
position
- Specified by:
position
in interfaceClob
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceClob
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfaceClob
- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStream
in interfaceClob
- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStream
in interfaceClob
-
truncate
public void truncate(long len) -
free
public void free() -
getCharacterStream
- Specified by:
getCharacterStream
in interfaceClob
- Throws:
SQLException
-
equals
-
hashCode
public int hashCode()
-