Package com.atlan.model.search
Class SearchLogRequest
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.search.SearchLogRequest
- All Implemented Interfaces:
Serializable
Class from which to configure and run a search against Atlan's log of past searches.
For a list of the attributes that can be searched, aggregated, sorted, etc see the
static constants in
SearchLogEntry.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSearchLogRequest.SearchLogRequestBuilder<C extends SearchLogRequest,B extends SearchLogRequest.SearchLogRequestBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchLogRequest.SearchLogRequestBuilder<?, ?> static SearchLogRequest.SearchLogRequestBuilder<?, ?> builder(co.elastic.clients.elasticsearch._types.query_dsl.Query query) Build a search using the provided query and default options.static SearchLogRequest.SearchLogRequestBuilder<?, ?> builder(IndexSearchDSL dsl) Build a search using the provided DSL and default options.protected booleanbooleangetDsl()Parameters for the search itself.TBCinthashCode()search(AtlanClient client) Run the search.toString()Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
SearchLogRequest
-
-
Method Details
-
builder
public static SearchLogRequest.SearchLogRequestBuilder<?,?> builder(co.elastic.clients.elasticsearch._types.query_dsl.Query query) Build a search using the provided query and default options.- Parameters:
query- the query to use for the search- Returns:
- the search request, with default options
-
builder
Build a search using the provided DSL and default options.- Parameters:
dsl- the query details to use for the search- Returns:
- the search request, with default options
-
search
Run the search.- Parameters:
client- connectivity to the Atlan tenant on which to run the search- Returns:
- the matching assets
- Throws:
AtlanException- on any issues interacting with the Atlan APIs
-
_internal
-
toBuilder
-
getDsl
Parameters for the search itself. -
getQueryString
TBC -
equals
- Overrides:
equalsin classAtlanObject
-
canEqual
- Overrides:
canEqualin classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanObject
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAtlanObject
-