com.cloudera.api.model
Class ApiBulkCommandList
java.lang.Object
com.cloudera.api.model.ApiCommandList
com.cloudera.api.model.ApiBulkCommandList
- All Implemented Interfaces:
- Iterable<ApiCommand>
public class ApiBulkCommandList
- extends ApiCommandList
A list of commands.
This list is returned whenever commands are issued in bulk, and contains a
second list with information about errors issuing specific commands.
ITEMS_ATTR
public static final String ITEMS_ATTR
- See Also:
- Constant Field Values
values
protected List<T> values
ApiBulkCommandList
public ApiBulkCommandList()
getErrors
public List<String> getErrors()
- Errors that occurred when issuing individual commands.
equals
public boolean equals(Object o)
hashCode
public int hashCode()
add
public boolean add(T item)
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>
size
public int size()
get
public T get(int index)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.