com.espertech.esper.event.vaevent
Class VariantPropResolutionStrategyDefault

java.lang.Object
  extended by com.espertech.esper.event.vaevent.VariantPropResolutionStrategyDefault
All Implemented Interfaces:
VariantPropResolutionStrategy

public class VariantPropResolutionStrategyDefault
extends java.lang.Object
implements VariantPropResolutionStrategy

A property resolution strategy that allows only the preconfigured types, wherein all properties that are common (name and type) to all properties are considered.


Constructor Summary
VariantPropResolutionStrategyDefault(VariantSpec variantSpec)
          Ctor.
 
Method Summary
 VariantPropertyDesc resolveProperty(java.lang.String propertyName, EventType[] variants)
          Resolve the property for each of the types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariantPropResolutionStrategyDefault

public VariantPropResolutionStrategyDefault(VariantSpec variantSpec)
Ctor.

Parameters:
variantSpec - specified the preconfigured types
Method Detail

resolveProperty

public VariantPropertyDesc resolveProperty(java.lang.String propertyName,
                                           EventType[] variants)
Description copied from interface: VariantPropResolutionStrategy
Resolve the property for each of the types.

Specified by:
resolveProperty in interface VariantPropResolutionStrategy
Parameters:
propertyName - to resolve
variants - the variants to resolve the property for
Returns:
property descriptor

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com