@Override
  @Explain(displayName = "GatherStats", explainLevels = { Level.EXTENDED })
  @Signature
  public boolean isGatherStats() {
    return gatherStats;
  }
A boolean variable set to true by the semantic analyzer only in case of the analyze command.
ql/src/java/org/apache/hadoop/hive/ql/plan/TableScanDesc.java