Class PerformanceAttributes
java.lang.Object
com.appiancorp.suiteapi.process.analytics2.PerformanceAttributes
- All Implemented Interfaces:
Serializable
This object represents the attribute that was executed while generating the
report. Various metrics such as no. of rows affected, time taken by the attribute
to execute etc. are available.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.appiancorp.suiteapi.process.analytics2.PerformanceAttributes.CompositeOrderReturns the order in which the attribute is in relation to the shard and the main.Returns the description of the attribute.intReturns the order in which the attribute was applied in relation to the main.intDeprecated.getName()Returns the name of the attribute.intgetOrder()Returns the order in which the attribute was applied in relation to the shard.Returns name of the resource where the operation was executed.intReturns the number of rows affected by the attribute during report generation.doublegetTime()Returns the amount of time taken by the attribute to execute during report generation.getType()Returns the type of the attribute.voidsetDescription(String description_) Sets the description of the attributevoidsetMainOrder(int mainOrder_) Sets the order in which the attribute will be applied in relation to the main.voidsetMasterOrder(int mainOrder_) Deprecated.usesetMainOrder(int)insteadvoidSets the name of the attributevoidsetOrder(int order_) Sets the order in which the attribute will be applied in relation to the shard.voidsetResource(String resource) Sets name of the resource where the operation was executed.voidsetRowsAffected(int rowsAffected_) Set the number of rows affected during report generation.voidsetTime(double time_) Sets the amount of time taken by the attribute to execute during report generation.voidSets the type of attributetoString()
-
Constructor Details
-
PerformanceAttributes
public PerformanceAttributes()
-
-
Method Details
-
getName
Returns the name of the attribute. -
setName
Sets the name of the attribute -
getType
Returns the type of the attribute. Example : Sort Column, Filter -
setType
Sets the type of attribute -
getResource
Returns name of the resource where the operation was executed. -
setResource
Sets name of the resource where the operation was executed. -
getTime
public double getTime()Returns the amount of time taken by the attribute to execute during report generation. -
setTime
public void setTime(double time_) Sets the amount of time taken by the attribute to execute during report generation. -
getRowsAffected
public int getRowsAffected()Returns the number of rows affected by the attribute during report generation. -
setRowsAffected
public void setRowsAffected(int rowsAffected_) Set the number of rows affected during report generation.- Parameters:
rowsAffected_-
-
getDescription
Returns the description of the attribute. -
setDescription
Sets the description of the attribute -
getOrder
public int getOrder()Returns the order in which the attribute was applied in relation to the shard. -
setOrder
public void setOrder(int order_) Sets the order in which the attribute will be applied in relation to the shard. -
getMasterOrder
Deprecated.usegetMainOrder()insteadReturns the order in which the attribute was applied in relation to the main. -
getMainOrder
public int getMainOrder()Returns the order in which the attribute was applied in relation to the main. -
setMasterOrder
Deprecated.usesetMainOrder(int)insteadSets the order in which the attribute will be applied in relation to the main. -
setMainOrder
public void setMainOrder(int mainOrder_) Sets the order in which the attribute will be applied in relation to the main. -
toString
-
getCompositeOrder
public com.appiancorp.suiteapi.process.analytics2.PerformanceAttributes.CompositeOrder getCompositeOrder()Returns the order in which the attribute is in relation to the shard and the main.
-
getMainOrder()instead