public class HbaseInterceptor extends HbaseAccessor implements org.aopalliance.intercept.MethodInterceptor
HbaseSynchronizationManager.| Constructor and Description |
|---|
HbaseInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) |
void |
setExceptionConversionEnabled(boolean exceptionConversionEnabled)
Sets whether to convert any
IOException raised to a Spring DataAccessException,
compatible with the org.springframework.dao exception hierarchy. |
void |
setTableNames(String[] tableNames) |
getCharset, getConfiguration, getTableFactory, setConfiguration, setEncoding, setTableFactorypublic void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class HbaseAccessorpublic Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowablepublic void setTableNames(String[] tableNames)
public void setExceptionConversionEnabled(boolean exceptionConversionEnabled)
IOException raised to a Spring DataAccessException,
compatible with the org.springframework.dao exception hierarchy.
Default is "true". Turn this flag off to let the caller receive raw exceptions as-is, without any wrapping.
exceptionConversionEnabled - enable exceptionConversionDataAccessException