Class VDPViewInfo
java.lang.Object
com.denodo.scheduler.client.commons.VDPViewInfo
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final longFor interoperability with possible future changes. -
Constructor Summary
ConstructorsConstructorDescriptionVDPViewInfo(Collection<String> fieldNames, Collection<String> mandatoryFields, Collection<String> pkFields, String loadQuery) -
Method Summary
Modifier and TypeMethodDescriptionGets all the field names of the view.Gets load query used in incremental loadGets the names of the mandatory fields of the view.Gets the names of the pk fields of the view.booleanisMandatory(String fieldName) booleantoString()
-
Field Details
-
serialVersionUID
protected static final long serialVersionUIDFor interoperability with possible future changes.- See Also:
-
-
Constructor Details
-
VDPViewInfo
public VDPViewInfo(Collection<String> fieldNames, Collection<String> mandatoryFields, Collection<String> pkFields, String loadQuery)
-
-
Method Details
-
isMandatory
- Parameters:
fieldName- the field name to check if it is mandatory.- Returns:
-
isPK
- Parameters:
fieldName- the field name to check if it is pk.- Returns:
-
getFieldNames
Gets all the field names of the view.- Returns:
- the field names
-
getMandatoryFields
Gets the names of the mandatory fields of the view.- Returns:
- the mandatory fields
-
getPKFields
Gets the names of the pk fields of the view.- Returns:
- the mandatory fields
-
getLoadQuery
Gets load query used in incremental load- Returns:
- the load query
-
toString
-