public class WUQueryWrapper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WUQueryWrapper.LogicalFileSearchType
either input or output logical files can be searched; but not both, apparently.
|
static class |
WUQueryWrapper.SortBy
This enum was created to address the profound lack of documentation about what values are valid
for the string sortby parameter.
|
| Constructor and Description |
|---|
WUQueryWrapper()
Instantiates a new WU query wrapper.
|
WUQueryWrapper(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.WUQuery raw)
Instantiates a new WU query wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
List<ApplicationValueWrapper> |
getApplicationValues()
Gets the application values.
|
String |
getCluster()
Gets the cluster.
|
boolean |
getDescending()
Gets the descending.
|
String |
getECL()
Gets the ecl.
|
Date |
getEndDate()
Gets the end date.
|
String |
getJobname()
Gets the jobname.
|
String |
getLogicalFile()
Gets the logical file.
|
WUQueryWrapper.LogicalFileSearchType |
getLogicalFileSearchType()
Gets the logical file search type.
|
String |
getOwner()
Gets the owner.
|
Long |
getPageSize()
Gets the page size.
|
Long |
getPageStartFrom()
Gets the page start from.
|
org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.WUQuery |
getRaw()
Gets the raw.
|
org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_56.WUQuery |
getRaw156(int appvalue)
Gets the raw 156.
|
org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.WUQuery |
getRawLatestVersion()
Gets the raw 1 81.
|
WUQueryWrapper.SortBy |
getSortby()
Gets the sortby.
|
Date |
getStartDate()
Gets the start date.
|
WUState |
getState()
Gets the state.
|
String |
getWuid()
Gets the wuid.
|
WUQueryWrapper |
setApplicationValues(List<ApplicationValueWrapper> applicationValues)
Sets the application values.
|
WUQueryWrapper |
setArchived(Boolean b)
Sets the archived.
|
WUQueryWrapper |
setCluster(String cluster)
Sets the cluster.
|
WUQueryWrapper |
setDescending(boolean descending)
Sets the descending.
|
WUQueryWrapper |
setECL(String eCL)
Sets the ECL.
|
WUQueryWrapper |
setEndDate(Date date)
Sets the end date.
|
WUQueryWrapper |
setJobname(String jobname)
Sets the jobname.
|
WUQueryWrapper |
setLogicalFile(String logicalFile)
Sets the logical file.
|
WUQueryWrapper |
setOutputLogicalFilesOnly(WUQueryWrapper.LogicalFileSearchType lf)
Sets the output logical files only.
|
WUQueryWrapper |
setOwner(String owner)
Sets the owner.
|
WUQueryWrapper |
setPageSize(Long pageSize)
Sets the page size.
|
WUQueryWrapper |
setPageStartFrom(Long pageStartFrom)
Sets the page start from.
|
WUQueryWrapper |
setSortBy(WUQueryWrapper.SortBy sort)
Sets the sort by.
|
WUQueryWrapper |
setStartDate(Date date)
Sets the start date.
|
WUQueryWrapper |
setState(WUState stateenum)
Sets the state.
|
WUQueryWrapper |
setWuid(String wuid)
Sets the wuid.
|
void |
validate()
Validate.
|
public WUQueryWrapper()
public WUQueryWrapper(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.WUQuery raw)
throws Exception
raw - - the soap-version-specific WUQuery to use to initialize this WUQueryInfo object.Exception - if the input start date / end date are not null and are invalid date strings.public String getCluster()
public WUQueryWrapper setCluster(String cluster)
cluster - - the cluster name to return workunits from.public boolean getDescending()
public WUQueryWrapper setDescending(boolean descending)
descending - - if a sortby parameter is specified, descending will make that parameter sort descending.public String getECL()
public WUQueryWrapper setECL(String eCL)
eCL - the e CLpublic Date getEndDate()
public String getJobname()
public WUQueryWrapper setJobname(String jobname)
jobname - - find workunits with this jobname. Wildcards (*,?) are allowed.public String getLogicalFile()
public WUQueryWrapper setLogicalFile(String logicalFile)
logicalFile - - the name of the logical file to search for. Wildcards allowed (*,?)
Should not start with "~"public WUQueryWrapper.LogicalFileSearchType getLogicalFileSearchType()
public WUQueryWrapper setOutputLogicalFilesOnly(WUQueryWrapper.LogicalFileSearchType lf)
lf - the lfpublic String getOwner()
public WUQueryWrapper setOwner(String owner)
owner - - return only workunits created by this username. Case insensitivepublic Long getPageSize()
public WUQueryWrapper setPageSize(Long pageSize)
pageSize - - the number of results to return. Overrides getPageEndAt. EG if 100 results are found,
getPageStartFrom is 10, getPageEndAt is 50, and getPageSize is 10, workunits 10-20 will be returned.public Long getPageStartFrom()
public WUQueryWrapper setPageStartFrom(Long pageStartFrom)
pageStartFrom - - Which result to begin returning results from. e.g. if 100 workunits were found and
this value is 4, the first three workunits will not be included in the results. Default value is 1public WUQueryWrapper.SortBy getSortby()
public WUState getState()
public String getWuid()
public WUQueryWrapper setWuid(String wuid)
wuid - - the Workunit ID to search for. Case Insensitive.public List<ApplicationValueWrapper> getApplicationValues()
public WUQueryWrapper setApplicationValues(List<ApplicationValueWrapper> applicationValues)
applicationValues - - the application values to search for. Any workunits containing these
application values will be returned.public WUQueryWrapper setSortBy(WUQueryWrapper.SortBy sort)
sort - how to sort the returned workunits. If null, results are returned by wuid descending.public WUQueryWrapper setState(WUState stateenum)
stateenum - - return workunits with only the specified state.public WUQueryWrapper setStartDate(Date date)
date - - the start date for which workunits will be retrieved.public WUQueryWrapper setEndDate(Date date)
date - - the end date for which workunits will be retrieved.public WUQueryWrapper setArchived(Boolean b)
b - - if true, only archived workunits will be returned. if false or null, only unarchived workunits will be
returned.public Date getStartDate()
public org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.WUQuery getRaw()
public org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.WUQuery getRawLatestVersion()
Copyright © 2021. All rights reserved.