Class QueryProperties
- java.lang.Object
-
- io.datahubproject.openapi.generated.QueryProperties
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue,OneOfGenericAspectValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class QueryProperties extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValueInformation about a Query against one or more data assets (e.g. Tables or Views).
-
-
Constructor Summary
Constructors Constructor Description QueryProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryPropertiescreated(AuditStamp created)QueryPropertiesdescription(java.lang.String description)booleanequals(java.lang.Object o)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@NotNull @Valid AuditStampgetCreated()Get createdjava.lang.StringgetDescription()The Query description.@NotNull @Valid AuditStampgetLastModified()Get lastModifiedjava.lang.StringgetName()Optional display name to identify the query.@NotNull @Valid QuerySourcegetSource()Get source@NotNull @Valid QueryStatementgetStatement()Get statementinthashCode()QueryPropertieslastModified(AuditStamp lastModified)QueryPropertiesname(java.lang.String name)voidsetCreated(AuditStamp created)voidsetDescription(java.lang.String description)voidsetLastModified(AuditStamp lastModified)voidsetName(java.lang.String name)voidsetSource(QuerySource source)voidsetStatement(QueryStatement statement)QueryPropertiessource(QuerySource source)QueryPropertiesstatement(QueryStatement statement)java.lang.StringtoString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
statement
public QueryProperties statement(QueryStatement statement)
-
getStatement
@NotNull @Valid public @NotNull @Valid QueryStatement getStatement()
Get statement- Returns:
- statement
-
setStatement
public void setStatement(QueryStatement statement)
-
source
public QueryProperties source(QuerySource source)
-
getSource
@NotNull @Valid public @NotNull @Valid QuerySource getSource()
Get source- Returns:
- source
-
setSource
public void setSource(QuerySource source)
-
name
public QueryProperties name(java.lang.String name)
-
getName
public java.lang.String getName()
Optional display name to identify the query.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
description
public QueryProperties description(java.lang.String description)
-
getDescription
public java.lang.String getDescription()
The Query description.- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
created
public QueryProperties created(AuditStamp created)
-
getCreated
@NotNull @Valid public @NotNull @Valid AuditStamp getCreated()
Get created- Returns:
- created
-
setCreated
public void setCreated(AuditStamp created)
-
lastModified
public QueryProperties lastModified(AuditStamp lastModified)
-
getLastModified
@NotNull @Valid public @NotNull @Valid AuditStamp getLastModified()
Get lastModified- Returns:
- lastModified
-
setLastModified
public void setLastModified(AuditStamp lastModified)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-