Package overit.geocall.sql
Class CacheClob
java.lang.Object
overit.geocall.sql.CacheClob
- All Implemented Interfaces:
Clob
Class that implements
Clob used for cache-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for CacheClobCacheClob(char[] cc) Constructor for CacheClobCacheClob(InputStream is, Charset encoding) Constructor for CacheClobConstructor for CacheClobConstructor for CacheClob -
Method Summary
Modifier and TypeMethodDescriptionvoidfree()getCharacterStream(long pos, long length) getSubString(long pos, int length) longlength()longlongsetAsciiStream(long pos) setCharacterStream(long pos) intintvoidtruncate(long len)
-
Field Details
-
encoding
-
bc
-
-
Constructor Details
-
CacheClob
Constructor for CacheClob- Parameters:
bb- Array of byte for cacheencoding- The encoding- Throws:
SQLException- if an error occurs while creating the cache
-
CacheClob
Constructor for CacheClob- Parameters:
is- The InputStreamencoding- The encoding- Throws:
SQLException- if an error occurs while creating the cache
-
CacheClob
Constructor for CacheClob- Parameters:
str- String containing the bytes- Throws:
SQLException- if an error occurs while creating the cache
-
CacheClob
Constructor for CacheClob- Parameters:
cc- Array of char containing the bytes- Throws:
SQLException- if an error occurs while creating the cache
-
CacheClob
Constructor for CacheClob- Parameters:
bc- The ByteCacheencoding- The encoding
-
-
Method Details
-
length
- Specified by:
lengthin interfaceClob- Throws:
SQLException
-
getSubString
- Specified by:
getSubStringin interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
position
- Specified by:
positionin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
setString
- Specified by:
setStringin interfaceClob- Throws:
SQLException
-
setAsciiStream
- Specified by:
setAsciiStreamin interfaceClob- Throws:
SQLException
-
setCharacterStream
- Specified by:
setCharacterStreamin interfaceClob- Throws:
SQLException
-
truncate
- Specified by:
truncatein interfaceClob- Throws:
SQLException
-
free
- Specified by:
freein interfaceClob- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceClob- Throws:
SQLException
-