Class AggregatedLogFormat.LogKey

java.lang.Object
org.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.LogKey
All Implemented Interfaces:
Writable
Enclosing class:
AggregatedLogFormat

@Public public static class AggregatedLogFormat.LogKey extends Object implements Writable
  • Constructor Details

    • LogKey

      public LogKey()
    • LogKey

      public LogKey(ContainerId containerId)
    • LogKey

      public LogKey(String keyString)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • write

      @Private public void write(DataOutput out) throws IOException
      Description copied from interface: Writable
      Serialize the fields of this object to out.
      Specified by:
      write in interface Writable
      Parameters:
      out - DataOuput to serialize this object into.
      Throws:
      IOException - any other problem for write.
    • readFields

      @Private public void readFields(DataInput in) throws IOException
      Description copied from interface: Writable
      Deserialize the fields of this object from in.

      For efficiency, implementations should attempt to re-use storage in the existing object where possible.

      Specified by:
      readFields in interface Writable
      Parameters:
      in - DataInput to deseriablize this object from.
      Throws:
      IOException - any other problem for readFields.
    • toString

      public String toString()
      Overrides:
      toString in class Object