Interface CustomRecordValue


public interface CustomRecordValue
This class represents a register in the Denodo Platform values structure. Each record has a number of properties CustomRecordValue.Property representing the fields of the register in the Denodo Platform products.
Since:
4.6
  • Method Details

    • getProperties

    • getProperty

      Object getProperty(String name)
      Returns the value of the given property. This value can be a CustomRecordValue, a CustomArrayValue or an Object derived of a native type.
      Parameters:
      name - The name of the property to obtain.
      Returns:
      the value of the given property.
    • addProperty

      void addProperty(String name, Object value)
      Adds a new value to the record. If the property is already defined in this record, nothing is done.
      Parameters:
      name - Name of the property to add.
      value - Value of the property to add.
    • setProperty

      void setProperty(String name, Object value)
      Adds a new value to the record. If the property is already defined in this record, the previous one is replaced by the specified in the method.
      Parameters:
      name - Name of the property to set.
      value - Value of the property to set.
    • removeProperty

      void removeProperty(String name)
      Removes the property of the current record value.
      Parameters:
      name - name of the property to be removed.
    • size

      int size()
      Returns the number of properties in the record value.
      Returns:
      the number of properties in the record value.