Class ExplicitPropertyDescriptor

java.lang.Object
com.espertech.esper.common.internal.event.core.ExplicitPropertyDescriptor

public class ExplicitPropertyDescriptor extends Object
Descriptor for explicit properties for use with BaseConfigurableEventType.
  • Constructor Details

    • ExplicitPropertyDescriptor

      public ExplicitPropertyDescriptor(EventPropertyDescriptor descriptor, EventPropertyGetterSPI getter, boolean fragmentArray, String optionalFragmentTypeName)
      Ctor.
      Parameters:
      descriptor - property descriptor
      getter - getter for values
      fragmentArray - true if array fragment
      optionalFragmentTypeName - null if not a fragment, else fragment type name
  • Method Details

    • getDescriptor

      public EventPropertyDescriptor getDescriptor()
      Returns the property descriptor.
      Returns:
      property descriptor
    • getGetter

      public EventPropertyGetterSPI getGetter()
      Returns the getter.
      Returns:
      getter
    • getOptionalFragmentTypeName

      public String getOptionalFragmentTypeName()
      Returns the fragment event type name, or null if none defined.
      Returns:
      fragment type name
    • isFragmentArray

      public boolean isFragmentArray()
      Returns true if an indexed, or false if not indexed.
      Returns:
      fragment indicator
    • toString

      public String toString()
      Overrides:
      toString in class Object