com.cloudera.api.model
Class ApiImpalaQueryAttribute

java.lang.Object
  extended by com.cloudera.api.model.ApiImpalaQueryAttribute

public class ApiImpalaQueryAttribute
extends Object

Metadata about an Impala query attribute.


Constructor Summary
ApiImpalaQueryAttribute()
           
ApiImpalaQueryAttribute(String name, String type, String displayName, boolean supportsHistograms, String description)
           
 
Method Summary
 String getDescription()
          The description of the attribute.
 String getDisplayName()
          The display name for the attribute.
 String getName()
          The name of the attribute.
 boolean getSupportsHistograms()
          Whether the Service Monitor can generate a histogram of the distribution of the attribute across queries.
 String getType()
          The type of the attribute.
 void setDescription(String description)
           
 void setDisplayName(String displayName)
           
 void setName(String name)
           
 void setSupportsHistograms(boolean supportsHistograms)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiImpalaQueryAttribute

public ApiImpalaQueryAttribute()

ApiImpalaQueryAttribute

public ApiImpalaQueryAttribute(String name,
                               String type,
                               String displayName,
                               boolean supportsHistograms,
                               String description)
Method Detail

getName

public String getName()
The name of the attribute. This name can be used in filters, for example 'user' could be used in the filter 'user = root'.


setName

public void setName(String name)

getType

public String getType()
The type of the attribute. Valid types are STRING, NUMBER, BOOLEAN, BYTES, MILLISECONDS, BYTES_PER_SECOND, BYTE_SECONDS.


setType

public void setType(String type)

getDisplayName

public String getDisplayName()
The display name for the attribute.


setDisplayName

public void setDisplayName(String displayName)

getSupportsHistograms

public boolean getSupportsHistograms()
Whether the Service Monitor can generate a histogram of the distribution of the attribute across queries.


setSupportsHistograms

public void setSupportsHistograms(boolean supportsHistograms)

getDescription

public String getDescription()
The description of the attribute.


setDescription

public void setDescription(String description)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.