Package com.atlan.model.search
Class IndexSearchRequest.IndexSearchRequestBuilder<C extends IndexSearchRequest,B extends IndexSearchRequest.IndexSearchRequestBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.search.IndexSearchRequest.IndexSearchRequestBuilder<C,B>
- Enclosing class:
- IndexSearchRequest
public abstract static class IndexSearchRequest.IndexSearchRequestBuilder<C extends IndexSearchRequest,B extends IndexSearchRequest.IndexSearchRequestBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) allowDeletedRelations
(Boolean allowDeletedRelations) Whether to include deleted relationships to this asset (true) or not (false).attributes
(Collection<? extends String> attributes) abstract C
build()
dsl
(IndexSearchDSL dsl) Parameters for the search itself.excludeAtlanTags
(Boolean excludeAtlanTags) Whether to include Atlan tags for assets (false) or not (true).excludeMeanings
(Boolean excludeMeanings) Whether to include term relationships for assets (false) or not (true).includeAtlanTagNames
(Boolean includeAtlanTagNames) Whether to include Atlan tag names for assets (true) or not (false).relationAttribute
(String relationAttribute) relationAttributes
(Collection<? extends String> relationAttributes) requestMetadata
(IndexSearchRequest.Metadata requestMetadata) Controls how the search is logged (if at all).requestRelationshipAttrsForSearch
(Boolean requestRelationshipAttrsForSearch) Whether to include relationship-level attributes for any relationships to each asset (true) or not (false).protected abstract B
self()
showSearchScore
(Boolean showSearchScore) When true, include the score of each result.suppressLogs
(Boolean suppressLogs) TBCtoString()
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
IndexSearchRequestBuilder
public IndexSearchRequestBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-
dsl
Parameters for the search itself.- Returns:
this
.
-
attribute
-
attributes
-
clearAttributes
-
relationAttribute
-
relationAttributes
-
clearRelationAttributes
-
suppressLogs
TBC- Returns:
this
.
-
showSearchScore
When true, include the score of each result. By default, this is false and scores are excluded.- Returns:
this
.
-
excludeMeanings
Whether to include term relationships for assets (false) or not (true). By default, this is false and term relationships are therefore included.- Returns:
this
.
-
excludeAtlanTags
Whether to include Atlan tags for assets (false) or not (true). By default, this is false and Atlan tags are therefore included.- Returns:
this
.
-
includeAtlanTagNames
Whether to include Atlan tag names for assets (true) or not (false). By default, this is true and Atlan tag names are therefore included. Note that this can be set to true even when excludeAtlanTags is set to false.- Returns:
this
.
-
allowDeletedRelations
Whether to include deleted relationships to this asset (true) or not (false). By default, this is false and therefore only active (not deleted) relationships will be included.- Returns:
this
.
-
requestRelationshipAttrsForSearch
Whether to include relationship-level attributes for any relationships to each asset (true) or not (false). By default, this is false and therefore relationship-level attributes are not included.- Returns:
this
.
-
requestMetadata
Controls how the search is logged (if at all).- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-