Package org.frankframework.jdbc
Class JdbcTableMessageBrowser<M>
java.lang.Object
org.frankframework.jndi.JndiBase
org.frankframework.jdbc.JdbcFacade
org.frankframework.jdbc.AbstractJdbcMessageBrowser<M>
org.frankframework.jdbc.JdbcTableMessageBrowser<M>
- All Implemented Interfaces:
HasPhysicalDestination
,IConfigurable
,IConfigurationAware
,IMessageBrowser<M>
,INamedObject
,IScopeProvider
,IXAEnabled
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
JdbcTransactionalStorage
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.frankframework.core.IMessageBrowser
IMessageBrowser.HideMethod, IMessageBrowser.SortOrder, IMessageBrowser.StorageType
-
Field Summary
Fields inherited from class org.frankframework.jdbc.AbstractJdbcMessageBrowser
checkCorrelationIdQuery, checkMessageIdQuery, CONTROL_PROPERTY_PREFIX, deleteQuery, getMessageCountQuery, PROPERTY_ASSUME_PRIMARY_KEY_UNIQUE, PROPERTY_USE_PARAMETERS, selectContextQuery, selectDataQuery
-
Constructor Summary
ConstructorDescriptionJdbcTableMessageBrowser
(JdbcTableListener<M> tableListener) JdbcTableMessageBrowser
(JdbcTableListener<M> tableListener, String statusValue, IMessageBrowser.StorageType storageType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
createQueryTexts
(IDbmsSupport dbmsSupport) protected String
protected String
getFromClause
(boolean noAlias) Returns the name and location of the database that this objects operates on.protected String
getSelectListQuery
(IDbmsSupport dbmsSupport, Date startTime, Date endTime, IMessageBrowser.SortOrder order) protected String
provideFirstRowsHintAfterFirstKeyword
(IDbmsSupport dbmsSupport) protected String
provideIndexHintAfterFirstKeyword
(IDbmsSupport dbmsSupport) protected String
provideTrailingFirstRowsHint
(IDbmsSupport dbmsSupport) protected RawMessageWrapper<M>
retrieveObject
(String storageKey, ResultSet rs, int columnIndex) void
setIndexName
(String string) Name of the index, to be used in hints for query optimizer too (only for Oracle).protected void
void
setTableName
(String tableName) Name of the table messages are stored in.Methods inherited from class org.frankframework.jdbc.AbstractJdbcMessageBrowser
applyStandardParameters, applyStandardParameters, browseMessage, containsCorrelationId, containsMessageId, copyFacadeSettings, deleteMessage, getCommentField, getContext, getCorrelationIdField, getDatasource, getDateField, getExpiryDateField, getHideMethod, getHideRegex, getHostField, getIdField, getIterator, getIterator, getKeyField, getLabelField, getLogPrefix, getMessageCount, getMessageField, getOrder, getPrefix, getSlotId, getSlotIdField, getType, getTypeField, getWhereClause, setCommentField, setCorrelationIdField, setDateField, setExpiryDateField, setHideMethod, setHideRegex, setHostField, setIdField, setKeyField, setLabelField, setMessageField, setOrder, setPrefix, setSlotId, setSlotIdField, setType, setTypeField
Methods inherited from class org.frankframework.jdbc.JdbcFacade
getAuthAlias, getConnection, getConnectionWithTimeout, getDataSourceFactory, getDatasourceInfo, getDatasourceName, getDbmsSupport, getDomain, getPassword, getUsername, isConnectionsArePooled, isTransacted, setAuthAlias, setConnectionsArePooled, setDataSourceFactory, setDatasourceName, setDbmsSupportFactory, setJmsRealm, setPassword, setTransacted, setUsername
Methods inherited from class org.frankframework.jndi.JndiBase
getApplicationContext, getAuthentication, getConfigurationClassLoader, getContext, getCredentials, getInitialContextFactoryName, getJmsRealmName, getJndiAuthAlias, getJndiContextPrefix, getJndiEnv, getJndiProperties, getName, getPrincipal, getProviderURL, getSecurityProtocol, getUrlPkgPrefixes, setApplicationContext, setAuthentication, setCredentials, setInitialContextFactoryName, setJndiAuthAlias, setJndiContextPrefix, setJndiProperties, setName, setPrincipal, setProviderURL, setSecurityProtocol, setUrlPkgPrefixes, stop, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.frankframework.core.IXAEnabled
isTransacted
-
Field Details
-
useIndexHint
protected boolean useIndexHint
-
-
Constructor Details
-
JdbcTableMessageBrowser
-
JdbcTableMessageBrowser
public JdbcTableMessageBrowser(JdbcTableListener<M> tableListener, String statusValue, IMessageBrowser.StorageType storageType)
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceIConfigurable
- Overrides:
configure
in classAbstractJdbcMessageBrowser<M>
- Throws:
ConfigurationException
-
setOperationControls
protected void setOperationControls()- Overrides:
setOperationControls
in classAbstractJdbcMessageBrowser<M>
-
retrieveObject
protected RawMessageWrapper<M> retrieveObject(String storageKey, ResultSet rs, int columnIndex) throws JdbcException, SQLException - Specified by:
retrieveObject
in classAbstractJdbcMessageBrowser<M>
- Throws:
JdbcException
SQLException
-
createQueryTexts
- Throws:
ConfigurationException
-
getFromClause
-
getSelectListQuery
protected String getSelectListQuery(IDbmsSupport dbmsSupport, Date startTime, Date endTime, IMessageBrowser.SortOrder order) - Specified by:
getSelectListQuery
in classAbstractJdbcMessageBrowser<M>
-
createSelector
- Overrides:
createSelector
in classAbstractJdbcMessageBrowser<M>
-
provideIndexHintAfterFirstKeyword
-
provideFirstRowsHintAfterFirstKeyword
-
provideTrailingFirstRowsHint
-
getPhysicalDestinationName
Description copied from class:JdbcFacade
Returns the name and location of the database that this objects operates on. If no previous connection was made or it cannot determine the destination it returns 'unknown'- Specified by:
getPhysicalDestinationName
in interfaceHasPhysicalDestination
- Overrides:
getPhysicalDestinationName
in classJdbcFacade
- See Also:
-
setTableName
Name of the table messages are stored in.- Default value
- IBISSTORE
-
setIndexName
Name of the index, to be used in hints for query optimizer too (only for Oracle).- Default value
- IX_IBISSTORE
-
getTableName
-
getIndexName
-