Class VDPViewInfo

java.lang.Object
com.denodo.scheduler.client.commons.VDPViewInfo
All Implemented Interfaces:
Serializable

public class VDPViewInfo extends Object implements Serializable
Encapsulates the fields of a VDP view and which ones are mandatory. A field is mandatory if it is obligatory in all the search methods.
See Also:
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      For interoperability with possible future changes.
      See Also:
  • Constructor Details

  • Method Details

    • isMandatory

      public boolean isMandatory(String fieldName)
      Parameters:
      fieldName - the field name to check if it is mandatory.
      Returns:
    • isPK

      public boolean isPK(String fieldName)
      Parameters:
      fieldName - the field name to check if it is pk.
      Returns:
    • getFieldNames

      public Collection<String> getFieldNames()
      Gets all the field names of the view.
      Returns:
      the field names
    • getMandatoryFields

      public Collection<String> getMandatoryFields()
      Gets the names of the mandatory fields of the view.
      Returns:
      the mandatory fields
    • getPKFields

      public Collection<String> getPKFields()
      Gets the names of the pk fields of the view.
      Returns:
      the mandatory fields
    • getLoadQuery

      public String getLoadQuery()
      Gets load query used in incremental load
      Returns:
      the load query
    • toString

      public String toString()
      Overrides:
      toString in class Object