|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.client.rest.BulkResponseImpl
public class BulkResponseImpl
Server-side implementation class of the client interface BulkResponse Declares all the bulk request specific user parameters and handling as JSON object
| Field Summary | |
|---|---|
static String |
BULK_DATE_FORMAT
|
static String |
BULK_FILTER_BUNDLE_NAME
|
static String |
BULK_FILTER_COORD_NAME
|
static String |
BULK_FILTER_END_CREATED_EPOCH
|
static String |
BULK_FILTER_END_NOMINAL_EPOCH
|
static String |
BULK_FILTER_LEVEL
|
static Set<String> |
BULK_FILTER_NAMES
|
static String |
BULK_FILTER_START_CREATED_EPOCH
|
static String |
BULK_FILTER_START_NOMINAL_EPOCH
|
static String |
BULK_FILTER_STATUS
|
| Constructor Summary | |
|---|---|
BulkResponseImpl()
|
|
| Method Summary | |
|---|---|
CoordinatorActionBean |
getAction()
|
BundleJobBean |
getBundle()
|
CoordinatorJobBean |
getCoordinator()
|
void |
setAction(CoordinatorActionBean ca)
Sets the coord action comprising this bulk response object |
void |
setBundle(BundleJobBean bj)
Sets the bundle comprising this bulk response object |
void |
setCoordinator(CoordinatorJobBean cj)
Sets the coordinator comprising this bulk response object |
static org.json.simple.JSONArray |
toJSONArray(List<? extends BulkResponseImpl> responses,
String timeZoneId)
Convert a nodes list into a JSONArray. |
org.json.simple.JSONObject |
toJSONObject()
Construct JSON object using the bulk request object and the associated tags |
org.json.simple.JSONObject |
toJSONObject(String timeZoneId)
Construct JSON object using the bulk request object and the associated tags |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BULK_FILTER_BUNDLE_NAME
public static final String BULK_FILTER_COORD_NAME
public static final String BULK_FILTER_LEVEL
public static final String BULK_FILTER_STATUS
public static final String BULK_FILTER_START_CREATED_EPOCH
public static final String BULK_FILTER_END_CREATED_EPOCH
public static final String BULK_FILTER_START_NOMINAL_EPOCH
public static final String BULK_FILTER_END_NOMINAL_EPOCH
public static final String BULK_DATE_FORMAT
public static final Set<String> BULK_FILTER_NAMES
| Constructor Detail |
|---|
public BulkResponseImpl()
| Method Detail |
|---|
public org.json.simple.JSONObject toJSONObject()
toJSONObject in interface JsonBeanpublic org.json.simple.JSONObject toJSONObject(String timeZoneId)
toJSONObject in interface JsonBeantimeZoneId - the time zone to use
public BundleJobBean getBundle()
getBundle in interface org.apache.oozie.client.BulkResponsepublic CoordinatorJobBean getCoordinator()
getCoordinator in interface org.apache.oozie.client.BulkResponsepublic CoordinatorActionBean getAction()
getAction in interface org.apache.oozie.client.BulkResponsepublic void setBundle(BundleJobBean bj)
BundleJobBean - public void setCoordinator(CoordinatorJobBean cj)
CoordinatorJobBean - public void setAction(CoordinatorActionBean ca)
CoordinatorActionBean -
public static org.json.simple.JSONArray toJSONArray(List<? extends BulkResponseImpl> responses,
String timeZoneId)
actions - nodes list.timeZoneId - time zone to use for dates in the JSON array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||