示例#1
0
        public bool IsProperty(string propertyExpression)
        {
            var propertyType = GetPropertyType(propertyExpression);
            if (propertyType != null) {
                return true;
            }

            if (_propertyGetterCache == null) {
                _propertyGetterCache = new Dictionary<string, EventPropertyGetterSPI>();
            }

            return AvroPropertyUtil.GetGetter(
                       _avroSchema,
                       Metadata.ModuleName,
                       _propertyGetterCache,
                       _propertyItems,
                       propertyExpression,
                       false,
                       _eventBeanTypedEventFactory,
                       _eventTypeAvroHandler,
                       _fragmentTypeCache) !=
                   null;
        }