org.apache.hadoop.mapreduce.jobhistory

## Class JobFinished.Builder

- java.lang.Object
- - org.apache.avro.data.RecordBuilderBase<T>
  - - org.apache.avro.specific.SpecificRecordBuilderBase<JobFinished>
    - - org.apache.hadoop.mapreduce.jobhistory.JobFinished.Builder

- All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder<JobFinished>
  Enclosing class:
    JobFinished

      public static class JobFinished.Builder
      extends org.apache.avro.specific.SpecificRecordBuilderBase<JobFinished>
      implements org.apache.avro.data.RecordBuilder<JobFinished>

  RecordBuilder for JobFinished instances.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JobFinished` | `build()`
    `JobFinished.Builder` | `clearFailedMaps()` Clears the value of the 'failedMaps' field
    `JobFinished.Builder` | `clearFailedReduces()` Clears the value of the 'failedReduces' field
    `JobFinished.Builder` | `clearFinishedMaps()` Clears the value of the 'finishedMaps' field
    `JobFinished.Builder` | `clearFinishedReduces()` Clears the value of the 'finishedReduces' field
    `JobFinished.Builder` | `clearFinishTime()` Clears the value of the 'finishTime' field
    `JobFinished.Builder` | `clearJobid()` Clears the value of the 'jobid' field
    `JobFinished.Builder` | `clearKilledMaps()` Clears the value of the 'killedMaps' field
    `JobFinished.Builder` | `clearKilledReduces()` Clears the value of the 'killedReduces' field
    `JobFinished.Builder` | `clearMapCounters()` Clears the value of the 'mapCounters' field
    `JobFinished.Builder` | `clearReduceCounters()` Clears the value of the 'reduceCounters' field
    `JobFinished.Builder` | `clearTotalCounters()` Clears the value of the 'totalCounters' field
    `Integer` | `getFailedMaps()` Gets the value of the 'failedMaps' field
    `Integer` | `getFailedReduces()` Gets the value of the 'failedReduces' field
    `Integer` | `getFinishedMaps()` Gets the value of the 'finishedMaps' field
    `Integer` | `getFinishedReduces()` Gets the value of the 'finishedReduces' field
    `Long` | `getFinishTime()` Gets the value of the 'finishTime' field
    `CharSequence` | `getJobid()` Gets the value of the 'jobid' field
    `Integer` | `getKilledMaps()` Gets the value of the 'killedMaps' field
    `Integer` | `getKilledReduces()` Gets the value of the 'killedReduces' field
    `JhCounters` | `getMapCounters()` Gets the value of the 'mapCounters' field
    `JhCounters` | `getReduceCounters()` Gets the value of the 'reduceCounters' field
    `JhCounters` | `getTotalCounters()` Gets the value of the 'totalCounters' field
    `boolean` | `hasFailedMaps()` Checks whether the 'failedMaps' field has been set
    `boolean` | `hasFailedReduces()` Checks whether the 'failedReduces' field has been set
    `boolean` | `hasFinishedMaps()` Checks whether the 'finishedMaps' field has been set
    `boolean` | `hasFinishedReduces()` Checks whether the 'finishedReduces' field has been set
    `boolean` | `hasFinishTime()` Checks whether the 'finishTime' field has been set
    `boolean` | `hasJobid()` Checks whether the 'jobid' field has been set
    `boolean` | `hasKilledMaps()` Checks whether the 'killedMaps' field has been set
    `boolean` | `hasKilledReduces()` Checks whether the 'killedReduces' field has been set
    `boolean` | `hasMapCounters()` Checks whether the 'mapCounters' field has been set
    `boolean` | `hasReduceCounters()` Checks whether the 'reduceCounters' field has been set
    `boolean` | `hasTotalCounters()` Checks whether the 'totalCounters' field has been set
    `JobFinished.Builder` | `setFailedMaps(int value)` Sets the value of the 'failedMaps' field
    `JobFinished.Builder` | `setFailedReduces(int value)` Sets the value of the 'failedReduces' field
    `JobFinished.Builder` | `setFinishedMaps(int value)` Sets the value of the 'finishedMaps' field
    `JobFinished.Builder` | `setFinishedReduces(int value)` Sets the value of the 'finishedReduces' field
    `JobFinished.Builder` | `setFinishTime(long value)` Sets the value of the 'finishTime' field
    `JobFinished.Builder` | `setJobid(CharSequence value)` Sets the value of the 'jobid' field
    `JobFinished.Builder` | `setKilledMaps(int value)` Sets the value of the 'killedMaps' field
    `JobFinished.Builder` | `setKilledReduces(int value)` Sets the value of the 'killedReduces' field
    `JobFinished.Builder` | `setMapCounters(JhCounters value)` Sets the value of the 'mapCounters' field
    `JobFinished.Builder` | `setReduceCounters(JhCounters value)` Sets the value of the 'reduceCounters' field
    `JobFinished.Builder` | `setTotalCounters(JhCounters value)` Sets the value of the 'totalCounters' field

    - ### Methods inherited from class org.apache.avro.data.RecordBuilderBase

      `data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getJobid

          public CharSequence getJobid()

      Gets the value of the 'jobid' field

    - #### setJobid

          public JobFinished.Builder setJobid(CharSequence value)

      Sets the value of the 'jobid' field

    - #### hasJobid

          public boolean hasJobid()

      Checks whether the 'jobid' field has been set

    - #### clearJobid

          public JobFinished.Builder clearJobid()

      Clears the value of the 'jobid' field

    - #### getFinishTime

          public Long getFinishTime()

      Gets the value of the 'finishTime' field

    - #### setFinishTime

          public JobFinished.Builder setFinishTime(long value)

      Sets the value of the 'finishTime' field

    - #### hasFinishTime

          public boolean hasFinishTime()

      Checks whether the 'finishTime' field has been set

    - #### clearFinishTime

          public JobFinished.Builder clearFinishTime()

      Clears the value of the 'finishTime' field

    - #### getFinishedMaps

          public Integer getFinishedMaps()

      Gets the value of the 'finishedMaps' field

    - #### setFinishedMaps

          public JobFinished.Builder setFinishedMaps(int value)

      Sets the value of the 'finishedMaps' field

    - #### hasFinishedMaps

          public boolean hasFinishedMaps()

      Checks whether the 'finishedMaps' field has been set

    - #### clearFinishedMaps

          public JobFinished.Builder clearFinishedMaps()

      Clears the value of the 'finishedMaps' field

    - #### getFinishedReduces

          public Integer getFinishedReduces()

      Gets the value of the 'finishedReduces' field

    - #### setFinishedReduces

          public JobFinished.Builder setFinishedReduces(int value)

      Sets the value of the 'finishedReduces' field

    - #### hasFinishedReduces

          public boolean hasFinishedReduces()

      Checks whether the 'finishedReduces' field has been set

    - #### clearFinishedReduces

          public JobFinished.Builder clearFinishedReduces()

      Clears the value of the 'finishedReduces' field

    - #### getFailedMaps

          public Integer getFailedMaps()

      Gets the value of the 'failedMaps' field

    - #### setFailedMaps

          public JobFinished.Builder setFailedMaps(int value)

      Sets the value of the 'failedMaps' field

    - #### hasFailedMaps

          public boolean hasFailedMaps()

      Checks whether the 'failedMaps' field has been set

    - #### clearFailedMaps

          public JobFinished.Builder clearFailedMaps()

      Clears the value of the 'failedMaps' field

    - #### getFailedReduces

          public Integer getFailedReduces()

      Gets the value of the 'failedReduces' field

    - #### setFailedReduces

          public JobFinished.Builder setFailedReduces(int value)

      Sets the value of the 'failedReduces' field

    - #### hasFailedReduces

          public boolean hasFailedReduces()

      Checks whether the 'failedReduces' field has been set

    - #### clearFailedReduces

          public JobFinished.Builder clearFailedReduces()

      Clears the value of the 'failedReduces' field

    - #### getTotalCounters

          public JhCounters getTotalCounters()

      Gets the value of the 'totalCounters' field

    - #### setTotalCounters

          public JobFinished.Builder setTotalCounters(JhCounters value)

      Sets the value of the 'totalCounters' field

    - #### hasTotalCounters

          public boolean hasTotalCounters()

      Checks whether the 'totalCounters' field has been set

    - #### clearTotalCounters

          public JobFinished.Builder clearTotalCounters()

      Clears the value of the 'totalCounters' field

    - #### getMapCounters

          public JhCounters getMapCounters()

      Gets the value of the 'mapCounters' field

    - #### setMapCounters

          public JobFinished.Builder setMapCounters(JhCounters value)

      Sets the value of the 'mapCounters' field

    - #### hasMapCounters

          public boolean hasMapCounters()

      Checks whether the 'mapCounters' field has been set

    - #### clearMapCounters

          public JobFinished.Builder clearMapCounters()

      Clears the value of the 'mapCounters' field

    - #### getReduceCounters

          public JhCounters getReduceCounters()

      Gets the value of the 'reduceCounters' field

    - #### setReduceCounters

          public JobFinished.Builder setReduceCounters(JhCounters value)

      Sets the value of the 'reduceCounters' field

    - #### hasReduceCounters

          public boolean hasReduceCounters()

      Checks whether the 'reduceCounters' field has been set

    - #### clearReduceCounters

          public JobFinished.Builder clearReduceCounters()

      Clears the value of the 'reduceCounters' field

    - #### getKilledMaps

          public Integer getKilledMaps()

      Gets the value of the 'killedMaps' field

    - #### setKilledMaps

          public JobFinished.Builder setKilledMaps(int value)

      Sets the value of the 'killedMaps' field

    - #### hasKilledMaps

          public boolean hasKilledMaps()

      Checks whether the 'killedMaps' field has been set

    - #### clearKilledMaps

          public JobFinished.Builder clearKilledMaps()

      Clears the value of the 'killedMaps' field

    - #### getKilledReduces

          public Integer getKilledReduces()

      Gets the value of the 'killedReduces' field

    - #### setKilledReduces

          public JobFinished.Builder setKilledReduces(int value)

      Sets the value of the 'killedReduces' field

    - #### hasKilledReduces

          public boolean hasKilledReduces()

      Checks whether the 'killedReduces' field has been set

    - #### clearKilledReduces

          public JobFinished.Builder clearKilledReduces()

      Clears the value of the 'killedReduces' field

    - #### build

          public JobFinished build()

      Specified by:
        `build` in interface `org.apache.avro.data.RecordBuilder<JobFinished>`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.