code: public static QueryBasedHivePublishEntity deserializePublishCommands(State state) {
      QueryBasedHivePublishEntity queryBasedHivePublishEntity =
          GSON.fromJson(state.getProp(HiveAvroORCQueryGenerator.SERIALIZED_PUBLISH_TABLE_COMMANDS),
              QueryBasedHivePublishEntity.class);
      return queryBasedHivePublishEntity == null ? new QueryBasedHivePublishEntity() : queryBasedHivePublishEntity;
    }
docs: *
  Deserialize the publish entity from a {@link State} at {@link #SERIALIZED_PUBLISH_TABLE_COMMANDS}.
  @param state {@link State} to look into for serialized entity.
  @return Publish table entity.