public class BulkResponseImpl extends Object implements BulkResponse, JsonBean
| Modifier and Type | Field and Description | 
|---|---|
static String | 
BULK_DATE_FORMAT  | 
static String | 
BULK_FILTER_BUNDLE  | 
static String | 
BULK_FILTER_COORD  | 
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 and Description | 
|---|
BulkResponseImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
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 
 | 
public static final String BULK_FILTER_BUNDLE
public static final String BULK_FILTER_COORD
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
public BulkResponseImpl()
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 usepublic BundleJobBean getBundle()
getBundle in interface BulkResponsepublic CoordinatorJobBean getCoordinator()
getCoordinator in interface BulkResponsepublic CoordinatorActionBean getAction()
getAction in interface BulkResponsepublic void setBundle(BundleJobBean bj)
bj - public void setCoordinator(CoordinatorJobBean cj)
cj - public void setAction(CoordinatorActionBean ca)
ca - public static org.json.simple.JSONArray toJSONArray(List<? extends BulkResponseImpl> responses, String timeZoneId)
responses - nodes list.timeZoneId - time zone to use for dates in the JSON array.Copyright © 2016 Apache Software Foundation. All rights reserved.