Class DataContentForDataSetProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.DataContentForDataSetProperties
DataContentForDataSetProperties defines a query on an asset that returns all or part of the values for a dataset.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getQuery()
Return the query string for this element.Return the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.int
hashCode()
Create a hash code for this element type.void
Set up the query string for this element.void
setQueryId
(String queryId) Set up the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
DataContentForDataSetProperties
public DataContentForDataSetProperties()Default constructor -
DataContentForDataSetProperties
Copy/clone constructor.- Parameters:
template
- template to copy.
-
-
Method Details
-
getQueryId
Return the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.- Returns:
- String query identifier
-
setQueryId
Set up the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.- Parameters:
queryId
- String query identifier
-
getQuery
Return the query string for this element. The query string may have placeholders for values returned by queries that have a lower queryId than this element.- Returns:
- String query
-
setQuery
Set up the query string for this element. The query string may have placeholders for values returned by queries that have a lower queryId than this element.- Parameters:
query
- String query
-
toString
Standard toString method.- Overrides:
toString
in classRelationshipProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int hash code
-