public class HbaseInterceptor extends HbaseAccessor implements org.aopalliance.intercept.MethodInterceptor
HbaseSynchronizationManager
.Constructor and Description |
---|
HbaseInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
java.lang.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(java.lang.String[] tableNames) |
getCharset, getConfiguration, getTableFactory, setConfiguration, setEncoding, setTableFactory
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class HbaseAccessor
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
java.lang.Throwable
public void setTableNames(java.lang.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