|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JdbcGpsDevice
A general contract for a Jdbc Gps device. The Jdbc Gps Device must be able to reindex a jdbc enabled database.
Method Summary | |
---|---|
DataSource |
getDataSource()
Returns the Jdbc data source that will be used to connect to the database. |
JdbcDialect |
getDialect()
Returns the JdbcDialect that will be used when executing
operations that might have different implementations based on the target
database. |
int |
getFetchSize()
Returns the fetch size that will be used when executing select queries against the database. |
void |
setDataSource(DataSource dataSource)
Sets the Jdbc data source that will be used to connect to the database. |
void |
setDialect(JdbcDialect dialect)
Sets the JdbcDialect that will be used when executing operations
that might have different implementations based on the target database. |
void |
setFetchSize(int fetchSize)
Sets the fetch size that will be used when executing select queries against the database. |
Methods inherited from interface org.compass.gps.CompassGpsDevice |
---|
getGps, getName, index, injectGps, isPerformingIndexOperation, isRunning, refresh, setName, shouldMirrorDataChanges, start, stop |
Method Detail |
---|
DataSource getDataSource()
void setDataSource(DataSource dataSource)
start
method.
dataSource
- int getFetchSize()
PreparedStatement#setFetchSize
.
void setFetchSize(int fetchSize)
PreparedStatement#setFetchSize
.
fetchSize
- JdbcDialect getDialect()
JdbcDialect
that will be used when executing
operations that might have different implementations based on the target
database.
void setDialect(JdbcDialect dialect)
JdbcDialect
that will be used when executing operations
that might have different implementations based on the target database.
dialect
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |