Class OfflineAggregationInfo
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.common.OfflineAggregationInfo
Class to carry the offline aggregation information for storage level
implementations. There are currently two predefined aggregation info
instances that represent flow and user level offline aggregations. Depend on
its implementation, a storage class may use an OfflineAggregationInfo object
to decide behaviors dynamically.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OfflineAggregationInfostatic final StringDefault flow level aggregation table name.static final OfflineAggregationInfostatic final StringDefault user level aggregation table name. -
Method Summary
Modifier and TypeMethodDescriptionString[]intsetStringsForPrimaryKey(PreparedStatement ps, TimelineCollectorContext context, String[] extraInfo, int startPos)
-
Field Details
-
FLOW_AGGREGATION_TABLE_NAME
Default flow level aggregation table name.- See Also:
-
USER_AGGREGATION_TABLE_NAME
Default user level aggregation table name.- See Also:
-
FLOW_AGGREGATION
-
USER_AGGREGATION
-
-
Method Details
-
getTableName
-
getPrimaryKeyList
-
setStringsForPrimaryKey
public int setStringsForPrimaryKey(PreparedStatement ps, TimelineCollectorContext context, String[] extraInfo, int startPos) throws SQLException - Throws:
SQLException
-