本文整理汇总了Java中com.espertech.esper.event.DecoratingEventBean.getUnderlyingEvent方法的典型用法代码示例。如果您正苦于以下问题:Java DecoratingEventBean.getUnderlyingEvent方法的具体用法?Java DecoratingEventBean.getUnderlyingEvent怎么用?Java DecoratingEventBean.getUnderlyingEvent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.espertech.esper.event.DecoratingEventBean
的用法示例。
在下文中一共展示了DecoratingEventBean.getUnderlyingEvent方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: get
import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object get(EventBean event, int index) throws PropertyAccessException {
if (!(event instanceof DecoratingEventBean)) {
throw new PropertyAccessException("Mismatched property getter to EventBean type");
}
DecoratingEventBean wrapper = (DecoratingEventBean) event;
EventBean wrapped = wrapper.getUnderlyingEvent();
if (wrapped == null) {
return null;
}
return undIndexed.get(wrapped, index);
}
示例2: get
import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object get(EventBean event, String key) throws PropertyAccessException {
if (!(event instanceof DecoratingEventBean)) {
throw new PropertyAccessException("Mismatched property getter to EventBean type");
}
DecoratingEventBean wrapper = (DecoratingEventBean) event;
EventBean wrapped = wrapper.getUnderlyingEvent();
if (wrapped == null) {
return null;
}
return undMapped.get(wrapped, key);
}
示例3: get
import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object get(EventBean theEvent) {
if (!(theEvent instanceof DecoratingEventBean)) {
throw new PropertyAccessException("Mismatched property getter to EventBean type");
}
DecoratingEventBean wrapperEvent = (DecoratingEventBean) theEvent;
EventBean wrappedEvent = wrapperEvent.getUnderlyingEvent();
if (wrappedEvent == null) {
return null;
}
return underlyingGetter.get(wrappedEvent);
}
示例4: getFragment
import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object getFragment(EventBean theEvent) {
if (!(theEvent instanceof DecoratingEventBean)) {
throw new PropertyAccessException("Mismatched property getter to EventBean type");
}
DecoratingEventBean wrapperEvent = (DecoratingEventBean) theEvent;
EventBean wrappedEvent = wrapperEvent.getUnderlyingEvent();
if (wrappedEvent == null) {
return null;
}
return underlyingGetter.getFragment(wrappedEvent);
}