Class AttributeConfig

All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable

public class AttributeConfig
extends Object
implements IdentifiedDataSerializable
Contains the configuration of a custom attribute that will be extracted from a Map's entry using a given ValueExtractor. This class should be used in combination with the MapConfig.
See Also:
  • Constructor Details

    • AttributeConfig

      public AttributeConfig()
      Creates an empty AttributeConfig.
    • AttributeConfig

      public AttributeConfig​(String name, String extractorClassName)
      Creates a AttributeConfig with the given attribute and ordered setting.

      Name may begin with an ascii letter [A-Za-z] or digit [0-9] and may contain ascii letters [A-Za-z], digits [0-9] or underscores later on.

      name - the name given to an attribute that is going to be extracted
      extractorClassName - full class name of the extractor used to extract the value of the attribute
      See Also:
      setName(String), (String)
    • AttributeConfig

      public AttributeConfig​(AttributeConfig config)
  • Method Details