Interface SchemaConfig

  • All Superinterfaces:
    BaseConfiguration, java.io.Serializable
    All Known Implementing Classes:
    SchemaConfigImpl

    public interface SchemaConfig
    extends BaseConfiguration
    Describes a Schema, the information about which which fields are available or needed when reading from or writing to e.g. a Connector.
    • Method Detail

      • getItemNames

        java.util.List<java.lang.String> getItemNames()
        Gets a List of all of the names.
        Returns:
        The item names in a List.
      • getItem

        SchemaItemConfig getItem​(java.lang.Object name)
        Gets the item attribute of the SchemaConfig object
        Parameters:
        name - The name of the schema item object
        Returns:
        The item value
      • removeItem

        void removeItem​(java.lang.Object name)
        Removes and item from the schema
        Parameters:
        name - The name of the item to remove
      • setItem

        void setItem​(java.lang.Object name,
                     SchemaItemConfig item)
        Sets the item attribute of the SchemaConfig object
        Parameters:
        name - The new item value
        item - The new item value
      • newItem

        SchemaItemConfig newItem​(java.lang.Object name)
                          throws java.lang.Exception
        Constructs a new SchemaItemConfig object
        Parameters:
        name - The name of the new Object
        Returns:
        The new constructed object
        Throws:
        java.lang.Exception - if the operation does not succeed