|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IClobMutator
Provides mechanizm to access CLOB data. Depending on database it might be a different way to access data stored within CLOB column.
ManagedConnection.getClobMutator()| Method Summary | |
|---|---|
String |
get(ResultSet rs,
int fieldIndex)
Gets value of the CLOB. |
String |
get(ResultSet rs,
String fieldName)
Gets value of the CLOB. |
InputStream |
getStream(ResultSet rs,
int fieldIndex)
Gets value as a stream |
void |
set(PreparedStatement st,
int paramIndex,
String value)
Sets value of the CLOB. |
void |
setStream(PreparedStatement st,
int fieldIndex,
InputStream value,
long length)
Sets value as a stream |
| Method Detail |
|---|
String get(ResultSet rs,
int fieldIndex)
throws SQLException
rs - result setfieldIndex - index of the CLOB field
SQLException - if reading CLOB failed
String get(ResultSet rs,
String fieldName)
throws SQLException
rs - result setfieldName - name of the CLOB field
SQLException - if reading CLOB failed
void set(PreparedStatement st,
int paramIndex,
String value)
throws SQLException
st - prepared statementparamIndex - index of the CLOB parametervalue - value to set
SQLException - if writing CLOB failed
InputStream getStream(ResultSet rs,
int fieldIndex)
throws SQLException
rs - result setfieldIndex - field index
SQLException - if getting stream failed
void setStream(PreparedStatement st,
int fieldIndex,
InputStream value,
long length)
throws SQLException
st - prepared statementfieldIndex - field indexvalue - value as a streamlength - length of the stream
SQLException - if setting stream failed
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||