Example usage for org.apache.hadoop.yarn.api.records ApplicationId hashCode

List of usage examples for org.apache.hadoop.yarn.api.records ApplicationId hashCode

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.api.records ApplicationId hashCode.

Prototype

@Override
    public int hashCode() 

Source Link

Usage

From source file:org.apache.tajo.QueryId.java

License:Apache License

@Override
public int hashCode() {
    // Generated by eclipse.
    final int prime = 31;
    int result = 1;
    ApplicationId appId = getApplicationId();
    result = prime * result + appId.hashCode();
    result = prime * result + getAttemptId();
    return result;
}