Class DerivedSchemaTypeQueryTargetProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.DerivedSchemaTypeQueryTargetProperties
- Direct Known Subclasses:
DerivedSchemaTypeQueryTargetRequestBody
DerivedSchemaTypeQueryTargetProperties defines a query on a schema element that returns all or part of the value for a
derived schema type.
-
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.Return the unique identifier that describes the data source that will be queried to get part of the derived value.Return the name of the query language used in the query.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.void
setQueryTargetGUID
(String queryTargetGUID) Set up the unique identifier that describes the data source that will be queried to get part of the derived value.void
setQueryType
(String queryType) Set up the name of the query language used in the query.toString()
Standard toString method.
-
Constructor Details
-
DerivedSchemaTypeQueryTargetProperties
public DerivedSchemaTypeQueryTargetProperties()Default constructor -
DerivedSchemaTypeQueryTargetProperties
Copy/clone constructor.- Parameters:
template
- template schema query 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
-
getQueryType
Return the name of the query language used in the query.- Returns:
- queryType String
-
setQueryType
Set up the name of the query language used in the query.- Parameters:
queryType
- String name
-
getQueryTargetGUID
Return the unique identifier that describes the data source that will be queried to get part of the derived value.- Returns:
- string guid
-
setQueryTargetGUID
Set up the unique identifier that describes the data source that will be queried to get part of the derived value.- Parameters:
queryTargetGUID
- string guid
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-