com.cloudera.api.model
Class ApiBulkCommandList

java.lang.Object
  extended by com.cloudera.api.model.ApiCommandList
      extended by 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.


Field Summary
static String ITEMS_ATTR
           
protected  List<T> values
           
 
Constructor Summary
ApiBulkCommandList()
           
 
Method Summary
 boolean add(T item)
           
 boolean equals(Object o)
           
 T get(int index)
           
 List<String> getErrors()
          Errors that occurred when issuing individual commands.
 int hashCode()
           
 Iterator<T> iterator()
           
 int size()
           
 String toString()
           
 
Methods inherited from class com.cloudera.api.model.ApiCommandList
getCommands, setCommands
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ITEMS_ATTR

public static final String ITEMS_ATTR
See Also:
Constant Field Values

values

protected List<T> values
Constructor Detail

ApiBulkCommandList

public ApiBulkCommandList()
Method Detail

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.