public final class DXSearch extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DXSearch.FindDataObjectsRequestBuilder<T extends DXDataObject>
Builder class for formulating
findDataObjects queries and executing them. |
static class |
DXSearch.FindDataObjectsResult<T extends DXDataObject>
The set of data objects that matched a
findDataObjects query. |
static class |
DXSearch.FindExecutionsRequestBuilder<T extends DXExecution>
Builder class for formulating
findExecutions queries and executing them. |
static class |
DXSearch.FindExecutionsResult<T extends DXExecution>
The set of executions that matched a
findExecutions query. |
static interface |
DXSearch.FindResultPage<T>
Represents a single page of results for a find route.
|
static interface |
DXSearch.ObjectProducer<T extends DXObject>
Interface that provides streaming or buffered access to a sequence of
DXObjects . |
static class |
DXSearch.Ordering
Specifies in a query whether to return visible items, hidden items, or both.
|
static class |
DXSearch.PropertiesQuery
A query for objects (data objects, executions, or projects) with specified properties.
|
static class |
DXSearch.TagsQuery
A query for objects (data objects, executions, or projects) with specified tags.
|
static class |
DXSearch.TypeQuery
A query for data objects with specified types.
|
static class |
DXSearch.VisibilityQuery
Specifies in a query whether to return visible items, hidden items, or both.
|
public static DXSearch.FindDataObjectsRequestBuilder<DXDataObject> findDataObjects()
Example use:
FindDataObjectsResponse<DXDataObject> fdor = DXSearch.findDataObjects().inProject("project-000000000000000000000000") .inFolder("/my/subfolder").execute(); for (DXDataObject o : fdor.asList()) { System.out.println(o.getId()); }
public static DXSearch.FindDataObjectsRequestBuilder<DXDataObject> findDataObjectsWithEnvironment(DXEnvironment env)
Example use:
FindDataObjectsResponse<DXDataObject> fdor = DXSearch.findDataObjects(env).inProject("project-000000000000000000000000") .inFolder("/my/subfolder").execute(); for (DXDataObject o : fdor.asList()) { System.out.println(o.getId()); }
env
- environment specifying API server parameters for issuing the query; the
environment will be propagated into objects that are subsequently returnedpublic static DXSearch.FindExecutionsRequestBuilder<DXExecution> findExecutions()
public static DXSearch.FindExecutionsRequestBuilder<DXExecution> findExecutionsWithEnvironment(DXEnvironment env)
env
- environment specifying API server parameters for issuing the query; the
environment will be propagated into objects that are subsequently returned@Deprecated public static DXSearch.FindExecutionsRequestBuilder<DXJob> findJobs()
findExecutions()
in conjunction with
DXSearch.FindExecutionsRequestBuilder.withClassJob()
instead.
This is equivalent to findExecutions().withClassJob()
.
@Deprecated public static DXSearch.FindExecutionsRequestBuilder<DXJob> findJobsWithEnvironment(DXEnvironment env)
findExecutionsWithEnvironment(DXEnvironment)
in conjunction
with DXSearch.FindExecutionsRequestBuilder.withClassJob()
instead.
This is equivalent to findExecutionsWithEnvironment(env).withClassJob()
.
env
- environment specifying API server parameters for issuing the query; the
environment will be propagated into objects that are subsequently returnedCopyright © 2023. All Rights Reserved.