com.cloudera.api.model
Class ApiImpalaQueryAttributeList
java.lang.Object
com.cloudera.api.model.ApiImpalaQueryAttributeList
- All Implemented Interfaces:
- Iterable<ApiImpalaQueryAttribute>
public class ApiImpalaQueryAttributeList
- extends Object
The list of all the attributes that are applicable to Impala queries.
ITEMS_ATTR
public static final String ITEMS_ATTR
- See Also:
- Constant Field Values
values
protected List<T> values
ApiImpalaQueryAttributeList
public ApiImpalaQueryAttributeList()
ApiImpalaQueryAttributeList
public ApiImpalaQueryAttributeList(List<ApiImpalaQueryAttribute> attributes)
getAttributes
public List<ApiImpalaQueryAttribute> getAttributes()
- Returns:
- The list of attributes.
setAttributes
public void setAttributes(List<ApiImpalaQueryAttribute> values)
- Sets the list of attributes.
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
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.